Retrieves the instance of a metadata template that has been applied to a
folder. This can not be used on the root folder with ID 0
.
12345
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
.
global
The scope of the metadata template
Value is one of global
,enterprise
properties
The name of the metadata template
An instance of the metadata template that includes additional "key:value" pairs defined by the user or an application.
Returned when the request parameters are not valid.
Returned if the metadata template specified was not applied to this folder or the user does not have access to the folder.
instance_not_found
- The metadata template was not applied to the
folder.Returned when the method was not allowed. This often happens when the
folder ID is not valid or the root folder with ID 0
.
An unexpected client error.
curl -i -X GET "https://api.box.com/2.0/folders/4353455/metadata/enterprise_27335/blueprintTemplate" \
-H "authorization: Bearer <ACCESS_TOKEN>"
{
"$canEdit": true,
"$id": "01234500-12f1-1234-aa12-b1d234cb567e",
"$parent": "folder_59449484661,",
"$scope": "enterprise_27335",
"$template": "marketingCollateral",
"$type": "properties-6bcba49f-ca6d-4d2a-a758-57fe6edf44d0",
"$typeVersion": 2,
"$version": 1
}