clans

Get presigned URL for uploading clan image

Changed on
post/v1/clans/{clanId}/image

Request

  • Base URL
    https://app.legend.trade/api/rest
  • URL
    https://app.legend.trade/api/rest/v1/clans/{clanId}/image
  • Auth
    HTTP bearer

Path parameters

clanIdstring uuid required

Request body

fileNamestring required
contentTypestring required
imageType'avatar' | 'banner' required

Response

Successful response

uploadUrlstring uri required
fieldsobject required
fileKeystring required
mediaUrlstring uri required

Changes

    • breaking

      the request property's minLength was increased from 0 to 1

    • breaking

      the request property's minLength was increased from 0 to 1

    • warning

      the request property's maxLength was set to 100

    • warning

      the request property's maxLength was set to 255

    • info

      added the required property to the response with the status