/rating: Item Rating

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

Example Usage

URL for Item Rating

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

Description

Returns the rating given by the current user to the item, if any.

Request Parameters

ParameterDetails

[Common Parameters]

For a complete listing, see Common parameters.

Response Properties

PropertyDetails

rating

The rating given to the item by the calling user.

created

The date the rating was created in UNIX time in milliseconds.

JSON Response Syntax

Use dark colors for code blocksCopy
1
2
3
4
{
  "created": date created shown in UNIX time,
  "rating": rating
}

JSON Response Example

Use dark colors for code blocksCopy
1
2
3
4
{
  "created": 1258290174000,
  "rating": 4
}

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