POST
/
upload
/
asset
curl --request POST \
  --url https://api.jogg.ai/v1/upload/asset \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "filename": "1.jpg"
}'
{
  "code": 123,
  "msg": "<string>",
  "data": {
    "sign_url": "<string>",
    "asset_id": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
Data required for file upload

The body is of type object.

Response

200 - application/json
Success

The response is of type object.