Read messages in topic

Method

PUT

URL

https://typetalk.com/api/v1/bookmarks

Scope

my

Query parameters

Name Type Description
topicId Number Topic ID
postId (Optional) Number Post ID ( if no parameter, read all posts )

Response Example

{
  "unread": {
    "topicId": 208,
    "postId": 307,
    "count": 0
  }
}

All responses are text formatted as JSON, and include ETag. If you call an API with If-None-Match header, the server returns a 304 status code when the data is not changed. The date and time format is ISO 8601 and timezone is UTC (eg. 2014-01-09T06:20:08Z).