- URL:
- https://[root]/content/items/[itemID]/comments/[commentID]
- Methods:
GET
Example Usage
URL for Item Comment
https://www.arcgis.com/sharing/rest/content/items/a50b5179b49a4256a248c7b5ffb82dd7/comments/0d59cee0f5394417a9a218a5038905eb
Description
Gets details for a particular comment.
Request Parameters
Parameter | Details |
---|---|
| For a complete listing, see Common parameters. |
Response Properties
Property | Details |
---|---|
| The ID of the comment. |
| The username of the user who submitted the comment. |
| The date and time the comment was created. |
| The comment text. |
| The ID of the parent comment if it is a reply to an existing comment or |
| The number of replies to a comment. |
| The date and time the comment's last reply in UNIX time in milliseconds, |
JSON Response Syntax
{
"id": "<comment id>",
"owner": "<comment owner username>",
"created": <date created shown in UNIX time>,
"comment": "<comment text>",
"parentId": "<parent comment id>",
"numReplies": <num of replies>,
"latestReply": <last reply date and time in UNIX time>
}
JSON Response Example
{
"id": "0d59cee0f5394417a9a218a5038905eb",
"owner": "jsmith",
"created": 1258290013000,
"comment": "This map is very accurate. I was able to find the right bike route to my destination."
"parentId": null,
"numReplies": 0,
"latestReply": -1
}