POST
/
assets
/
{id}
/
upload
Upload Asset
curl --request POST \
  --url https://api.hedra.com/web-app/public/assets/{id}/upload \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-Key: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "image",
  "name": "<string>",
  "thumbnail_url": "<string>",
  "description": "<string>",
  "is_favorite": false,
  "created_at": "2023-11-07T05:31:56Z",
  "asset": {
    "type": "uploaded_image",
    "width": 123,
    "height": 123,
    "url": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

id
string
required

Body

multipart/form-data

Response

200
application/json

Successful Response

The response is of type object.