GET
/folders/{folder_id}/metadataList metadata instances on folder
Retrieves all metadata for a given folder. This can not be used on the root
folder with ID 0.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
folder_idstringrequired
The unique identifier that represent a folder.
The ID for any folder can be determined
by visiting this folder in the web application
and copying the ID from the URL. For example,
for the URL `https://*.app.box.com/folder/123`
the `folder_id` is `123`.
The root folder of a Box account is
always represented by the ID `0`.
viewstringoptional
Taxonomy field values are returned in `API view` by default, meaning
the value is represented with a taxonomy node identifier.
To retrieve the `Hydrated view`, where taxonomy values are represented
with the full taxonomy node information, set this parameter to `hydrated`.
This is the only supported value for this parameter.
200Returns all the metadata associated with a folder.
This API does not support pagination and will therefore always return
all of the metadata associated to the folder.
entriesarray<MetadataInstance>optional
A list of metadata instances, as applied to this file or folder.
limitintegeroptional
The limit that was used for this page of results.
403Returned when the request parameters are not valid.
* `forbidden` - this operation is not allowed on the Root folder.
typestringoptional
The value will always be `error`.
statusintegeroptional
The HTTP status of the response.
codestringoptional
A Box-specific error code.
messagestringoptional
A short message describing the error.
context_infoobjectoptional
A free-form object that contains additional context
about the error. The possible fields are defined on
a per-endpoint basis. `message` is only one example.
help_urlstringoptional
A URL that links to more information about why this error occurred.
request_idstringoptional
A unique identifier for this response, which can be used
when contacting Box support.
404Returned when the user does not have access to the folder.
typestringoptional
The value will always be `error`.
statusintegeroptional
The HTTP status of the response.
codestringoptional
A Box-specific error code.
messagestringoptional
A short message describing the error.
context_infoobjectoptional
A free-form object that contains additional context
about the error. The possible fields are defined on
a per-endpoint basis. `message` is only one example.
help_urlstringoptional
A URL that links to more information about why this error occurred.
request_idstringoptional
A unique identifier for this response, which can be used
when contacting Box support.
defaultAn unexpected client error.
typestringoptional
The value will always be `error`.
statusintegeroptional
The HTTP status of the response.
codestringoptional
A Box-specific error code.
messagestringoptional
A short message describing the error.
context_infoobjectoptional
A free-form object that contains additional context
about the error. The possible fields are defined on
a per-endpoint basis. `message` is only one example.
help_urlstringoptional
A URL that links to more information about why this error occurred.
request_idstringoptional
A unique identifier for this response, which can be used
when contacting Box support.
Error handling
A 403 is returned: Returned when the request parameters are not valid.
forbidden- this operation is not allowed on the Root folder. A 404 is returned: Returned when the user does not have access to the folder. Any other status is an error: An unexpected client error.