/api/reports/:id/comments
Returns all comments for the report with the specified ID.
Resource Information
Resource URL | |
HTTP Method |
|
Parameters
Parameters | Detail |
---|---|
| ID of the report whose comments to fetch. You can find the ID in the response to |
| Specifies the page offset if pagination is necessary. |
| Specifies the number of entries on each page if pagination is necessary. |
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\"" https://service.belladati.com/api/reports/7741/comments
The JSON format response:
{ "comments" : [ { "author" : "John Smith", "text" : "This is a comment.", "when" : "Fri, 16 Aug 2013 12:56:50 GMT" } ], "offset" : 0, "size" : 15 }