Queries the APIs on which other users are granted the access permissions.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectId | long | Yes | The ID of the workspace. | 10000 |
PageNumber | integer | Yes | The page number. Pages start from page 1. Default value: 1. | 1 |
PageSize | integer | Yes | The number of entries per page. Valid values: 1 to 100. Default value: 10. | 10 |
TenantId | long | No | The tenant ID. This parameter is deprecated. | 10001 |
ApiNameKeyword | string | No | The keyword in the name of the API. The keyword can be used to search for the API whose name contains the keyword. | My API name |
Response parameters
Examples
Sample success responses
JSON
format
{
"HttpStatusCode": 200,
"RequestId": "0000-ABCD-EFG****",
"ErrorMessage": "Normal\n",
"Success": true,
"ErrorCode": "0",
"Data": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 100,
"ApiAuthorizationList": [
{
"ApiStatus": 0,
"ApiId": 10002,
"ModifiedTime": "2020-06-23T00:21:01+0800",
"GroupId": "ab123",
"ProjectId": 10000,
"CreatorId": "12345",
"CreatedTime": "2020-06-23T00:21:01+0800",
"ApiName": "My API name\n",
"TenantId": 10001,
"ApiPath": "/test/1",
"AuthorizationRecords": [
{
"EndTime": "2020-06-24T00:21:01+0800",
"CreatorId": "12345",
"CreatedTime": "2020-06-23T00:21:01+0800",
"ProjectId": 10004
}
]
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | No permission, please authorize |
429 | Throttling.Api | The request for this resource has exceeded your available limit. | - |
429 | Throttling.System | The DataWorks system is busy. Try again later. | - |
429 | Throttling.User | Your request is too frequent. Try again later. | - |
500 | InternalError.System | An internal system error occurred. Try again later. | - |
500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-10-09 | The Error code has changed | View Change Details |