Calendar

Подключить бота встречи

Changed on

Организатор подключает бота к выбранному вхождению Телемоста. scheduled=true также включает автозапуск для следующих встреч серии; запуск сейчас действует только на выбранную дату. occurrence выбирает вхождение, без него выбирается текущее или ближайшее. Повторы не создают второго бота. Нужны calendar:write и tasks:write; аудио временное.

post/api/v1/calendar/events/{id}/recorder

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate
    • or HTTP bearer

Path parameters

id, string uuid required

Query parameters

occurrence, string

ISO-время вхождения либо occurrence_id вида <UUID серии>:<ISO-время>; без параметра меняется вся серия

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Request body

object required
scheduled, boolean

Response

OK

CalendarRecorderJob required
id, string uuid required
event_id, string uuid required
state, 'scheduled' | 'queued' | 'connecting' | 'waiting' | 'recording' | 'stopping' | 'processing' | 'cleanup' | 'done' | 'failed' | 'cancelled' required
scheduled_at, string date-time required
updated_at, string date-time required
meeting_id, string uuid nullable required
error_code, string
series_event_id, string uuid
occurrence_start, string date-time

Changes

    • info

      added the new optional query request parameter occurrence

    • info

      added the optional property occurrence_start to the response with the status

    • info

      added the optional property series_event_id to the response with the status