/[commentID]: Item Comment

URL:
https://[root]/content/items/[itemID]/comments/[commentID]
Methods:
GET

Example Usage

URL for Item Comment

Use dark colors for code blocksCopy
1
https://www.arcgis.com/sharing/rest/content/items/a50b5179b49a4256a248c7b5ffb82dd7/comments/0d59cee0f5394417a9a218a5038905eb

Description

Gets details for a particular comment.

Request Parameters

ParameterDetails

[Common Parameters]

For a complete listing, see Common parameters.

Response Properties

PropertyDetails

id

The ID of the comment.

owner

The username of the user who submitted the comment.

created

The date and time the comment was created.

comment

The comment text.

parentId

The ID of the parent comment if it is a reply to an existing comment or null.

numReplies

The number of replies to a comment.

latestReply

The date and time the comment's last reply in UNIX time in milliseconds, -1 if not applicable.

JSON Response Syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
{
  "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

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
{
  "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
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.