Skip to Content
Open Retainer
Comments

List comments

GET
/v1/records/{id}/comments

Requires the read scope.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A workspace API key.

Path Parameters

id*string

Retainer identifier.

Formatuuid

Query Parameters

limit?integer

Maximum items in this page.

Range1 <= value <= 200
Default50
cursor?string

The opaque nextCursor from the previous page.

Response Body

Successful response.

application/json
  1. response
record*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
items*array<>
total*integer
Range-9007199254740991 <= value <= 9007199254740991
nextCursor*string|null
Example Request
curl -X GET 'https://retainer.tamloot.cc/v1/records/d2c0648c-2994-4f16-bdf1-a0136be6037d/comments' \  -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY'
Example Response
{  "record": "4d59c234-2278-409a-b612-f158aa22befe",  "items": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "record": "4d59c234-2278-409a-b612-f158aa22befe",      "body": "string",      "author": {        "via": "string",        "type": "user",        "id": "string",        "name": "string"      },      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "editedAt": "2019-08-24T14:15:22Z"    }  ],  "total": -9007199254740991,  "nextCursor": "string"}