fbpx
GEThttps://api.spotinst.io/ocean/aws/k8s/launchSpec?oceanId={OCEAN_ID}&accountId={ACCOUNT_ID}

URL Parameters

Parameter Type Description
ACCOUNT_ID * String

The Spotinst accountId associated with your token.

Example: act-123abc
OCEAN_ID * String

Ocean cluster ID.

Response - 200

Body
Copied!
Downloaded!
{
    "request": {
		"id": "XXXXXXX-abce-XXXX-XXXX-XXX11111XXXX",
        "url": "/ocean/aws/k8s/launchSpec?oceanId=o-123",
        "method": "GET",
        "timestamp": "2019-02-19T18:58:50.247Z"
    },
    "response": {
        "status": {
            "code": 200,
            "message": "OK"
        },
        "kind": "spotinst:ocean:aws:k8s",
        "items": [
            {
                "id": "ols-123",
                "oceanId": "o-123",
                "labels": [
                    {
                        "key": "env",
                        "value": "test"
                    }
                ],
                "taints": [],
                "createdAt": "2019-01-29T21:57:31.000Z",
                "updatedAt": "2019-02-19T18:41:16.000Z"
            }
        ],
        "count": 1
    }
}