Count the number of favorites of an asset.

22Aug2011

Returns the number of favorites that an asset as been made favorite.

Request URL

/asset/$asset_id/favorites/count [GET]

Request Authorization

This call needs EGA authentication.

Request Parameters

Parameter (Type)DescriptionRequiredDefault valueMax. length
asset_id (ALPHA_NUM)The asset ID to find its favorites.Required-
mediamosa_version (MEDIAMOSA_VERSION)Provide the version to get the REST call returned in the format of the specified MediaMosa version. Keep empty or skip to retrieve in current (latest) version. Provide '2' to retrieve the REST call in 2.x format. Or be more specific by providing up to 3 digits; '2.3.0'. This setting will override any setting used by client application or the default setting in MediaMosa.Optional-

Example Request

/asset/8rJd5sznz424iB65wjjDuvqx/favorites/count

Example Response