Public Web API: Get event list.

Retrieve a list of events with support for filtering, sorting, and pagination.

Calendar events are an aggregated representation of data from external sources, such as Event-type applications or tasks. Any modifications to calendar events must be performed through the corresponding API methods of the data sources themselves.

Fields available for filtering

Field Type Description
__id uuid Unique event identifier
__name string Event name
__startAt date-time Event start date and time
__endAt date-time Event end date and time
__participants array[uuid] List of participant identifiers
__item object Event source (namespace, code, id)
__createdAt date-time Event creation date
__createdBy uuid Identifier of the user who created the event
__updatedAt date-time Date of the last update
__updatedBy uuid Identifier of the user who made the last update
__deletedAt date-time Deletion date

Request

POST /pub/v1/events/list

Request body

The resource sent in the request body is  Request to get event list (Get event list). It contains the following writable properties:

{
    "filter": "json",
    "from": "int64",
    "ids": [
        "string"
    ],
    "size": "int64",
    "sortExpressions": [
        {
            "ascending": "boolean",
            "field": "string"
        }
    ],
    "withoutCount": "boolean"
}

Properties

Name Type Description Additional
filter json

Фильтрация.

Optional
from int64

Начальный индекс возвращаемых элементов (offset).

Optional
ids[] array of string

Фильтрация по идентификаторам.

Optional
size int64

Количество возвращаемых элементов.

Optional
sortExpressions[] array

Правила сортировки.

Optional
sortExpressions[].ascending boolean

Признак сортировки по возрастанию.

Optional
sortExpressions[].field string

Поле сортировки.

Optional
withoutCount boolean

Не подсчитывать общее количество элементов.

Optional

Authorization

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

Response

The following HTTP status codes may be returned:

Status code Description Resource
200 OK

Successful response

Successful response (Get event list)
400 Bad Request

Request error

Ответ, содержащий информацию об ошибке
429

Too many requests

Too many requests (Get event list)