cURL
curl --request GET \ --url https://mainnet.dkn.dria.co/api/v0/file/get_upload_url \ --header 'x-api-key: <api-key>'
{ "success": true, "url": "<string>", "id": "<string>" }
Get a pre-signed S3 file upload URL
API Key
Returns S3 Image Upload URL
Whether the request was successful
The S3 URL for uploading the file
The eventual ID of the uploaded document