cURL
curl --request POST \ --url https://api.openlayer.com/v1/storage/presigned-url \ --header 'Authorization: Bearer <token>'
{ "url": "<string>", "storageUri": "<string>", "fields": {} }
Retrieve a presigned url to post storage artifacts.
Bearer authentication header of the form Bearer <token>, where <token> is your workspace API key. See Find your API key for more information.
Bearer <token>
<token>
The name of the object.
Response OK.
The presigned url.
The storage URI to send back to the backend after the upload was completed.
Fields to include in the body of the upload. Only needed by s3
Was this page helpful?