{ "opencollection": "1.0.0", "info": { "name": "Box Authorize Authorization Classifications on Folders API", "version": "1.0" }, "items": [ { "info": { "name": "Classifications on Folders", "type": "folder" }, "items": [ { "info": { "name": "Box Get classification on folder", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/folders/:folder_id/metadata/enterprise/securityClassification-6VMVochwUWo", "params": [ { "name": "folder_id", "value": "12345", "type": "path", "description": "The unique identifier that represent a folder.\n\nThe ID for any folder can be determined\nby visiting this folder in the web application\nand copying the ID from the URL. For example,\nfor the URL `https://*.app.box.com/folder/123`\nthe `folder_id` is `123`.\n\nThe root folder of a Box account is\nalways represented by the ID `0`." } ] }, "docs": "Retrieves the classification metadata instance that\nhas been applied to a folder.\n\nThis API can also be called by including the enterprise ID in the\nURL explicitly, for example\n`/folders/:id//enterprise_12345/securityClassification-6VMVochwUWo`." }, { "info": { "name": "Box Add classification to folder", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/folders/:folder_id/metadata/enterprise/securityClassification-6VMVochwUWo", "params": [ { "name": "folder_id", "value": "12345", "type": "path", "description": "The unique identifier that represent a folder.\n\nThe ID for any folder can be determined\nby visiting this folder in the web application\nand copying the ID from the URL. For example,\nfor the URL `https://*.app.box.com/folder/123`\nthe `folder_id` is `123`.\n\nThe root folder of a Box account is\nalways represented by the ID `0`." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds a classification to a folder by specifying the label of the\nclassification to add.\n\nThis API can also be called by including the enterprise ID in the\nURL explicitly, for example\n`/folders/:id//enterprise_12345/securityClassification-6VMVochwUWo`." }, { "info": { "name": "Box Update classification on folder", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/folders/:folder_id/metadata/enterprise/securityClassification-6VMVochwUWo", "params": [ { "name": "folder_id", "value": "12345", "type": "path", "description": "The unique identifier that represent a folder.\n\nThe ID for any folder can be determined\nby visiting this folder in the web application\nand copying the ID from the URL. For example,\nfor the URL `https://*.app.box.com/folder/123`\nthe `folder_id` is `123`.\n\nThe root folder of a Box account is\nalways represented by the ID `0`." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a classification on a folder.\n\nThe classification can only be updated if a classification has already been\napplied to the folder before. When editing classifications, only values are\ndefined for the enterprise will be accepted." }, { "info": { "name": "Box Remove classification from folder", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/folders/:folder_id/metadata/enterprise/securityClassification-6VMVochwUWo", "params": [ { "name": "folder_id", "value": "12345", "type": "path", "description": "The unique identifier that represent a folder.\n\nThe ID for any folder can be determined\nby visiting this folder in the web application\nand copying the ID from the URL. For example,\nfor the URL `https://*.app.box.com/folder/123`\nthe `folder_id` is `123`.\n\nThe root folder of a Box account is\nalways represented by the ID `0`." } ] }, "docs": "Removes any classifications from a folder.\n\nThis API can also be called by including the enterprise ID in the\nURL explicitly, for example\n`/folders/:id//enterprise_12345/securityClassification-6VMVochwUWo`." } ] } ], "bundled": true }