Users

Upload Background

Upload background for a user.

Required scopes:

  • post
post/users/{user_id}/background

Request

Path parameters

string required
OR
integer required
Example:me

User ID.

You can use shortlink me to interact with your profile.

Request body multipart/form-data

backgroundstring binary required

Binary data of the background. Background image must be 1920x1080 pixels

xinteger

The starting point of the selection by width. Default value - 0

yinteger

The starting point of the selection by height. Default value - 0

cropinteger

Selection size.

Response

Successful Response.

statusstring required
messagestring required

Changes

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