Rating Object
Includes information about a specific rating. Ratings are used for several different resources in the platform, such as apps and APIs.
This object is used by the following operations:
- PUT /api/{service}/versions/{ID}/ratings/{UserID} (in both request and response)
- GET /api/{service}/versions/{ID}/ratings/{UserID}
The properties included in the Rating object are listed below. All values are required in request messages.
Property | Type | Description |
---|---|---|
ID | ID | A unique ID for the resource being rated, such as an AppVersionID or APIVersionID. |
UserID | string | UserID of the user who is rating the resource. |
Rating | integer | A numeric rating value (1-5, with 1 being the worst rating and 5 the best). |