Skip to content

Discourse 节点#

¥Discourse node

使用 Discourse 节点自动化 Discourse 中的操作,并将 Discourse 与其他应用集成。n8n 内置支持多种 Discourse 功能,包括创建、获取、更新和删除类​​别、群组、帖子和用户。

¥Use the Discourse node to automate work in Discourse, and integrate Discourse with other applications. n8n has built-in support for a wide range of Discourse features, including creating, getting, updating, and removing categories, groups, posts, and users.

本页面列出了 Discourse 节点支持的操作,并提供更多资源的链接。

¥On this page, you'll find a list of operations the Discourse node supports and links to more resources.

Credentials

请参阅 Discourse 凭据 以了解有关设置身份验证的指导。

¥Refer to Discourse credentials for guidance on setting up authentication.

操作#

¥Operations

  • 类别

¥Category

  • 创建类别

    ¥Create a category

  • 获取所有类别

    ¥Get all categories

  • 更新类别

    ¥Update a category

  • Group

  • 创建群组

    ¥Create a group

  • 获取群组

    ¥Get a group

  • 获取所有组

    ¥Get all groups

  • 更新分组信息

    ¥Update a group

  • 发布

¥Post

  • 创建帖子

    ¥Create a post

  • 获取帖子

    ¥Get a post

  • 获取所有帖子

    ¥Get all posts

  • 更新帖子

    ¥Update a post

  • 用户

¥User

  • 创建用户

    ¥Create a user

  • 获取用户

    ¥Get a user

  • 获取所有用户

    ¥Get all users

  • 用户组

¥User Group

  • 创建用户组

    ¥Create a user to group

  • 从群组中移除:

    ¥Remove user from group

模板和示例#

¥Templates and examples

Template widget placeholder.

What to do if your operation isn't supported#

If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.

You can use the credential you created for this service in the HTTP Request node:

  1. In the HTTP Request node, select Authentication > Predefined Credential Type.
  2. Select the service you want to connect to.
  3. Select your credential.

Refer to Custom API operations for more information.