BellaDati Technical Documentation : POST Comments

/api/reports/:id/comments

Posts a comment to the report with the specified ID.

Resource Information

Parameters

Parameters

Detail

id

ID of the report for which to post a comment. You can find the ID in the response to /api/reports.
Example: 123

text

Text of the comment to post.
Example: Nice report!

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/7741/comments

When the comment has been posted successfully, the response has the HTTP status code 200 and the content "OK".