REST API - get

esx settings clusters depot overrides: get

Returns the information about currently configured depot overrides for a given cluster.

Request:

HTTP request

GET https://{server}/api/esx/settings/clusters/{cluster}/depot-overrides

Path Parameters

Name Type Description
Required
cluster string Identifier for the cluster.

Response:

HTTP Status Code: 200

Response Body Structure:

{
    "depots"[
        {
            "location""http://myurl.com"
        },
        {
            "location""http://myurl.com"
        }
    ]
}

Headers:

None

Type:

Name Type Description
bold = required
- info Information about currently configured depot overrides for a given cluster.
-.depots depot[] List of the depot overrides.

-.depots[].location URI Location of the depot override. This could be a location of zip file or location to an index.xml file.

Errors:

HTTP Status Code Type Description
401 unauthenticated if the caller is not authenticated.
404 not_found If there is no cluster associated with cluster in the system.
503 service_unavailable If the service is not available.
500 error If there is some unknown internal error. The accompanying error message will give more details about the failure.