General APIs with JWT

Generate Presigned Url

Changed on

Create an upload link for your avatar image.

post/users/presigned-url

Request

  • Base URL: https://lium.io/api
  • URL: https://lium.io/api/users/presigned-url
  • Auth: HTTP bearer

Request body

namestring
type'image/png' | 'image/jpeg' | 'image/gif' | 'image/webp' | 'image/avif' | 'image/heic' | 'image/heif'

Response

Successful Response

unknown required

Changes

    • breaking

      request property was restricted to a list of enum values

    • breaking

      added the pattern ^[^/\\]+\.[A-Za-z0-9]{1,16}$ to the request property

    • warning

      the request property's maxLength was set to 255

    • info

      added the new image/avif enum value to the request property

    • info

      added the new image/gif enum value to the request property

    • info

      added the new image/heic enum value to the request property

    • info

      added the new image/heif enum value to the request property

    • info

      added the new image/jpeg enum value to the request property

    • info

      added the new image/png enum value to the request property

    • info

      added the new image/webp enum value to the request property