auth

Initiate avatar upload - get presigned URL

post/v1/auth/profile/avatar

Request

  • Base URL: https://api.dispatchtickets.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dispatchtickets.com/v1/auth/profile/avatar
  • Auth: session-token (a scheme the document does not define)

Request body

filenamestring required

Original filename

contentTypestring required

Content type of the file

sizenumber required

File size in bytes (max 5MB)

Example request

{
  "filename": "avatar.jpg",
  "contentType": "image/jpeg",
  "size": 102400
}

Response

Upload URL returned

Changes

No recorded changes to this operation across all 1 revision of this API.