[wordpress插件] bbPress APIbbPress API

wordpress 插件 文章 2020-03-01 03:50 565 0 全屏看文

AI助手支持GPT4.0

评分
80
描述

A first attempt for a bbPress API.

首次尝试使用bbPress API。

WARNING This API will show all forums, topics, replies that bbPress has access to.

警告此API将显示bbPress有权访问的所有论坛,主题和回复。

If you have any extra plugin to restrict bbPress content, please double and triple check that everything works correctly.

如果您还有其他插件可以限制bbPress的内容,请仔细检查两次,以确保一切正常。

Current routes for READING (GET):

当前的阅读(获取)路线:

    • /wp-json/bbp-api/v1/forums/ (list all forums)
    • / wp-json / bbp-api / v1 / forums /(列出所有论坛)

    • /wp-json/bbp-api/v1/forums/id (includes latest topics and subforums)
    • / wp-json / bbp-api / v1 / forums / id (包括最新主题和子论坛)

    • /wp-json/bbp-api/v1/topics/ (latest topics from all forums)
    • / wp-json / bbp-api / v1 / topics /(所有论坛的最新主题)

    • /wp-json/bbp-api/v1/topics/id (includes latest replies)
    • / wp-json / bbp-api / v1 / topics / id (包括最新回复)

    • /wp-json/bbp-api/v1eplies/id (show one reply)
    • / wp-json / bbp-api / v1 / replies / id (显示一个答复)

    • /wp-json/bbp-api/v1/topic-tags/
    • / wp-json / bbp-api / v1 / topic-tags /

    • /wp-json/bbp-api/v1/stats/
    • / wp-json / bbp-api / v1 / stats /

    Parameters for /forums/id and /topics/id (following https://developer.wordpress.orgest-api/using-the-rest-

    / forums / id 和/ topics / id

    参数(遵循https://developer.wordpress.orgest-api/using-the-rest-

    api/pagination/#pagination-parameters )

    api / pagination /#pagination-parameters)

      • per_page (records per page)
      • 每页(每页记录)

      • page (page number)
      • 页面(页码)

      Parameter for /topics/id (following https://developer.wordpress.orgest-api/using-the-rest-api/linking-and-embedding/#embedding )<

      / topics / id 的参数(遵循https://developer.wordpress.orgest-api/using-the-rest-api/linking-and-embedding/#embedding)<

      /p>

      / p>

        • _embed (showing content for replies)
        • _embed(显示答复内容)

        Current routes for WRITING (POST):

        当前的写入(POST)路线:

          • /wp-json/bbp-api/v1/forums/id (create a new topic in this forum)
          • / wp-json / bbp-api / v1 / forums / id (在此论坛中创建一个新主题)

          • /wp-json/bbp-api/v1/topics/id (create a reply to this topic ID)
          • / wp-json / bbp-api / v1 / topics / id (创建对此主题ID的回复)

          • /wp-json/bbp-api/v1eplies/id (create a reply to this reply ID)
          • / wp-json / bbp-api / v1 / replies / id (创建对此答复ID的答复)

          Follow development on https://github.com/ePascalC/bbp-API/ !

          按照https://github.com/ePascalC/bbp-API/上的说明进行开发!!

          Many thanks and credits to:

          非常感谢和感谢:

            • Daniel Turton (mistertwo) for the topics and replies POST functions
            • Daniel Turton(mistertwo)讨论主题并回复POST功能

            • Tony Korologos (@tkserver) for his input and testing with his app
            • Tony Korologos(@tkserver)进行输入和使用其应用程序进行测试

            Consider also the following plugins:

            还考虑以下插件:

              • bbP Toolkit
              • bbP工具包

              • bbP Move Topics
              • bbP移动主题

安装步骤

Option 1:

选项1:

    1. On your dashboard, go to Plugins > Add new
    2. 在信息中心上,转到“插件”>“添加新内容”

    3. search for bbPress API
    4. 搜索 bbPress API

    5. install and activate the plugin
    6. 安装并激活插件

    Option 2:

    选项2:

      1. Unzip the contents to the “/wp-content/plugins/” directory.
      2. 将内容解压缩到“ / wp-content / plugins /”目录。

      3. Activate the plugin through the “Plugins” menu in WordPress.
      4. 通过WordPress中的“插件”菜单激活插件。

下载地址
https://downloads.wordpress.org/plugin/bbp-api.1.0.14.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] All In One Must Have一起来就必须拥有
[wordpress插件] BNE TestimonialsBNE推荐
[wordpress插件] Aweber Subscriber FormAweber订户表格
[wordpress插件] Dewa Kirim &#8211; WooCommerce Gojek / GosendDewa Kirim – WooCommerce Gojek / Gosend
[wordpress插件] QQ旺旺Skype微信电话二维码客服WordPress插件 5usujian super servQQ Wangwang Skype WeChat Phone QR Code Customer Service WordPress Plugin 5usujian super serv
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8541
问题? 8260
如何快速搭建抽奖助手小程序(无需代码知识) 5323
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 6591
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5876
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5534
如何解决渲染层网络错误Failed to load media? 16778
小程序找号找回 释放昵称? 2793
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 2661
删除部分微信用户个人数据的通知,怎么删除? 5838