List comments
const url = 'https://shareout.site/v1/data/example/comments?resolved=true&limit=100&skip=0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://shareout.site/v1/data/example/comments?resolved=true&limit=100&skip=0' \ --header 'Authorization: Bearer <token>'Comments on the artifact, newest first. Session cookie or Bearer token; the artifact’s comment identity mode decides who may read. 403 COMMENTS_DISABLED when comments are off for the artifact.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Artifact ID (e.g. art_abc123).
Query Parameters
Section titled “Query Parameters”A comment id for its replies, or null for top-level threads only.
me or an email: only action items assigned to them.
Responses
Section titled “Responses”Comments
object
object
object
cmt_ + 24 hex characters.
Pin position on the page, when the comment was placed as a pin.
guest = a verified guest with no account (their email is never returned).
Id of the version that was live when the comment was written; null on older comments.
object
object
Example
{ "data": { "comments": [ { "authorType": "human" } ] }}Access denied
object
Human-readable message.
Machine-readable error code.
Correlation id (also the X-Request-Id header). Quote it in support tickets.
Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.
What to do next, in plain words.
The request field at fault.
Doc page for this error.
Present on 5xx — how to reach a human.
object
Example
{ "success": false, "support": { "how": "POST /v1/support/tickets", "include": [ "request_id" ] }}