Topics
Get a Topic
Property | Description |
---|---|
Method | GET |
Path | /open/v1/spaces/$me/topics/{topicId} |
Accept | - |
Content-Type | application/json |
Description | Retrieves a topic by its ID. |
- Request
- Query
(empty) - Body
// (empty)
- Query
- Response
type TopicView = { topic: Topic }
Batch Get a Topic
Property | Description |
---|---|
Method | GET |
Path | /open/v1/spaces/$me/topics/batch |
Accept | - |
Content-Type | application/json |
Description | Retrieves multiple topics by IDs. Can fetch up to 25 topics at once. |
-
Request
-
Query
Param Required? Default Type Description Example ids[] O - string[] IDs of topics to fetch. ?ids[]=42&ids[]=37 -
Body
// (empty)
-
-
Response
type TopicsView = { topics: Topic[] }
List Topics of a Space
Property | Description |
---|---|
Method | GET |
Path | /open/v1/spaces/$me/topics |
Accept | - |
Content-Type | application/json |
Description | Retrieves a paginated list of topics, ordered by update timestamp. |
-
Request
-
Query
Param Required? Default Type Description Example limit X 25 number Used for pagination 25 since X string Used for pagination 1707017182188 order X asc ‘asc’ | 'desc' Sort order asc -
Body
// (empty)
-
-
Response
type TopicsListView = { topics: Topic[] next?: string }
Updated 4 months ago