POST
/
asset
/
{id}
/
media
Upload media for an asset
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/asset/{id}/media \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{
  "success": true,
  "message": "<string>",
  "data": {}
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string<uuid>
required

Asset ID

Body

multipart/form-data

Response

200
application/json

Media uploaded successfully

The response is of type object.