For the complete documentation index, see llms.txt. This page is also available as Markdown.

Ratings

Find ratings.

get

Returns ratings matching the given search criteria.

Only parameters that are specified in this request and have not null values are used for filtering. All other parameters are ignored.

The returned ratings satisfy all constraints that are specified in this search criteria. By default, the result contains up to 1000 ratings.

Authorizations
AuthorizationstringRequired
Query parameters
offsetinteger · int32Optional

The first result to retrieve. If not set (offset = 0), results will be retrieved starting from row 0.

Default: 0
limitinteger · int32Optional

The maximum number of results to retrieve. If not set (limit = 0), the default limit will be used. The maximum allowed limit is 1000.

Default: 0
countLimitinteger · int32Optional

Allows to limit the number of elements that will be counted. -1 will count everything and 0 will cause the count to be skipped

Default: -1
sortOrderstring · enumOptional

The order of sorting (on creation date) the found ratings.

Default: DESCPossible values:
assetIdstring · uuidOptional

The ID of the asset the rating belongs to.

userIdstring · uuidOptional

The ID of the rating author.

Responses
200

The paged response with found ratings.

application/json
totalinteger · int64Optional

The total number of results.

Example: 1000
offsetinteger · int64Optional

The offset for the results.

Example: 10
limitinteger · int64Optional

The maximum number of results to be returned.

Example: 100
get/ratings
200

The paged response with found ratings.

Add rating.

post

Adds a new rating.

Authorizations
AuthorizationstringRequired
Body
ratingnumber · enumRequired

The value of the rating. Allowed values are 0.2, 0.4, 0.6, 0.8, 1.0 (representing 1 to 5 stars).

Example: 0.6Possible values:
reviewstringOptional

The review attached to the rating.

Example: This is a review
assetIdstring · uuidRequired

The ID of the asset to which the rating will be assigned.

Responses
201

Rating successfully added.

application/json

Represents a rating. A rating is a numerical value representing the author's opinion about the rated resource. Ratings can be accompanied by written reviews.

idstring · uuidRequired

The id of the represented object (entity).

createdBystring · uuidOptional

The id of the user that created this resource.

Example: 4d250cc5-e583-4640-9874-b93d82c7a6cb
createdOninteger · int64Optional

The timestamp (in UTC time standard) of the creation of this resource.

Example: 1475503010320
lastModifiedBystring · uuidOptional

The id of the user who modified this resource the last time.

Example: a073ff90-e7bc-4b35-ba90-c4d475f642fe
lastModifiedOninteger · int64Optional

The timestamp (in UTC time standard) of the last modification of this resource.

Example: 1476703764163
systembooleanOptional

Whether this is a system resource or not.

resourceTypestring · enumRequiredDeprecated

The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable introduction of new types of resources, where necessary, a resource discriminator property (of type String) has been added to specific subtypes of Resource, e.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute. For new types of resource that didn't exist before this change, the resourceType will be BaseDataType.

Possible values:
ratingnumber · doubleRequired

The value of the rating represented as a floating point number between 0 and 1.

Example: 0.2
reviewstringOptional

The review attached to the rating.

post/ratings
201

Rating successfully added.

Get rating.

get

Returns the rating with the specified ID.

Authorizations
AuthorizationstringRequired
Path parameters
ratingIdstring · uuidRequired

The ID of the rating.

Responses
200

Rating found.

application/json

Represents a rating. A rating is a numerical value representing the author's opinion about the rated resource. Ratings can be accompanied by written reviews.

idstring · uuidRequired

The id of the represented object (entity).

createdBystring · uuidOptional

The id of the user that created this resource.

Example: 4d250cc5-e583-4640-9874-b93d82c7a6cb
createdOninteger · int64Optional

The timestamp (in UTC time standard) of the creation of this resource.

Example: 1475503010320
lastModifiedBystring · uuidOptional

The id of the user who modified this resource the last time.

Example: a073ff90-e7bc-4b35-ba90-c4d475f642fe
lastModifiedOninteger · int64Optional

The timestamp (in UTC time standard) of the last modification of this resource.

Example: 1476703764163
systembooleanOptional

Whether this is a system resource or not.

resourceTypestring · enumRequiredDeprecated

The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable introduction of new types of resources, where necessary, a resource discriminator property (of type String) has been added to specific subtypes of Resource, e.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute. For new types of resource that didn't exist before this change, the resourceType will be BaseDataType.

Possible values:
ratingnumber · doubleRequired

The value of the rating represented as a floating point number between 0 and 1.

Example: 0.2
reviewstringOptional

The review attached to the rating.

get/ratings/{ratingId}

Remove rating.

delete

Removes the rating with the specified ID.

Authorizations
AuthorizationstringRequired
Path parameters
ratingIdstring · uuidRequired

The ID of the rating to be removed.

Responses
204

Rating successfully removed.

No content

delete/ratings/{ratingId}

No content

Change rating.

patch

Modifies the rating with the specified ID.

Only properties that are specified in these requests and have not null values are updated. All other properties are ignored.

Authorizations
AuthorizationstringRequired
Path parameters
ratingIdstring · uuidRequired

The ID of the rating to be changed.

Body
ratingnumber · enumRequired

The value of the rating. Allowed values are 0.2, 0.4, 0.6, 0.8, 1.0 (representing 1 to 5 stars).

Example: 0.6Possible values:
reviewstringOptional

The review attached to the rating.

Responses
200

Rating successfully changed.

application/json

Represents a rating. A rating is a numerical value representing the author's opinion about the rated resource. Ratings can be accompanied by written reviews.

idstring · uuidRequired

The id of the represented object (entity).

createdBystring · uuidOptional

The id of the user that created this resource.

Example: 4d250cc5-e583-4640-9874-b93d82c7a6cb
createdOninteger · int64Optional

The timestamp (in UTC time standard) of the creation of this resource.

Example: 1475503010320
lastModifiedBystring · uuidOptional

The id of the user who modified this resource the last time.

Example: a073ff90-e7bc-4b35-ba90-c4d475f642fe
lastModifiedOninteger · int64Optional

The timestamp (in UTC time standard) of the last modification of this resource.

Example: 1476703764163
systembooleanOptional

Whether this is a system resource or not.

resourceTypestring · enumRequiredDeprecated

The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable introduction of new types of resources, where necessary, a resource discriminator property (of type String) has been added to specific subtypes of Resource, e.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute. For new types of resource that didn't exist before this change, the resourceType will be BaseDataType.

Possible values:
ratingnumber · doubleRequired

The value of the rating represented as a floating point number between 0 and 1.

Example: 0.2
reviewstringOptional

The review attached to the rating.

patch/ratings/{ratingId}

Last updated

Was this helpful?