Managing Files

With the BitBar REST API, you can manage, upload, get, download, update, and delete files.

Upload a file

curl -X POST -u <api-key>: -F "[email protected]"

Get a file ID

curl -u <api-key>:{file-ID}

List all files

curl -u <api-key>:

Download a file

curl -L -u <api-key>:{file-ID}/file --output FILE

Delete a file

curl -X DELETE -u <api-key>:{file-ID}

Update a file name

curl -X POST -u <api-key>:{file-ID}?name=new-file-name

Update file content

curl -X POST -u <api-key>:{file-ID}/file -F "[email protected]"

See Also

Publication date: