/api/reports/:id/comments
Posts a comment to the report with the specified ID.
Resource Information
Resource URL | |
HTTP Method |
|
Request Parameters
Parameters | Detail | Example |
---|---|---|
| ID of the report for which to post a comment. You can find the ID in the response to | 123 |
| Text of the comment to post. | This is a comment. |
Sample Request / Response
Using curl
:
curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" -d "text=This is a comment." https://service.belladati.com/api/reports/123/comments
When the comment has been posted successfully, the response has the HTTP status code 200 and the content comment ID.
Overview
Content Tools