全部产品

ListDataSource

更新时间:2020-09-17 17:47:23

获取指定实例的数据源列表信息。

描述

获取指定实例的数据源列表信息。

方法

GET

URI

/openapi/instances/{instanceId}/dataSources

返回参数

参数 类型 描述
RequestId String 当前请求的RequestID
result List< DataSource > 数据源信息列表

示例

请求示例

  1. GET /openapi/instances/airec-cn-xxxxxx/dataSources

正常返回示例

JSON 格式

  1. {
  2. "Result":[
  3. {
  4. "GmtCreate":"2018-12-07T02:24:26.000Z",
  5. "GmtModified":"2018-12-07T02:36:00.000Z",
  6. "TableName":"user",
  7. "Meta":{
  8. "Type":"ODPS",
  9. "Timestamp":1544112000000,
  10. "AccessKeyId":"ak",
  11. "ProjectName":"project",
  12. "TableName":"table",
  13. "Partition":"dt=20181122",
  14. "IncEnabled":false,
  15. "FullEnabled":true
  16. }
  17. },
  18. {
  19. "GmtCreate":"2018-12-07T02:24:26.000Z",
  20. "GmtModified":"2018-12-07T02:24:26.000Z",
  21. "TableName":"item",
  22. "Meta":{
  23. "Type":"ODPS",
  24. "Timestamp":1544112000000,
  25. "AccessKeyId":"ak",
  26. "ProjectName":"project",
  27. "TableName":"table",
  28. "Partition":"dt=20181122",
  29. "IncEnabled":false,
  30. "FullEnabled":true
  31. }
  32. },
  33. {
  34. "GmtCreate":"2018-12-07T02:24:26.000Z",
  35. "GmtModified":"2018-12-07T02:24:26.000Z",
  36. "TableName":"behavior",
  37. "Meta":{
  38. "Type":"ODPS",
  39. "Timestamp":1544112000000,
  40. "AccessKeyId":"ak",
  41. "ProjectName":"project",
  42. "TableName":"table",
  43. "Partition":"dt=20181122",
  44. "IncEnabled":false,
  45. "FullEnabled":true
  46. }
  47. },
  48. {
  49. "GmtCreate":"2020-03-03T07:15:27.000Z",
  50. "GmtModified":"2020-03-03T07:15:27.000Z",
  51. "TableName":"behavior",
  52. "Meta":{
  53. "Type":"UMENG",
  54. "AppMetas":[
  55. "5e5dfc94cedf3c39390a7efc"
  56. ],
  57. "BizIdList":[
  58. "101"
  59. ]
  60. },
  61. "IncEnabled":false,
  62. "FullEnabled":true
  63. }
  64. ],
  65. "RequestId":"6839AE7C-A984-48C1-AC17-331BAC6D97BC"
  66. }

异常返回示例

JSON 格式

  1. {
  2. "RequestId":"DF79FBBF-FFD9-42CD-A91E-220C97D13189",
  3. "Code":"InstanceNotExist",
  4. "Message":"The specified instance does not exist."
  5. }

错误码