Добавление соорганизаторов к видеовстрече
Добавляет пользователей в список соорганизаторов видеовстречи, не затрагивая уже назначенных.
Соорганизатором можно назначить только пользователя с аккаунтом на Яндексе.
Если часть адресов не найдена, возвращается ошибка NoSuchUserPrincipalsFound,
а сами адреса перечисляются в details.emails через ;.
Request
PATCH
https://cloud-api.yandex.net/v1/telemost-api/conferences/{id}/cohosts
Path parameters
|
Name |
Description |
|
id |
Type: string Идентификатор видеовстречи. Example: `` |
Body
application/json
{
"cohosts": [
{
"email": "example"
}
]
}
|
Name |
Description |
|
cohosts |
Type: ApiCohost[] Список соорганизаторов видеовстречи. Example
|
ApiCohost
|
Name |
Description |
|
|
Type: string Адрес электронной почты соорганизатора. Example: |
Example
{
"email": "example"
}
Responses
204 No Content
OK
400 Bad Request
Тип и идентификатор сущности внешней встречи должны быть переданы вместе
Body
application/json
{
"error": "example",
"description": "example",
"message": "example",
"details": {}
}
|
Name |
Description |
|
description |
Type: string Техническое описание ошибки Example: |
|
error |
Type: string Уникальный код ошибки Example: |
|
message |
Type: string Человекочитаемое описание ошибки Example: |
|
details |
Type: object Дополнительные детали ошибки Example
|
401 Unauthorized
Не авторизован.
Body
application/json
{
"error": "example",
"description": "example",
"message": "example",
"details": {}
}
|
Name |
Description |
|
description |
Type: string Техническое описание ошибки Example: |
|
error |
Type: string Уникальный код ошибки Example: |
|
message |
Type: string Человекочитаемое описание ошибки Example: |
|
details |
Type: object Дополнительные детали ошибки Example
|
402 Payment Required
Трансляции недоступны на вашем тарифе.
Body
application/json
{
"error": "example",
"description": "example",
"message": "example",
"details": {}
}
|
Name |
Description |
|
description |
Type: string Техническое описание ошибки Example: |
|
error |
Type: string Уникальный код ошибки Example: |
|
message |
Type: string Человекочитаемое описание ошибки Example: |
|
details |
Type: object Дополнительные детали ошибки Example
|
403 Forbidden
Не удалось авторизовать переговорную.
Body
application/json
{
"error": "example",
"description": "example",
"message": "example",
"details": {}
}
|
Name |
Description |
|
description |
Type: string Техническое описание ошибки Example: |
|
error |
Type: string Уникальный код ошибки Example: |
|
message |
Type: string Человекочитаемое описание ошибки Example: |
|
details |
Type: object Дополнительные детали ошибки Example
|
404 Not Found
Пресет матрицы пермиссий не найден.
Body
application/json
{
"error": "example",
"description": "example",
"message": "example",
"details": {}
}
|
Name |
Description |
|
description |
Type: string Техническое описание ошибки Example: |
|
error |
Type: string Уникальный код ошибки Example: |
|
message |
Type: string Человекочитаемое описание ошибки Example: |
|
details |
Type: object Дополнительные детали ошибки Example
|
406 Not Acceptable
Ресурс не может быть представлен в запрошенном формате.
Body
application/json
{
"error": "example",
"description": "example",
"message": "example",
"details": {}
}
|
Name |
Description |
|
description |
Type: string Техническое описание ошибки Example: |
|
error |
Type: string Уникальный код ошибки Example: |
|
message |
Type: string Человекочитаемое описание ошибки Example: |
|
details |
Type: object Дополнительные детали ошибки Example
|
409 Conflict
Трансляция в неподходящем для операции состоянии.
Body
application/json
{
"error": "example",
"description": "example",
"message": "example",
"details": {}
}
|
Name |
Description |
|
description |
Type: string Техническое описание ошибки Example: |
|
error |
Type: string Уникальный код ошибки Example: |
|
message |
Type: string Человекочитаемое описание ошибки Example: |
|
details |
Type: object Дополнительные детали ошибки Example
|
410 Gone
Сессия пользователя не активна.
Body
application/json
{
"error": "example",
"description": "example",
"message": "example",
"details": {}
}
|
Name |
Description |
|
description |
Type: string Техническое описание ошибки Example: |
|
error |
Type: string Уникальный код ошибки Example: |
|
message |
Type: string Человекочитаемое описание ошибки Example: |
|
details |
Type: object Дополнительные детали ошибки Example
|
415 Unsupported Media Type
Неподдерживаемый формат данных в теле запроса.
Body
application/json
{
"error": "example",
"description": "example",
"message": "example",
"details": {}
}
|
Name |
Description |
|
description |
Type: string Техническое описание ошибки Example: |
|
error |
Type: string Уникальный код ошибки Example: |
|
message |
Type: string Человекочитаемое описание ошибки Example: |
|
details |
Type: object Дополнительные детали ошибки Example
|
429 Too Many Requests
Слишком много запросов.
Body
application/json
{
"error": "example",
"description": "example",
"message": "example",
"details": {}
}
|
Name |
Description |
|
description |
Type: string Техническое описание ошибки Example: |
|
error |
Type: string Уникальный код ошибки Example: |
|
message |
Type: string Человекочитаемое описание ошибки Example: |
|
details |
Type: object Дополнительные детали ошибки Example
|
503 Service Unavailable
Сейчас сервис перегружен, но мы уже работаем над этой проблемой.
Body
application/json
{
"error": "example",
"description": "example",
"message": "example",
"details": {}
}
|
Name |
Description |
|
description |
Type: string Техническое описание ошибки Example: |
|
error |
Type: string Уникальный код ошибки Example: |
|
message |
Type: string Человекочитаемое описание ошибки Example: |
|
details |
Type: object Дополнительные детали ошибки Example
|