POST List/Create

Создать список

Request Information

URI Parameters

None.

Body Parameters

Данные списка

ListCreateForm
NameDescriptionTypeAdditional information
wmids

Collection of string

None.

name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "wmids": [
    "sample string 1",
    "sample string 2"
  ],
  "name": "sample string 1"
}

Response Information

Resource Description

ListFriendsView
NameDescriptionTypeAdditional 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"
}