Calendar

Изменить личное подключение внешнего календаря

Changed on

Пустой credential/password не затирает сохранённый зашифрованный секрет.

patch/api/v1/calendar/connectors/{id}

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

Headers

X-Tenant, string required

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

Request body

CalendarConnectorPatch required
provider, 'caldav' | 'icloud' | 'yandex' | 'google' | 'office365'
display_name, string
account_email, string
direction, 'both' | 'import' | 'export'
status, 'connected' | 'paused' | 'disconnected' | 'error'
calendar_url, string uri
username, string
credential, string
password, string
selected_calendars, CalendarExternalCalendar[]

Response

Изменённый коннектор без секрета

CalendarConnectorEnvelope required
ok, true required
item, CalendarConnector required
id, string uuid required

Changes

    • info

      added the optional property item/failure_history to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    6 more changes in this revision