asset/$asset_id/collection/count

28Sep2009

Counting the number of the collections for an asset

With this call you can get how many collection is belonging to an asset.

The total number of collections is listed in the header as "item_count_total.

Request URL

/asset/{asset_id}/collection/count [GET]

Request parameters

Parameter

Type

Description

Method

Obligatory/Optional

asset_id

alphanumeric

asset, where the collections will be counted

GET

obligatory

 

Example request URL

/asset/VlN2ZDKv9rpsfmBAWpvfiw1zQ6z/collection/count

Example response

<item_count_total>1</item_count_total>

Response fields

Field

Description

item_count_total

the total number of collections of this search