GET
/metadata_cascade_policiesList metadata cascade policies
Retrieves a list of all the metadata cascade policies
that are applied to 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
Specifies which folder to return policies for. This can not be used on the
root folder with ID `0`.
owner_enterprise_idstringoptional
The ID of the enterprise ID for which to find metadata
cascade policies. If not specified, it defaults to the
current enterprise.
markerstringoptional
Defines the position marker at which to begin returning results. This is
used when paginating using marker-based pagination.
This requires `usemarker` to be set to `true`.
offsetintegeroptional
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.
200Returns a list of metadata cascade policies.
limitintegeroptional
The limit that was used for these entries. This will be the same as the
`limit` query parameter unless that value exceeded the maximum value
allowed. The maximum value varies by API.
next_markerstringoptional
The marker for the start of the next page of results.
prev_markerstringoptional
The marker for the start of the previous page of results.
entriesarray<MetadataCascadePolicy>optional
A list of metadata cascade policies.
400Returns an error when any of the parameters are not in a valid format.
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.
403Returns an error when the folder can not be accessed. This error often
happens when accessing the root folder with ID `0`.
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.
404Returns an error when the folder can not be found or the user does not
have access to the folder.
* `not_found` - The folder could not be found or 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 400 is returned: Returns an error when any of the parameters are not in a valid format. A 403 is returned: Returns an error when the folder can not be accessed. This error often
happens when accessing the root folder with ID 0. A 404 is returned: Returns an error when the folder can not be found or the user does not
have access to the folder.
not_found- The folder could not be found or the user does not have access to the folder. Any other status is an error: An unexpected client error.