Count the number of collections that match a group or an owner. If no parameter is given, the total number of collections is returned. The item_count_total is part of the header response output.
/collection/count [GET]
This call needs EGA authentication.
| Parameter (Type) | Description | Required | Default value | Max. length |
|---|---|---|---|---|
| group_id (ALPHA_NUM) | Group id | Optional | - | |
| owner_id (ALPHA_NUM) | Optional | - |
/collection/count?owner_id=foo [GET]
<header> <item_count>0</item_count> <item_count_total>1</item_count_total> <item_offset>0</item_offset> </header>