Passo Developers
Api

Resolve or unresolve a comment

PATCH
/comments/{commentId}

Sets a comment's resolved state. Body: resolved (boolean) — true stamps who/when, false clears it. Any member of the version's workspace may resolve or unresolve any comment. 404 if the comment does not exist or the caller cannot act on it.

Authorization

oauthJwt
AuthorizationBearer <token>

A Supabase-issued OAuth user access token. On collection endpoints, pair with a Passo-Workspace header to pick a workspace.

In: header

Path Parameters

commentId*string
Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/comments/string" \  -H "Content-Type: application/json" \  -d '{    "resolved": true  }'
{  "id": "string",  "versionId": "string",  "parentId": "string",  "authorUserId": "string",  "body": "string",  "startMs": -9007199254740991,  "endMs": -9007199254740991,  "visibility": "internal",  "resolvedAt": "string",  "resolvedByUserId": "string",  "createdAt": "string",  "updatedAt": "string"}