All Products
Search
Document Center

OpenSearch:GetDataSourceDeploy

Last Updated:Jul 16, 2024

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

The instance ID.

ha-cn-uax37kni501
dataSourceNamestringYes

The name of the data source.

ha-cn-9lb34d9ee01_image_embedding

Response parameters

ParameterTypeDescriptionExample
object
requestIdstring

requestId

2AE63638-5420-56DC-BF59-37D8174039A0
resultobject

The result.

storageobject

The information about the data source.

endpointstring

The endpoint of the MaxCompute data source.

http://service.cn-hangzhou.maxcompute.aliyun-inc.com/api
accessKeystring

The AccessKey ID of the MaxCompute data source.

ak
accessSecretstring

The AccessKey secret of the MaxCompute data source.

as
partitionstring

The partition in the MaxCompute table. Example: ds=20180102.

ds=20220926
ossPathstring

The Object Storage Service (OSS) path.

oss://opensearch
bucketstring

The name of the OSS bucket.

antsys-miniapp-chongwen-static
processorobject

The parameters of the process.

argsstring

The startup parameters of the process.

{}
resourcestring

The resource information.

{}
swiftobject

The information about the incremental data source Swift.

zkstring

zk

zk
topicstring

The topic.

topic

Examples

Sample success responses

JSONformat

{
  "requestId": "2AE63638-5420-56DC-BF59-37D8174039A0",
  "result": {
    "storage": {
      "endpoint": "http://service.cn-hangzhou.maxcompute.aliyun-inc.com/api",
      "accessKey": "ak",
      "accessSecret": "as",
      "project": "wireless_1688_personal_rec",
      "partition": "ds=20220926",
      "table": "behavior",
      "namespace": "lazada-campaign-flink",
      "path": "/beiming_xobject/dwd_xobjectsandbox__list_create_action_by_new/",
      "ossPath": "oss://opensearch",
      "bucket": "antsys-miniapp-chongwen-static"
    },
    "autoBuildIndex": true,
    "processor": {
      "args": "{}",
      "resource": "{}"
    },
    "extend": {
      "saro": {
        "path": "dist-dmj-job/src/main/java",
        "version": "0.6.0"
      },
      "hdfs": {
        "path": "dist-dmj-job/src/main/java"
      },
      "odps": {
        "partitions": {
          "key": "ds=20220926"
        }
      },
      "oss": {
        "path": "oss://opensearch"
      }
    },
    "swift": {
      "zk": "zk",
      "topic": "topic"
    }
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-07-19The response structure of the API has changedView Change Details
2023-03-01API Description UpdateView Change Details