x-yc-apigateway-integration:cloud_datasphere extension
Written by
Updated at August 29, 2024
The x-yc-apigateway-integration:cloud_datasphere
extension invokes 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 is run.
You can add an extension to a specification using the specification constructor.
Supported parameters
The table below lists the parameters specific to API Gateway API gateways. You can find the description of other parameters in the OpenAPI 3.0 specification
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. It is used for authorization when invoking a DataSphere node. If it is not specified, its value is taken from the parent service_account_id . |
Extension specification
Specification example:
/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********