Skip to main content
URL: https://xapi.duelduck.com/duel/upload-image Uploads and processes a prediction logo image (JPEG, PNG, SVG, WebP; max 3 MB). Returns the URL of the saved logo.

Parameters

NameTypeHeaderformDataRequiredDescription
AuthorizationstringAuthorizationyesAuthorization
Bearer token
duel_logofileChoose File /
No file chosen
yesPrediction logo
image

Responses

Response content type: application / json .

Code 200

duel_logo_url.
{
  "additionalProp1": "string",
  "additionalProp2": "string",
  "additionalProp3": "string"
}

Code 400

Invalid request data.
{
  "message": "string",
  "status": 0
}

Code 401

Unauthorized.
{
  "message": "string",
  "status": 0
}

Code 429

Too many uploads.
{
  "message": "string",
  "status": 0
}

Code 500

Internal server error.
{
  "message": "string",
  "status": 0
}