Topics
Read the API Overview to get started and learn more.
Get all topics
Get all topics in the guild. Can be filtered by project id and limited. Default limit is 100
Parameters
Responses
200 Response (Retrieved topics):
Response Field | Type | Description |
---|---|---|
topics | array | The list of topics |
Create a topic
Create a new topic in the guild
Parameters
Request body
Request Field | Type | Description |
---|---|---|
name | string | The name of the topic |
project_id | string | The ID of the project |
in_bin (optional) | boolean | Whether the topic is a bin |
Responses
200 Response (Created topic):
Response Field | Type | Description |
---|---|---|
id | string | The ID of the topic |
name | string | The name of the topic |
project_id | string | The ID of the project |
delete_at (optional) | string | The date and time the topic was deleted |
in_bin | boolean | Whether the topic is a bin |
Get a topic
Get a topic by the topic id
Parameters
Responses
200 Response (Retrieved topic):
Response Field | Type | Description |
---|---|---|
id | string | The ID of the topic |
name | string | The name of the topic |
project_id | string | The ID of the project |
delete_at (optional) | string | The date and time the topic was deleted |
in_bin | boolean | Whether the topic is a bin |
Update a topic
Update an existing topic in the guild
Parameters
Request body
Request Field | Type | Description |
---|---|---|
name (optional) | string | The name of the topic |
project_id (optional) | string | The ID of the project |
in_bin (optional) | boolean | If the topic is a bin |
Responses
200 Response (Updated topic):
Response Field | Type | Description |
---|---|---|
id | string | The ID of the topic |
name | string | The name of the topic |
project_id | string | The ID of the project |
delete_at (optional) | string | The date and time the topic was deleted |
in_bin | boolean | Whether the topic is a bin |
Delete a topic
Delete a topic in the guild and all documents inside the topic
Parameters
Responses
204 Response (Topic deleted): Empty response.