cURL
basic
curl --request POST \ --url https://api.quiva.ai/storage/obj \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "bucket": "app-documents", "description": "Application document storage" } '
{ "message": "success" }
Creates a new object store bucket
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Name of the bucket to create
Description of the bucket
Maximum size of the bucket in bytes
x >= 1
Number of replicas
file
memory
Bad Request
"success"