Contents
Pin Topic
Pin a topic to your topic groups.
Method
POST
URL
https://typetalk.com/api/v1/spaces/:spaceKey/myTopics/pin
Scope
my
URL parameters
Name | Type | Description |
---|---|---|
spaceKey | String | Space key |
Form parameters
Name | Type | Description |
---|---|---|
topicId | Number | Topic ID |
Response Example
{
"pinnedTopics": [
{
"myTopic": {
"id": 13138,
"topicId": 3562,
"accountId": 2488,
"kind": "pinned",
"topicGroupId": null,
"exTopicGroupId": 1702,
"orderNo": 1,
"createdAt": "2018-11-09T01:02:39Z",
"updatedAt": "2018-11-09T01:02:39Z"
}
}
]
}
All responses are formatted in JSON and include an ETag. If you call an API with an If-None-Match header, the server will return a 304 status code if the data is unchanged. The date and time format is ISO 8601, and the timezone is UTC (eg. 2014-01-09T06:20:08Z).