All Products
Search
Document Center

OpenSearch:ValidateDataSources

Last Updated:Jul 02, 2024

Verifies data sources.

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

POST /v4/openapi/assist/data-sources/validations

Request parameters

ParameterTypeRequiredDescriptionExample
bodyDataSourceNo

The request parameter. For more information, see DataSource .

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

requestIdstring

Id of the request

8FA2B338-AFDC-46B4-A132-B5487820C2BF
resultarray<object>

The result returned.

[]
object

The result that was returned.

codestring

The code returned for the request.

SUCCEED
messagestring

The status of the execution.

successful
dataSourceobject

The data source.

tableNamestring

The name of the table.

user_activity_decision
typestring

The type of the data source.

rds
parametersobject

The parameters of the data source.

{}

Examples

Sample success responses

JSONformat

{
  "requestId": "8FA2B338-AFDC-46B4-A132-B5487820C2BF",
  "result": [
    {
      "code": "SUCCEED",
      "message": "successful",
      "dataSource": {
        "tableName": "user_activity_decision",
        "type": "rds",
        "parameters": {}
      }
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
2023-05-24The request parameters of the API has changedView Change Details