Description
Queries the data sources of a specified instance.
Method
GET
URI
/openapi/instances/{instanceId}/dataSources
Response parameters
Parameter | Type | Description |
---|---|---|
RequestId | String | The ID of the request. |
result | List< DataSource > | The data sources that are returned. |
Examples
Sample requests
GET /openapi/instances/airec-cn-xxxxxx/dataSources
Sample success responses
JSON
format
{
"Result":[
{
"GmtCreate":"2018-12-07T02:24:26.000Z",
"GmtModified":"2018-12-07T02:36:00.000Z",
"TableName":"user",
"Meta":{
"Type":"ODPS",
"Timestamp":1544112000000,
"AccessKeyId":"ak",
"ProjectName":"project",
"TableName":"table",
"Partition":"dt=20181122",
"IncEnabled":false,
"FullEnabled":true
}
},
{
"GmtCreate":"2018-12-07T02:24:26.000Z",
"GmtModified":"2018-12-07T02:24:26.000Z",
"TableName":"item",
"Meta":{
"Type":"ODPS",
"Timestamp":1544112000000,
"AccessKeyId":"ak",
"ProjectName":"project",
"TableName":"table",
"Partition":"dt=20181122",
"IncEnabled":false,
"FullEnabled":true
}
},
{
"GmtCreate":"2018-12-07T02:24:26.000Z",
"GmtModified":"2018-12-07T02:24:26.000Z",
"TableName":"behavior",
"Meta":{
"Type":"ODPS",
"Timestamp":1544112000000,
"AccessKeyId":"ak",
"ProjectName":"project",
"TableName":"table",
"Partition":"dt=20181122",
"IncEnabled":false,
"FullEnabled":true
}
},
{
"GmtCreate":"2020-03-03T07:15:27.000Z",
"GmtModified":"2020-03-03T07:15:27.000Z",
"TableName":"behavior",
"Meta":{
"Type":"UMENG",
"AppMetas":[
"5e5dfc94cedf3c39390a7efc"
],
"BizIdList":[
"101"
]
},
"IncEnabled":false,
"FullEnabled":true
}
],
"RequestId":"6839AE7C-A984-48C1-AC17-331BAC6D97BC"
}
Sample error responses
JSON
format
{
"RequestId":"DF79FBBF-FFD9-42CD-A91E-220C97D13189",
"Code":"InstanceNotExist",
"Message":"The specified instance does not exist."
}