English
Appearance
Creates a project comment or a reply to an existing project comment.
const comment = await client.comments.createForProject("bdbff5de-96d7-468f-9db0-85fe28bd6b62", { content: "Project brief is ready for review.", });
youvico comment create \ --project bdbff5de-96d7-468f-9db0-85fe28bd6b62 \ --content "Project brief is ready for review."
curl -X POST 'https://api.youvico.com/api/projects/bdbff5de-96d7-468f-9db0-85fe28bd6b62/comments' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "content": "Project brief is ready for review." }'
{ "data": { "id": "2fb4e60b-0d9a-46f3-a4dc-cb9fe8ad9be6" } }
id
string
content
Maximum 1000 characters
parent
object
parent.id
Example: 0efee6f8-5829-41c9-bb4d-90dd7e72cc58
0efee6f8-5829-41c9-bb4d-90dd7e72cc58
attachments
array
1-10 items
attachments[].id
Example: CA1234567890ABCD
CA1234567890ABCD
INFO
Provide at least one of content or attachments.
Each attachment ID must be unique and refer to a completed, unattached upload started by the same user for this project.
WARNING
Replies to replies are not allowed. parent.id must point to a top-level project comment.
Returns 201 Created.
201 Created
data
data.id
Example: 2fb4e60b-0d9a-46f3-a4dc-cb9fe8ad9be6
2fb4e60b-0d9a-46f3-a4dc-cb9fe8ad9be6
Create Project Comment Tier 4
Creates a project comment or a reply to an existing project comment.
Example
Request
Path
idstringrequiredBody
contentstringMaximum 1000 characters
parentobjectparent.idstringrequiredExample:
0efee6f8-5829-41c9-bb4d-90dd7e72cc58attachmentsarray1-10 items
attachments[].idstringrequiredExample:
CA1234567890ABCDINFO
Provide at least one of
contentorattachments.INFO
Each attachment ID must be unique and refer to a completed, unattached upload started by the same user for this project.
WARNING
Replies to replies are not allowed.
parent.idmust point to a top-level project comment.Response
Returns
201 Created.dataobjectdata.idstringExample:
2fb4e60b-0d9a-46f3-a4dc-cb9fe8ad9be6