Request

POST /pub/v1/channel/{channel}/message/{id}/comment/list

Path parameters

Parameter name Value Description Additional
channel uuid

Channel ID

Required
id uuid

Message ID

Required

Request body

The resource sent in the request body is  Запрос на получение списка комментариев к сообщению из канала. It contains the following writable properties:

{
    "filter": {
        "author": [
            "uuid"
        ],
        "bodyKeywords": [
            "string"
        ],
        "createdFrom": "date-time",
        "createdTo": "date-time",
        "files": [
            "uuid"
        ]
    },
    "from": "int32",
    "size": "int32"
}

Properties

Name Type Description Additional
filter object Фильтр комментариев Optional
filter.author[] array of uuid Optional
filter.bodyKeywords[] array of string Optional
filter.createdFrom date-time Начало диапазона дат создания (включительно) Optional
filter.createdTo date-time Конец диапазона дат создания (включительно) Optional
filter.files[] array of uuid Optional
from int32 Смещение (по умолчанию 0) Optional
size int32 Ограничения по количеству (по умолчанию 10) Optional

Authorization

This request requires the use of one of following authorisation methods: API key

Response

The following HTTP status codes may be returned: