Discourse 凭据#
¥Discourse credentials
你可以使用以下凭据验证以下节点:
¥You can use these credentials to authenticate the following nodes:
先决条件#
¥Prerequisites
- 托管 Discourse 的实例
¥Host an instance of Discourse
- 在你的托管实例上创建账户,并确保你是管理员。
¥Create an account on your hosted instance and make sure that you are an admin
支持的身份验证方法#
¥Supported authentication methods
- API 密钥
¥API key
相关资源#
¥Related resources
有关服务的更多信息,请参阅 Discourse API 文档。
¥Refer to Discourse's API documentation for more information about the service.
使用 API 密钥#
¥Using API key
要配置此凭据,你需要:
¥To configure this credential, you'll need:
- Discourse 实例的 URL,例如
https://community.n8n.io。
¥The URL of your Discourse instance, for example https://community.n8n.io
- API 密钥:通过 Discourse 管理面板创建 API 密钥。有关创建 API 密钥并指定用户名的说明,请参阅 Discourse 创建和配置 API 密钥文档。
¥An API Key: Create an API key through the Discourse admin panel. Refer to the Discourse create and configure an API key documentation for instructions on creating an API key and specifying a username.
- 用户名:使用你自己的名称、
system或其他用户。
¥A Username: Use your own name, system, or another user.
请参阅 Discourse API 文档 文档的“身份验证”部分,查看示例。
¥Refer to the Authentication section of the Discourse API documentation for examples.