Modifies the information of a single data source in a table of a specified instance.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
PUT /v2/openapi/instances/{instanceId}/dataSources/{tableName}
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
instanceId | string | Yes | The instance ID. | airec-cn-o400whm78004 |
tableName | string | No | The name of the table. | behavior |
Response parameters
Examples
Sample success responses
JSON
format
{
"result": {
"gmtModified": "2018-12-07T02:24:26.000Z",
"gmtCreate": "2018-12-07T02:24:26.000Z",
"tableName": "behavior",
"meta": {
"bucketName": "airec",
"accessKeyId": "xxx",
"type": "ODPS",
"partition": "ds=20181122",
"timestamp": 1544112000000,
"path": "oss://xxx.xxx",
"tableName": "test_maxcompute",
"projectName": "openrec_gray"
}
},
"code": "InternalServerError",
"requestId": "8F81A922-6C81-46D6-B78C-CC35E16B1691",
"message": "An internal server error occurred"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history