Can be used to add an identifier from an external system, must be unique within integration (integration's slug)
/
Update a tasks comment's...
Kanbert (v1)
- https://api.kanbert.com/api/v1/tasks/comments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.kanbert.com/api/v1/tasks/comments \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"external_id": "string",
"external_origin": "string",
"task_id": "string",
"parent_comment_id": "string",
"comment": "string",
"is_public": true
}'Response
application/json
{ "id": "string", "external_id": "string", "external_origin": "string", "parent_comment_id": "string", "parent_comment": { "id": "string", "external_id": "string", "external_origin": "string", "parent_comment_id": "string", "parent_comment": {}, "task": { … }, "sub_comments": [ … ], "author": { … }, "comment": "string", "attachements": [], "is_public": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "task": { "id": "string", "project_id": "string", "client_id": "string", "parent_task_id": "string", "external_id": "string", "external_origin": "string", "uri": "string", "title": "string", "description": "string", "status": "Backlog", "type": "string", "estimated_hours": 0, "is_onhold": true, "is_public": true, "due_date": "2019-08-24", "due_date_settings": { … }, "assignee": { … }, "priorityOption": { … }, "phase": { … }, "milestone": { … }, "epic": { … }, "parent_task": {}, "attachements": [], "watchers": [ … ], "sub_tasks": [ … ], "completed_at": "2019-08-24T14:15:22Z", "closed_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "list_sorting": 0 }, "sub_comments": [ { … } ], "author": { "id": "string", "first_name": "string", "last_name": "string", "email": "string", "type": "user", "space": { … } }, "comment": "string", "attachements": [], "is_public": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- https://api.kanbert.com/api/v1/tasks/comments/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://api.kanbert.com/api/v1/tasks/comments/{id}?find_by=id&origin=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"comment": "string",
"is_public": true
}'Response
application/json
{ "id": "string", "external_id": "string", "external_origin": "string", "parent_comment_id": "string", "parent_comment": { "id": "string", "external_id": "string", "external_origin": "string", "parent_comment_id": "string", "parent_comment": {}, "task": { … }, "sub_comments": [ … ], "author": { … }, "comment": "string", "attachements": [], "is_public": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "task": { "id": "string", "project_id": "string", "client_id": "string", "parent_task_id": "string", "external_id": "string", "external_origin": "string", "uri": "string", "title": "string", "description": "string", "status": "Backlog", "type": "string", "estimated_hours": 0, "is_onhold": true, "is_public": true, "due_date": "2019-08-24", "due_date_settings": { … }, "assignee": { … }, "priorityOption": { … }, "phase": { … }, "milestone": { … }, "epic": { … }, "parent_task": {}, "attachements": [], "watchers": [ … ], "sub_tasks": [ … ], "completed_at": "2019-08-24T14:15:22Z", "closed_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "list_sorting": 0 }, "sub_comments": [ { … } ], "author": { "id": "string", "first_name": "string", "last_name": "string", "email": "string", "type": "user", "space": { … } }, "comment": "string", "attachements": [], "is_public": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- https://api.kanbert.com/api/v1/tasks/comments/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.kanbert.com/api/v1/tasks/comments/{id}?find_by=id&origin=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "id": "string", "external_id": "string", "external_origin": "string", "parent_comment_id": "string", "parent_comment": {}, "task": { "id": "string", "project_id": "string", "client_id": "string", "parent_task_id": "string", "external_id": "string", "external_origin": "string", "uri": "string", "title": "string", "description": "string", "status": "Backlog", "type": "string", "estimated_hours": 0, "is_onhold": true, "is_public": true, "due_date": "2019-08-24", "due_date_settings": { … }, "assignee": { … }, "priorityOption": { … }, "phase": { … }, "milestone": { … }, "epic": { … }, "parent_task": {}, "attachements": [], "watchers": [ … ], "sub_tasks": [ … ], "completed_at": "2019-08-24T14:15:22Z", "closed_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "list_sorting": 0 }, "sub_comments": [ {} ], "author": { "id": "string", "first_name": "string", "last_name": "string", "email": "string", "type": "user", "space": { … } }, "comment": "string", "attachements": [], "is_public": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- https://api.kanbert.com/api/v1/tasks/comments/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api.kanbert.com/api/v1/tasks/comments/{id}?find_by=id&origin=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'- https://api.kanbert.com/api/v1/tasks/comments/{id}/upload
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.kanbert.com/api/v1/tasks/comments/{id}/upload?find_by=id&origin=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F file=stringResponse
application/json
{ "id": "string", "file_name": "string", "mime_type": "string", "size": 0, "entity_id": "string", "entity_type": "string", "created_at": "string" }
Query
Available sorts are created_at, updated_at.
You can sort by multiple options by separating them with a comma. To sort in descending order, use - sign in front of the sort, for example: -title.
Example: sort=sort=-created_at,title
Available includes are parent_comment, sub_comments. You can include multiple options by separating them with a comma.
Allowed filter fields (with allowed operators):
| Field | Type | Operators |
|---|---|---|
sub_comments_in_list | enum:with, only, without | eq |
is_public | boolean | eq, ne, neq, isnull, isnotnull, notnull |
author.id | id<UserData> | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull |
author.email | string | in, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull |
author.type | enum<UserType> | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull |
parent_comment.id | id<CommentData> | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull |
sub_comments | Relation- title (string) - uri (string) - status (enum) | any, none, count, all |
Filtering expression. Accepts either JSON (array/tree of conditions) or a readable string DSL.
You can check the full syntax at Docs Filtering section.
Special values:
- me.id — current authenticated user id (usable on fields of type id). Example:
id eq me.id - now — current date-time. Example:
dueOn lt now - sow/eow — start/end of week. Examples:
dueOn gt sow,dueOn lt eow - som/eom — start/end of month. Examples:
dueOn gt som,dueOn lt eom - today — special date for today; with eq it expands to the whole day range. Example:
dueOn eq today - today±Nd — relative day offset. Examples:
today-30d,today+5d.
Example: filter=title contains "Acme" and (created_at >= "2024-01-01" or client.name contains "Corp")
- https://api.kanbert.com/api/v1/tasks/{id}/comments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.kanbert.com/api/v1/tasks/{id}/comments?find_by=id&origin=string&sort=sort%3D-created_at%2Ctitle&include=string&page%5Bsize%5D=30&page%5Bcursor%5D=string&filter=title+contains+%22Acme%22+and+%28created_at+%3E%3D+%222024-01-01%22+or+client.name+contains+%22Corp%22%29' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "data": [ { … } ], "links": [ "string" ], "meta": { "path": "string", "per_page": 0, "next_cursor": "string", "next_cursor_url": "string", "prev_cursor": "string", "prev_cursor_url": "string" } }
- https://api.kanbert.com/api/v1/comment:created
application/json
{ "event": "comment:create", "resource": { "type": "comment", "id": "string" }, "triggered_by": { "id": "string", "first_name": "string", "last_name": "string", "email": "string", "type": "user", "space": { … } }, "data": { "id": "string", "external_id": "string", "external_origin": "string", "parent_comment_id": "string", "parent_comment": {}, "task": { … }, "sub_comments": [ … ], "author": { … }, "comment": "string", "attachements": [], "is_public": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } }
- https://api.kanbert.com/api/v1/comment:updated
application/json
{ "event": "comment:update", "resource": { "type": "comment", "id": "string" }, "triggered_by": { "id": "string", "first_name": "string", "last_name": "string", "email": "string", "type": "user", "space": { … } }, "data": { "id": "string", "external_id": "string", "external_origin": "string", "parent_comment_id": "string", "parent_comment": {}, "task": { … }, "sub_comments": [ … ], "author": { … }, "comment": "string", "attachements": [], "is_public": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } }
- https://api.kanbert.com/api/v1/comment:deleted
application/json
{ "event": "comment:delete", "resource": { "type": "task", "id": "string" }, "triggered_by": { "id": "string", "first_name": "string", "last_name": "string", "email": "string", "type": "user", "space": { … } }, "data": { "id": "string", "external_id": "string", "external_origin": "string", "parent_comment_id": "string", "parent_comment": {}, "task": { … }, "sub_comments": [ … ], "author": { … }, "comment": "string", "attachements": [], "is_public": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } }