Storage_binding
POST
Obtain renewable storage access for one exact Location version.
bearerAuthheader
AuthorizationBearer <token>location_id*stringFormat
uuidversion_id*stringFormat
uuidSuccess
application/json- response
access*|expiresAt*|mode*locations.StorageModeValue in
"read_only""read_write"rootUri*stringcurl -X POST 'https://api.spiraldb.dev/api/locations/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions/497f6eca-6276-4993-bfeb-53cbbbba6f08/storage-binding'{ "access": { "signed": { "directRead": { "credential": { "awsSession": { "accessKeyId": "string", "endpoint": "string", "expiresAtMicros": "string", "region": "string", "secretAccessKey": "string", "sessionToken": "string" }, "type": "awsSession" }, "uri": "string" }, "endpoint": "string", "token": "string" }, "type": "signed" }, "expiresAt": "string", "mode": "read_only", "rootUri": "string"}