GET Discuss/Between

Получение комментариев между заданными, сортировка по их порядку согласно древовидности.

Этот метод используется в случае, когда пользователю уже отображены комментарии и надо отобразить соседние от них до заданного. При этом неизвестно где находится заданный комментарий: сверху или снизу (согласно порядку древовидности) от уже имеющихся комментариев.
Для этого необходимо указать первый и последний комментарии (согласно порядку древовидности), которые уже отображены пользователю, а так же конечный идентифитор, до которого надо отобразить соседние.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
eventId

Идентификатор события.

integer

None.

firstDiscussId

Первый идентификатор, который отображён пользователю согласно порядку древовидности.

integer

None.

lastDiscussId

Последний идентификатор, который отображён пользователю согласно порядку древовидности.

integer

None.

toDiscussId

Идентификатор комментария, до которого необходимо выдать соседей от указанных firstDiscussId и lastDiscussId.

integer

None.

pageSize

Количество комментариев, которое надо получить.

integer

None.

messageFormat

Формат вывода текста

MessageFormat

None.

Body Parameters

None.

Response Information

Resource Description

Комментарии с указанием их положения относительно заданных.

DiscussBetweenView
NameDescriptionTypeAdditional information
discussion

Комментарии.

Collection of DiscussDataView

None.

position

Положение относительно заданных.

DiscussBetweenPosition

None.

Response Formats

application/json, text/json

Sample:
{
  "discussion": [
    {
      "depth": 1,
      "id": 2,
      "parentId": 1,
      "eventId": 3,
      "datecreated": "sample string 4",
      "datecreatedstr": "sample string 5",
      "datelastupdatedticks": 6,
      "deleted": 1,
      "deletedStr": "discussAuthor",
      "edited": true,
      "message": "sample string 8",
      "isnew": true,
      "seen": true,
      "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,
        "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 8",
        "wmid": "sample string 9"
      },
      "attachments": [
        {
          "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"
          }
        },
        {
          "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"
          }
        }
      ],
      "share": {
        "url": "sample string 1",
        "title": "sample string 2",
        "desc": "sample string 3",
        "type": 0,
        "typeStr": "image",
        "mediaId": "sample string 4",
        "versions": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        },
        "id": 5
      },
      "actions": [
        "sample string 1",
        "sample string 2"
      ],
      "behalf": 1,
      "behalfStr": "user",
      "directedAccess": [
        {
          "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,
          "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 8",
          "wmid": "sample string 9"
        },
        {
          "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,
          "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 8",
          "wmid": "sample string 9"
        }
      ],
      "attachedActions": [
        {
          "dateCreated": "sample string 1",
          "dateCreatedStr": "sample string 2",
          "actions": [
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            },
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            }
          ],
          "readOnlyType": 0,
          "uid": "sample string 3",
          "title": "sample string 4",
          "type": 0
        },
        {
          "dateCreated": "sample string 1",
          "dateCreatedStr": "sample string 2",
          "actions": [
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            },
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            }
          ],
          "readOnlyType": 0,
          "uid": "sample string 3",
          "title": "sample string 4",
          "type": 0
        }
      ],
      "type": 1,
      "commentType": 0,
      "authorBanned": true,
      "editorMode": 0
    },
    {
      "depth": 1,
      "id": 2,
      "parentId": 1,
      "eventId": 3,
      "datecreated": "sample string 4",
      "datecreatedstr": "sample string 5",
      "datelastupdatedticks": 6,
      "deleted": 1,
      "deletedStr": "discussAuthor",
      "edited": true,
      "message": "sample string 8",
      "isnew": true,
      "seen": true,
      "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,
        "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 8",
        "wmid": "sample string 9"
      },
      "attachments": [
        {
          "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"
          }
        },
        {
          "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"
          }
        }
      ],
      "share": {
        "url": "sample string 1",
        "title": "sample string 2",
        "desc": "sample string 3",
        "type": 0,
        "typeStr": "image",
        "mediaId": "sample string 4",
        "versions": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        },
        "id": 5
      },
      "actions": [
        "sample string 1",
        "sample string 2"
      ],
      "behalf": 1,
      "behalfStr": "user",
      "directedAccess": [
        {
          "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,
          "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 8",
          "wmid": "sample string 9"
        },
        {
          "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,
          "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 8",
          "wmid": "sample string 9"
        }
      ],
      "attachedActions": [
        {
          "dateCreated": "sample string 1",
          "dateCreatedStr": "sample string 2",
          "actions": [
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            },
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            }
          ],
          "readOnlyType": 0,
          "uid": "sample string 3",
          "title": "sample string 4",
          "type": 0
        },
        {
          "dateCreated": "sample string 1",
          "dateCreatedStr": "sample string 2",
          "actions": [
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            },
            {
              "data": {},
              "uid": "sample string 2",
              "type": 0
            }
          ],
          "readOnlyType": 0,
          "uid": "sample string 3",
          "title": "sample string 4",
          "type": 0
        }
      ],
      "type": 1,
      "commentType": 0,
      "authorBanned": true,
      "editorMode": 0
    }
  ],
  "position": 0
}