POST List/AddToList
Добавить друзей в список
Request Information
URI Parameters
None.
Body Parameters
ListWmidsFormName | Description | Type | Additional information |
---|---|---|---|
wmids | Collection of string |
None. |
|
listId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "wmids": [ "sample string 1", "sample string 2" ], "listId": 1 }
Response Information
Resource Description
ListFriendsViewName | Description | Type | Additional information |
---|---|---|---|
friends | BaseListViewOfFriendPreviewView |
None. |
|
name | string |
None. |
|
id | integer |
None. |
|
dateCreated | string |
None. |
|
dateCreatedStr | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "friends": { "countAll": 1, "items": [ { "wmid": "sample string 1", "friendName": "sample string 2", "icon": { "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" }, "userType": 0, "wm": true, "username": "sample string 4" }, { "wmid": "sample string 1", "friendName": "sample string 2", "icon": { "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" }, "userType": 0, "wm": true, "username": "sample string 4" } ] }, "name": "sample string 1", "id": 2, "dateCreated": "sample string 3", "dateCreatedStr": "sample string 4" }