curl --request POST \
--url https://developer.synq.io/api/issues/v1/{issueId}/comment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"issueId": "<string>",
"actor": {
"name": "<string>",
"slack": {
"userId": "<string>"
},
"email": {
"userEmail": "<string>"
},
"pagerduty": {
"userId": "<string>"
}
},
"comment": "<string>",
"time": "2023-11-07T05:31:56Z"
}'
{
"commentId": "<string>"
}
Post a comment on an issue.
curl --request POST \
--url https://developer.synq.io/api/issues/v1/{issueId}/comment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"issueId": "<string>",
"actor": {
"name": "<string>",
"slack": {
"userId": "<string>"
},
"email": {
"userEmail": "<string>"
},
"pagerduty": {
"userId": "<string>"
}
},
"comment": "<string>",
"time": "2023-11-07T05:31:56Z"
}'
{
"commentId": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the issue to post a comment on.
OK
The response is of type object
.