/addRating: Add Rating

URL:
https://[root]/content/items/[itemID]/addRating
Methods:
POST

Example Usage

URL for Add Rating

1
2
https://www.arcgis.com/sharing/rest/content/items/a50b5179b49a4256a248c7b5ffb82dd7/addRating
Rating=4

Description

Adds a rating to an item to which you have access (POST only). Only one rating can be given to an item per user. If this call is made on a currently rated item, the new rating will overwrite the existing rating. A user cannot rate their own item. Available only to authenticated users.

Request Parameters

ParameterDetails

[Common Parameters]

For a complete listing, see Common parameters.

rating

Rating to set for the item. Rating must be a floating point number between 1.0 and 5.0.

Response Properties

PropertyDetails

success

Indicates if the operation was successful.

JSON Response Syntax

1
2
3
{
"success" : true | false
}

JSON Response Example

1
2
3
{
"success" : true
}

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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close