Resolve a feedback thread from the preview page
Resolve a feedback thread from the preview page (no credentials; counted with the comments per address)
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.
token*stringThe preview link's token
comment*stringThe thread's first comment
application/json- body
name*stringWho resolves it
length <= 80OK
application/json- response
One comment of a feedback thread. A thread starts with a comment whose parent_id is empty; it may mark a passage of the post (quote, in part part of channel channel_id's version). Replies carry the thread's first comment as parent_id.
id*stringpost_id*stringparent_id*stringThe thread's first comment; empty for that first comment
author_name*stringauthor_email?stringOnly for the team
author_kind*stringreviewer: left on a preview page; team: a person of the workspace, an API key or an agent
"reviewer""team"body*stringquote*stringThe marked words (empty for a general comment and for replies)
channel_id*stringThe channel's version the passage is in; empty: the shared text
part*integer0: the post's text; n: the n-th comment of its thread
anchor_start*integerWhere the passage starts in that text now, in UTF-16 code units (as browsers count); -1 when there is none
anchor_end*integerWhere it ends (exclusive); -1 when there is none
text_changed*booleanThe marked words are no longer in the text; quote keeps them
resolved_at*|When the thread was resolved (first comments only)
date-timeresolved_by*stringWho resolved it
created_at*stringdate-timecurl -X POST 'https://staqly.example.com/v1/previews/string/comments/string/resolve' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'{ "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"}