GET User/Files

Получить перечень файлов из переписки с корреспондентом (используется движок сфинкса, вернётся максимум 30 позиций + countAll)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
wmid

WMID корреспондента

string

Required

count

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

BaseListViewOfUserFileView
NameDescriptionTypeAdditional information
countAll

Общее количество

integer

None.

items

Список

Collection of UserFileView

None.

Response Formats

application/json, text/json

Sample:
{
  "countAll": 1,
  "items": [
    {
      "messageId": 1,
      "attachment": {
        "type": 0,
        "typeStr": "image",
        "typeAdditionally": 0,
        "typeAdditionallyStr": "unknown",
        "id": "sample string 1",
        "name": "sample string 2",
        "sha1": "sample string 3",
        "size": 4,
        "contentType": "sample string 5",
        "versions": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        }
      },
      "messageContext": {
        "messageId": 1,
        "corrWmid": "sample string 1",
        "chatUid": "sample string 2"
      },
      "author": {
        "attestat": "sample string 1",
        "attestatCode": 1,
        "bl": 1,
        "tl": 2,
        "cl": 1,
        "Gender": 0,
        "GenderStr": "female",
        "lastLoginDate": "sample string 3",
        "lastLoginDateUtc": "sample string 4",
        "lastOnlineDate": "sample string 5",
        "lastOnlineDateUtc": "sample string 6",
        "status": 0,
        "statusStr": "active",
        "interactOpportunity": true,
        "userType": 0,
        "cover": "sample string 8",
        "wm": true,
        "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"
        },
        "nickname": "sample string 10",
        "wmid": "sample string 11",
        "username": "sample string 12"
      },
      "text": "sample string 2",
      "date": "sample string 3",
      "dateStr": "sample string 4"
    },
    {
      "messageId": 1,
      "attachment": {
        "type": 0,
        "typeStr": "image",
        "typeAdditionally": 0,
        "typeAdditionallyStr": "unknown",
        "id": "sample string 1",
        "name": "sample string 2",
        "sha1": "sample string 3",
        "size": 4,
        "contentType": "sample string 5",
        "versions": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        }
      },
      "messageContext": {
        "messageId": 1,
        "corrWmid": "sample string 1",
        "chatUid": "sample string 2"
      },
      "author": {
        "attestat": "sample string 1",
        "attestatCode": 1,
        "bl": 1,
        "tl": 2,
        "cl": 1,
        "Gender": 0,
        "GenderStr": "female",
        "lastLoginDate": "sample string 3",
        "lastLoginDateUtc": "sample string 4",
        "lastOnlineDate": "sample string 5",
        "lastOnlineDateUtc": "sample string 6",
        "status": 0,
        "statusStr": "active",
        "interactOpportunity": true,
        "userType": 0,
        "cover": "sample string 8",
        "wm": true,
        "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"
        },
        "nickname": "sample string 10",
        "wmid": "sample string 11",
        "username": "sample string 12"
      },
      "text": "sample string 2",
      "date": "sample string 3",
      "dateStr": "sample string 4"
    }
  ]
}