Supported APIs for Box Archive
Supported APIs for Box Archive
The basic Box Archive APIs allow you to create, list, update and delete archives, but you can use other APIs to interact with an archive or its content. See the table below for the full list of those APIs.
| API Endpoint | Description |
|---|---|
POST /archives | Create an archive. |
GET /archives | List all archives. |
PUT /archives/:id | Update an archive. |
DELETE /archives/:id | Delete an archive. |
PUT /files/:id | Add a file to an archive, restore a file from an archive, or move a file within/between archives. Other updates to the file are not allowed. Requires contacting customer support to enable. |
PUT /folders/:id | Add a folder to an archive, restore a folder from an archive, move a folder within/between archives, or rename and change the description of a folder in an archive. Other updates to the folder are not allowed. Requires contacting customer support to enable. |
POST /files/content | Upload a file to an archive or to a folder within an archive. Requires contacting customer support to enable. |
GET /files/:id/content | Download a file from an archive or from a folder within an archive. |
POST /zip_downloads | Download a zip file of an archive or of a folder within an archive. |
POST /folders | Create a folder within an archive. Requires contacting customer support to enable. |
GET /files/:id | Get details of a file within an archive. |
GET /folders/:id | Get details of an archive or of a folder within an archive. |
GET /folders/:id/items | List items within an archive or items in a folder within an archive. |
POST /files/:id/copy | Copy a file to an archive. |
POST /folders/:id/copy | Copy a folder to an archive. |
POST /files/:id/metadata/:scope/:template_key | Create a metadata instance attached to a file within an archive. |
GET /files/:id/metadata/:scope/:template_key | View a metadata instance attached to a file within an archive. |
GET /files/:id/metadata | List all metadata instances attached to a file within an archive. |
PUT /files/:id/metadata/:scope/:template_key | Update a metadata instance attached to a file within an archive. |
DELETE /files/:id/metadata/:scope/:template_key | Delete a metadata instance attached to a file within an archive. |
POST securityClassification | Create a classification label for a file within an archive. |
GET securityClassification | View a classification label of a file within an archive. |
PUT securityClassification | Update a classification label for a file within an archive. |
DELETE securityClassification | Delete a classification label from a file within an archive. |