profile

Get S3 upload params for profile picture

Changed on

Returns the parameters needed to upload a profile picture directly to S3. Only works for your own profile.

post/profile/{user}/profile-picture-upload-params{format}

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sessionid

Path parameters

format'.json' required
userstring required

User ID. Use 'me' to refer to the currently authenticated user.

Request body

file_namestring required
file_typestring required
file_sizeinteger required

Response

object_keystring required
upload_urlstring uri required
expires_ininteger required

Changes

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ○

      added the required property to the response with the status

    • ○

      added the required property to the response with the status

    • ○

      endpoint added