Volume Files

Upload a file into the volume in one multipart request. For files larger than 10 MB use POST /v1/volumes/{volume_id}/files/upload-url instead.

post/v1/volumes/{volume_id}/files

Request

  • Base URL
    https://api.anchorbrowser.io
  • Auth
    API key in header anchor-api-key

Path parameters

volume_idstring uuid required

Request body multipart/form-data

filestring binary required

The file to upload

pathstring

Destination path relative to the volume root, e.g. downloads/report.pdf. Defaults to the uploaded file's name at the root.

overwrite'true' | 'false'

Replace an existing file at path. Defaults to false.

Response

File uploaded

Changes