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