Get where project channels are created
curl --request GET \ --url https://example.com/api/v1/discord/project-channels/settings \ --header 'Authorization: Bearer <token>'Returns the category of the team’s Discord server that new project channels go under and the categories to choose from. categories is null when there is no server or Discord could not be asked. Answers 404 MODULE_DISABLED while the Discord module is off. Requires settings.manage.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The project channel settings.
object
Where Discord channels for new projects are created.
object
The categories of the team’s server to choose from; null when there is no server, Discord could not be asked, or the call cleared the category and did not ask.
object
True once the team’s Discord server is picked.
Example generated
{ "data": { "categories": [ { "id": "example", "name": "example" } ], "category": { "id": "example", "name": "example" }, "hasServer": true }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC