Query Permission Application Records for a Target Data Source
Specify a data source to view the permission application records submitted for that data source.
Request URL: /openapi/v1/datasource/apply/list
Request Method: GET
Request Parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
datasourceId | String | Yes | Data source ID. | ds-abc123 |
accountId | String | No | Account ID. | 170xxxxxx |
current | Integer | Yes | Current page number. | 1 |
pageSize | Integer | Yes | Page size. | 10 |
Response Parameters
Parameter | Type | Description | Example |
---|---|---|---|
success | Boolean | Whether the request is successful. | true |
requestId | String | Request ID. | Mi6y0FCN-BHEEaHAnCFFp9DFdAAk0OUZ |
data | Array | List of permission application records, including the following fields:
| { "permissionId": 70155, "applyId": "au-dbz96q2yi03c", "type": "datasource", "accountId": "1708516390626159", "accountName": "NineData", "createTime": "2025-08-11 02:48:24Z", "expireTime": "2025-08-18 02:48:24Z", "action": "Readonly" } |
current | Integer | Current page number. | 1 |
pageSize | Integer | Page size. | 10 |
total | Integer | Total number of records. | 4 |
Successful Invocation Example
{
"success": true,
"requestId": "Rn9f1RJT-cigfnWNnjjbl2UYdgco2FDO",
"data": [{
"permissionId": 70155,
"applyId": "au-dbz96q2yi03c",
"type": "datasource",
"accountId": "1708516390626159",
"accountName": "NineData",
"createTime": "2025-08-11 02:48:24Z",
"expireTime": "2025-08-18 02:48:24Z",
"action": "Readonly"
}, {
"permissionId": 70156,
"applyId": "au-dbz96q2yi03c",
"type": "datasource",
"accountId": "1708516390626159",
"accountName": "NineData",
"createTime": "2025-08-11 02:48:24Z",
"expireTime": "2025-08-18 02:48:24Z",
"action": "DML"
}, {
"permissionId": 70157,
"applyId": "au-dbz96q2yi03c",
"type": "datasource",
"accountId": "1708516390626159",
"accountName": "NineData",
"createTime": "2025-08-11 02:48:24Z",
"expireTime": "2025-08-18 02:48:24Z",
"action": "DDL"
}, {
"permissionId": 70158,
"applyId": "au-dbz96q2yi03c",
"type": "datasource",
"accountId": "1708516390626159",
"accountName": "NineData",
"createTime": "2025-08-11 02:48:24Z",
"expireTime": "2025-08-18 02:48:24Z",
"action": "SQLTask"
}],
"current": 1,
"pageSize": 10,
"total": 4
}