List all collections
Changed onRetrieves all collections for a given user.
Currently, only the favorites collection is supported.
Request
- Base URLhttps://api.box.com/2.0
- URLhttps://api.box.com/2.0/collections
- AuthOAuth 2Authorization code: https://account.box.com/api/oauth2/authorizeToken URL: https://api.box.com/oauth2/token
Query parameters
A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response.
Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
The offset of the item at which to begin the response.
Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
The maximum number of items to return per page.
Response
Returns all collections for the given user.
Example response
{
"total_count": 5000,
"limit": 1000,
"offset": 2000,
"order": [
{
"by": "type",
"direction": "ASC"
}
],
"entries": [
{
"id": "11446498",
"type": "collection",
"name": "Favorites",
"collection_type": "favorites"
}
]
}Changes
- warning
added the new
unprocessable_entityenum value to theresponse property for the response status - info
added
subschema #1subschema #2to the response bodyallOflist for the response status - info
removed
subschema #1subschema #2from the response bodyallOflist for the response status
- warning