Create metadata cascade policy
Changed onCreates a new metadata cascade policy that applies a given metadata template to a given folder and automatically cascades it down to any files within that folder.
In order for the policy to be applied a metadata instance must first be applied to the folder the policy is to be applied to.
Request
- Base URLhttps://api.box.com/2.0
- URLhttps://api.box.com/2.0/metadata_cascade_policies
- AuthOAuth 2Authorization code: https://account.box.com/api/oauth2/authorizeToken URL: https://api.box.com/oauth2/token
Request body
Example request
{
"folder_id": "1234567",
"scope": "enterprise",
"templateKey": "productInfo"
}Response
Returns a new of metadata cascade policy.
Example response
{
"id": "6fd4ff89-8fc1-42cf-8b29-1890dedd26d7",
"type": "metadata_cascade_policy",
"owner_enterprise": {
"type": "enterprise",
"id": "690678"
},
"parent": {
"type": "folder",
"id": "1234567"
},
"scope": "enterprise_123456",
"templateKey": "productInfo"
}Changes
- warning
added the new
unprocessable_entityenum value to the/response property for the response status - warning
added the new
unprocessable_entityenum value to theresponse property for the response status - warning
added the new
unprocessable_entityenum value to theresponse property for the response status - warning
added the new
unprocessable_entityenum value to theresponse property for the response status - warning
added the new
unprocessable_entityenum value to theresponse property for the response status
- warning