Uploads

Import a photo from a URL, or get a presigned PUT ticket for a local file

post/api/v1/uploads

Request

  • Base URL: https://pixly.app
  • URL: https://pixly.app/api/v1/uploads
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://pixly.app/oauth/authorize, token URL https://pixly.app/api/oauth/token, scopes: tools)

Request body

OR

Response

r2Path always; a ticket also carries uploadUrl (PUT the bytes there) and imageUrl (pass to any tool)

r2Pathstring required
uploadUrlstring
imageUrlstring
notestring

Changes

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