Comments
8 operations, generated from the OpenAPI document.
A page of a record's comments, oldest first (the newest page, or before a cursor)
GET /api/tables/{tableId}/records/{recordId}/comments
Access: comment:read on the table (see ACTIONS for the minimum role); personal access tokens need data.recordComments:read.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
recordId | path | string (uuid) | yes |
limit | query | integer | no |
before | query | string | no |
Responses
200Successcommentsarray of object requiredidstring (uuid) requiredtableIdstring (uuid) requiredrecordIdstring (uuid) requiredauthorIdstring (uuid) | null requiredbodystring requiredmentionsarray of string (uuid) requiredreactionsarray of object requiredreaction"thumbsUp" | "heart" | "laugh" | "tada" | "eyes" | "check" requireduserIdsarray of string (uuid) required
createdAtstring (date-time) requirededitedAtstring (date-time) | null required
previousCursorstring | null required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Comment on a record (Markdown, @mentions of people with access to the base)
POST /api/tables/{tableId}/records/{recordId}/comments
Access: comment:create on the table (see ACTIONS for the minimum role); personal access tokens need data.recordComments:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
recordId | path | string (uuid) | yes |
Request body
bodystring requiredclientOpIdstring
Responses
201Successidstring (uuid) requiredtableIdstring (uuid) requiredrecordIdstring (uuid) requiredauthorIdstring (uuid) | null requiredbodystring requiredmentionsarray of string (uuid) requiredreactionsarray of object requiredreaction"thumbsUp" | "heart" | "laugh" | "tada" | "eyes" | "check" requireduserIdsarray of string (uuid) required
createdAtstring (date-time) requirededitedAtstring (date-time) | null required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Edit your own comment
PATCH /api/tables/{tableId}/records/{recordId}/comments/{commentId}
Access: comment:create on the table (see ACTIONS for the minimum role); personal access tokens need data.recordComments:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
recordId | path | string (uuid) | yes |
commentId | path | string (uuid) | yes |
Request body
bodystring requiredclientOpIdstring
Responses
200Successidstring (uuid) requiredtableIdstring (uuid) requiredrecordIdstring (uuid) requiredauthorIdstring (uuid) | null requiredbodystring requiredmentionsarray of string (uuid) requiredreactionsarray of object requiredreaction"thumbsUp" | "heart" | "laugh" | "tada" | "eyes" | "check" requireduserIdsarray of string (uuid) required
createdAtstring (date-time) requirededitedAtstring (date-time) | null required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Delete your own comment (creators and owners: any comment)
DELETE /api/tables/{tableId}/records/{recordId}/comments/{commentId}
Access: comment:create on the table (see ACTIONS for the minimum role); personal access tokens need data.recordComments:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
recordId | path | string (uuid) | yes |
commentId | path | string (uuid) | yes |
Responses
204Success, no content401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)
Add your reaction to a comment
PUT /api/tables/{tableId}/records/{recordId}/comments/{commentId}/reactions/{reaction}
Access: comment:create on the table (see ACTIONS for the minimum role); personal access tokens need data.recordComments:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
recordId | path | string (uuid) | yes |
commentId | path | string (uuid) | yes |
reaction | path | "thumbsUp" | "heart" | "laugh" | "tada" | "eyes" | "check" | yes |
Responses
200Successidstring (uuid) requiredtableIdstring (uuid) requiredrecordIdstring (uuid) requiredauthorIdstring (uuid) | null requiredbodystring requiredmentionsarray of string (uuid) requiredreactionsarray of object requiredreaction"thumbsUp" | "heart" | "laugh" | "tada" | "eyes" | "check" requireduserIdsarray of string (uuid) required
createdAtstring (date-time) requirededitedAtstring (date-time) | null required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)
Take back your reaction to a comment
DELETE /api/tables/{tableId}/records/{recordId}/comments/{commentId}/reactions/{reaction}
Access: comment:create on the table (see ACTIONS for the minimum role); personal access tokens need data.recordComments:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
recordId | path | string (uuid) | yes |
commentId | path | string (uuid) | yes |
reaction | path | "thumbsUp" | "heart" | "laugh" | "tada" | "eyes" | "check" | yes |
Responses
200Successidstring (uuid) requiredtableIdstring (uuid) requiredrecordIdstring (uuid) requiredauthorIdstring (uuid) | null requiredbodystring requiredmentionsarray of string (uuid) requiredreactionsarray of object requiredreaction"thumbsUp" | "heart" | "laugh" | "tada" | "eyes" | "check" requireduserIdsarray of string (uuid) required
createdAtstring (date-time) requirededitedAtstring (date-time) | null required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)
How many comments each record of the table has (records with none left out)
GET /api/tables/{tableId}/comment-counts
Access: comment:read on the table (see ACTIONS for the minimum role); personal access tokens need data.recordComments:read.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
Responses
200Successcountsobject required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)
Who a comment on the table's records may mention: everyone with access to the base
GET /api/tables/{tableId}/mentionable-users
Access: comment:create on the table (see ACTIONS for the minimum role); personal access tokens need data.recordComments:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
Responses
200SuccessuserIdsarray of string (uuid) required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)