Queries the image gateway configuration file of a shifter container in a specified cluster.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ClusterId | string | Yes | The ID of the cluster. | ehpc-hz-FYUr32**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"Imagegw": {
"UpdateDateTime": "2018-07-18T17:46:47",
"ImageExpirationTimeout": "90:00:00",
"MongoDBURI": "mongodb://localhost",
"DefaultImageLocation": "registry-1.docker.io",
"PullUpdateTimeout": 300,
"Locations": {
"LocationInfo": [
{
"URL": "https://regi****.docker-cn.com",
"RemoteType": "dockerv2",
"Location": "regi****.docker.io",
"Authentication": "https"
}
]
}
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParams | Invalid param: %s | - |
404 | LoginNotFound | The specified login node does not exist. | |
406 | AliyunError | Failed to request other cloud service APIs. | |
406 | DbError | Database request failed. | |
406 | AgentError.Image.DescribeImagegwFailed | - | |
407 | NotAuthorized | The request is not authorized by RAM. | |
500 | UnknownError | An unknown error occurred. | |
503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | The request has failed due to a temporary failure of the server. |
For a list of error codes, visit the Service error codes.