cURL
curl --request POST \ --url https://api.quiva.ai/storage/obj \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "bucket": "my-obj-bucket", "description": "My object store bucket", "max_bytes": 104857600, "replicas": 3, "storage": 0 } '
{ "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"