staqlydocs
REST APIAPI referencePosts

The post's feedback threads: reviewers' comments from its preview pages

The post's feedback threads: reviewers' comments from its preview pages (with their email) and the team's replies, oldest first (posts:read)

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

GET
/v1/posts/{id}/comments

Authorization

headerAuthorizationBearer <token>

API key (stk_...), or in the Community Edition the access token (stk_local_...)

Path Parameters

id*string

Response Body

OK

application/json
  1. response
data*array<>
curl -X GET 'https://staqly.example.com/v1/posts/string/comments'
{  "data": [    {      "id": "string",      "post_id": "string",      "parent_id": "string",      "author_name": "string",      "author_email": "string",      "author_kind": "reviewer",      "body": "string",      "quote": "string",      "channel_id": "string",      "part": 0,      "anchor_start": 0,      "anchor_end": 0,      "text_changed": true,      "resolved_at": "2019-08-24T14:15:22Z",      "resolved_by": "string",      "created_at": "2019-08-24T14:15:22Z"    }  ]}