Queries namespaces for a Kubernetes cluster.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /pop/v5/k8s/acs/k8s_namespace
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ClusterId | string | No | The ID of the cluster in Enterprise Distributed Application Service (EDAS). | 5b2b4ab4-efbc-4a81-9c45-xxxxxxxxxxxxx |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "57F146F6-3C94-****-****-A66EF4B9*****",
"Code": 200,
"Message": "success",
"Data": [
{
"Namespace": "development"
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
500 | Edas.errorcode.PermissionDenied.message | You are not authorized to perform the operation. | No permissions |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history