Skip to main content
Skip table of contents

Average rating data model

This is a JSON object with the following fields:

NameTypeDescriptionRequired
averageFloatThe rating.Yes
contentIdStringThe ID of the content being rated.Yes
countIntegerThe number of ratings for this content ID.Yes

Example

JS
{
    "contentId":"LYS987654",
    "average":4.2,
    "count":231
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.