Yandex Cloud
  • Сервисы
  • Решения
  • Почему Yandex Cloud
  • Сообщество
  • Тарифы
  • Документация
  • Связаться с нами
Подключиться
Language / Region
© 2022 ООО «Яндекс.Облако»
Yandex API Gateway
  • Начало работы
  • Пошаговые инструкции
    • Все инструкции
    • Создание API-шлюза
    • Изменение API-шлюза и его спецификации
    • Подключение домена
    • Удаление API-шлюза
    • Мониторинг
    • Просмотр журнала выполнения
  • Практические руководства
    • Развертывание веб-приложения
    • Разработка навыка Алисы и сайта с авторизацией
    • Разработка Slack-бота
    • Разработка Telegram-бота
  • Концепции
    • Взаимосвязь ресурсов сервиса
    • Расширения спецификации
      • Обзор
      • Статический ответ
      • Вызов функции
      • Интеграция с Serverless Containers
      • Обращение по HTTP
      • Интеграция с Object Storage
      • Интеграция с DataSphere
      • Интеграция с Data Streams
      • Интеграция с Message Queue
      • Жадные параметры
      • Обобщенный HTTP-метод
      • Авторизация с помощью функции
    • Квоты и лимиты
  • Управление доступом
  • Правила тарификации
  • Справочник API
    • Аутентификация в API
    • gRPC (англ.)
      • Overview
      • ApiGatewayService
      • OperationService
    • REST (англ.)
      • Overview
      • ApiGateway
        • Overview
        • addDomain
        • create
        • delete
        • get
        • getOpenapiSpec
        • list
        • listAccessBindings
        • listOperations
        • removeDomain
        • setAccessBindings
        • update
        • updateAccessBindings
  • Вопросы и ответы
  1. Справочник API
  2. REST (англ.)
  3. ApiGateway
  4. Overview

ApiGateway

Статья создана
Yandex.Cloud
  • JSON Representation
  • Methods

A set of methods for managing API gateways.

JSON Representation

{
  "id": "string",
  "folderId": "string",
  "createdAt": "string",
  "name": "string",
  "description": "string",
  "labels": "object",
  "status": "string",
  "domain": "string",
  "logGroupId": "string",
  "attachedDomains": [
    {
      "domainId": "string",
      "certificateId": "string",
      "enabled": true,
      "domain": "string"
    }
  ],
  "connectivity": {
    "networkId": "string",
    "subnetId": [
      "string"
    ]
  }
}
Field Description
id string

ID of the API gateway. Generated at creation time.

folderId string

ID of the folder that the API gateway belongs to.

createdAt string (date-time)

Creation timestamp for the API-gateway.

String in RFC3339 text format.

name string

Name of the API gateway. The name is unique within the folder.

description string

Description of the API gateway.

labels object

API gateway labels as key:value pairs.

status string

Status of the API gateway.

  • CREATING: API gateway is being created.
  • ACTIVE: API gateway is ready for use.
  • DELETING: API gateway is being deleted.
  • ERROR: API gateway failed. The only allowed action is delete.
  • UPDATING: API gateway is being updated.
domain string

Default domain for the API gateway. Generated at creation time.

logGroupId string

ID of the log group for the API gateway.

attachedDomains[] object

List of domains attached to API gateway.

attachedDomains[].
domainId
string

ID of the domain.

attachedDomains[].
certificateId
string

ID of the domain certificate.

attachedDomains[].
enabled
boolean (boolean)

Enabling flag.

attachedDomains[].
domain
string

Name of the domain.

connectivity object

Network access. If specified the gateway will be attached to specified network/subnet(s).

Gateway connectivity specification.

connectivity.
networkId
string

Network the gateway will have access to. It's essential to specify network with subnets in all availability zones.

connectivity.
subnetId[]
string

Complete list of subnets (from the same network) the gateway can be attached to. It's essential to specify at least one subnet for each availability zones.

Methods

Method Description
addDomain Attaches domain to the specified API gateway.
create Creates an API gateway in the specified folder.
delete Deletes the specified API gateway.
get Returns the specified API gateway. Note that only API gateway basic attributes are returned. To get associated openapi specification, make a getOpenapiSpec request.
getOpenapiSpec Returns the OpenAPI specification of specified API gateway.
list Retrieves the list of API gateways in the specified folder.
listAccessBindings Lists existing access bindings for the specified API gateway.
listOperations Lists operations for the specified API gateway.
removeDomain Detaches domain from the specified API gateway.
setAccessBindings Sets access bindings for the specified API gateway.
update Updates the specified API gateway.
updateAccessBindings Updates access bindings for the specified API gateway.

Была ли статья полезна?

Language / Region
© 2022 ООО «Яндекс.Облако»
В этой статье:
  • JSON Representation
  • Methods