POST Chat/SetAvatar
Request Information
URI Parameters
None.
Body Parameters
ChatSetAvatarFormName | Description | Type | Additional information |
---|---|---|---|
uid | string |
None. |
|
avatar | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "uid": "sample string 1", "avatar": "sample string 2" }
Response Information
Resource Description
IconViewName | Description | Type | Additional information |
---|---|---|---|
id |
Идентификатор аватарки |
string |
None. |
isactive |
Является ли аватарка активной |
boolean |
None. |
isDefault |
Является ли аватарка дефолтной |
boolean |
None. |
smallest |
20x20 |
string |
None. |
tiny |
26x26 |
string |
None. |
mini |
36x36 |
string |
None. |
small |
50x50 |
string |
None. |
normal |
96x96 |
string |
None. |
large |
240x240 |
string |
None. |
big |
670x670 |
string |
None. |
original |
Оригинал |
string |
None. |
url |
Ссылка на скачивание оригинала |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "isactive": true, "isDefault": true, "smallest": "sample string 4", "tiny": "sample string 5", "mini": "sample string 6", "small": "sample string 7", "normal": "sample string 8", "large": "sample string 9", "big": "sample string 10", "original": "sample string 11", "url": "sample string 12" }