x-yc-apigateway-integration:cloud_datasphere extension
Written by
Updated at January 17, 2024
The x-yc-apigateway-integration:cloud_datasphere
extension calls a DataSphere node deployed as a separate microservice. The API Gateway request must contain a JSON object with the input variables specified when creating the node as well as their values. API Gateway will return a JSON object containing the output variables specified when creating the node and their values obtained after it executes.
Supported parameters
The table below lists the parameters specific to API Gateway API gateways. Read more about other parameters in the OpenAPI Specification 3.0
Parameter | Type | Description |
---|---|---|
folder_id |
string |
The ID of the folder where the DataSphere project and node were created. |
node_id |
string |
DataSphere node ID. |
service_account_id |
string |
Service account ID. Used for authorization when calling a DataSphere node. If the parameter is omitted, the value of the top-level parameter called service_account_id is used. |
Extension specification
Example specification:
/node/call:
post:
summary: Call DataSphere Node
operationId: callDatasphereNode
tags:
- datasphere
x-yc-apigateway-integration:
type: cloud_datasphere
folder_id: b095c95icnvb********
node_id: 244e0c20-74a7-4147-83ad-7fd7********
service_account_id: ajehfe78asl********