Profiles

Upload user profile avatar

Upload a new avatar image for the authenticated user's profile. The image must be in PNG, JPG, or WEBP format and less than 1MB. The image will be processed through content moderation. Send multipart/form-data with 'avatar' field containing the image file.

post/api/profile/avatar

Request

  • Base URL: https://api.sc-market.space
  • URL: https://api.sc-market.space/api/profile/avatar
  • Auth: userAuth (a scheme the document does not define)

Response

Avatar uploaded successfully

resultstring required
resource_idstring required
urlstring uri required

Example response

{
  "result": "Avatar uploaded successfully"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.