|
| 1 | +--- |
| 2 | +rank: 3 |
| 3 | +related_endpoints: [] |
| 4 | +related_resources: |
| 5 | + - archive |
| 6 | +related_guides: [] |
| 7 | +required_guides: [] |
| 8 | +alias_paths: [] |
| 9 | +--- |
| 10 | + |
| 11 | +# Supported APIs for Box Archive |
| 12 | + |
| 13 | +The basic Box Archive APIs allow you to create, list and delete archives, but you can use other APIs to interact with an archive or its content. |
| 14 | +See the table below for the full list of those APIs. |
| 15 | + |
| 16 | +<Message type='notice'> |
| 17 | + Those APIs require the [`GCM` scope][GCM scope] to be enabled in your application. |
| 18 | + This scope is not available in the Developer Console and needs to be enabled by contacting customer support. |
| 19 | + |
| 20 | + Additionally, some of the below APIs need to be enabled by contacting customer support to properly work with Box Archive. |
| 21 | + When contacting customer support, specify the user ID you plan to use those APIs with. |
| 22 | +</Message> |
| 23 | + |
| 24 | +| API Endpoint | Description | |
| 25 | +|------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |
| 26 | +| [`POST /archives`][Create archive] | Create an archive. | |
| 27 | +| [`GET /archives`][List archives] | List all archives. | |
| 28 | +| [`DELETE /archives/:id`][Delete archive] | Delete an archive. | |
| 29 | +| [`PUT /files/:id`][Update file] | Add a file to an archive, restore a file from an archive, or move file within/between archives. Other updates to the file are not allowed. Requires contacting customer support to enable. | |
| 30 | +| [`PUT /folders/:id`][Update folder] | Add a folder to an archive, restore a folder from an archive, or move folder within/between archives. Other updates to the folder are not allowed. Requires contacting customer support to enable. | |
| 31 | +| [`POST /files/content`][Upload file] | Upload a file to an archive or to folder within archive. Requires contacting customer support to enable. | |
| 32 | +| [`GET /files/:id/content`][Download file] | Download a file from an archive or from folder within archive. | |
| 33 | +| [`POST /zip_downloads`][Download zip] | Download a zip file of an archive or of a folder within archive. | |
| 34 | +| [`POST /folders`][Create folder within archive] | Create a folder within an archive. Requires contacting customer support to enable. | |
| 35 | +| [`GET /files/:id`][Get file details] | Get details of a file within an archive. | |
| 36 | +| [`GET /folders/:id`][Get folder details] | Get details of archive or a folder within an archive. | |
| 37 | +| [`GET /folders/:id/items`][List folder items] | List items within an archive or a folder within an archive. | |
| 38 | +| [`POST /files/:id/copy`][Copy file] | Copy a file within an archive or to another archive. | |
| 39 | +| [`POST /folders/:id/copy`][Copy folder] | Copy a folder within an archive or to another archive. | |
| 40 | +| [`POST /files/:id/metadata/:scope/:template_key`][Create metadata on file] | Create metadata instance on a file within an archive. | |
| 41 | +| [`GET /files/:id/metadata/:scope/:template_key`][View metadata on file] | View metadata instance on a file within an archive. | |
| 42 | +| [`GET /files/:id/metadata`][List metadata on file] | List all metadata instances on a file within an archive. | |
| 43 | +| [`PUT /files/:id/metadata/:scope/:template_key`][Update metadata on file] | Update metadata instance on a file within an archive. | |
| 44 | +| [`DELETE /files/:id/metadata/:scope/:template_key`][Delete metadata on file] | Delete metadata instance on a file within an archive. | |
| 45 | +| [`POST securityClassification`][Create classification label on file] | Create a classification label on a file within an archive. | |
| 46 | +| [`GET securityClassification`][View classification label on file] | View a classification label on a file within an archive. | |
| 47 | +| [`PUT securityClassification`][Update classification label on file] | Update a classification label on a file within an archive. | |
| 48 | +| [`DELETE securityClassification`][Delete classification label on file] | Delete a classification label on a file within an archive. | |
| 49 | + |
| 50 | +[Create archive]: https://developer.box.com/reference/v2025.0/post-archives/ |
| 51 | +[List archives]: https://developer.box.com/reference/v2025.0/get-archives/ |
| 52 | +[Delete archive]: https://developer.box.com/reference/v2025.0/delete-archives-id/ |
| 53 | +[Update file]: e://put-files-id |
| 54 | +[Update folder]: e://put-folders-id |
| 55 | +[Upload file]: e://post-files-content |
| 56 | +[Download file]: e://get-files-id-content |
| 57 | +[Download zip]: e://post-zip-downloads |
| 58 | +[Create folder within archive]: e://post-folders |
| 59 | +[Get file details]: e://get-files-id |
| 60 | +[Get folder details]: e://get-folders-id |
| 61 | +[List folder items]: e://get-folders-id-items |
| 62 | +[Copy file]: e://post-files-id-copy |
| 63 | +[Copy folder]: e://post-folders-id-copy |
| 64 | +[Create metadata on file]: e://post-files-id-metadata-id-id |
| 65 | +[View metadata on file]: e://get-files-id-metadata-id-id |
| 66 | +[List metadata on file]: e://get-files-id-metadata |
| 67 | +[Update metadata on file]: e://put-files-id-metadata-id-id |
| 68 | +[Delete metadata on file]: e://delete-files-id-metadata-id-id |
| 69 | +[Create classification label on file]: e://post-files-id-metadata-enterprise-securityClassification-6VMVochwUWo |
| 70 | +[View classification label on file]: e://get-files-id-metadata-enterprise-securityClassification-6VMVochwUWo |
| 71 | +[Update classification label on file]: e://put-files-id-metadata-enterprise-securityClassification-6VMVochwUWo |
| 72 | +[Delete classification label on file]: e://delete-files-id-metadata-enterprise-securityClassification-6VMVochwUWo |
| 73 | +[GCM scope]: https://developer.box.com/guides/api-calls/permissions-and-errors/scopes/#global-content-manager-gcm |
0 commit comments