Find Usable Servers

Returns a list of servers this container could be deployed to.

Requires the containers-view permission.

Returns

Returns a collection of server resources this container is elibible to be deployed on, otherwise returns an Error.

GET /v1/containers/5b9c2a77b6393d0001eb45fd/servers/usable

Example Request
$ curl https://api.cycle.io/v1/containers/5b9c2a77b6393d0001eb45fd/servers \
-H
"Authorization: Bearer API_KEY"
\
-H
"X-HUB-ID: HUB_ID"
Example Response
{
"data": [
{
"id": "5b9c2a77b6393d0001eb45fd",
"hostname": "containerhostname-5455ab18d1d055d02365697f.c.5b9c2a77b6393d0001eb45fd.cycle.io",
"creator": {
"id": "5a232a77b6393d0001ac2df2",
"type": "account"
},
"hub_id": "5ccc2a2226393d1231eb4abd",
"provider": {
"identifier": "vultr",
"model": "202",
"location": "12",
"server": "23002344",
"init_ips": [
"54.55.40.233",
"2001:aaaa:ac01:aaaa:0110:01cc:fef7:3333"
]
},
"location_id": "5b9c2a77b6393d0001eb45fd",
"cluster": "production",
"features": {
"sftp": true,
"base_volume_gb": null
},
"constraints": {
"tags": [
"vultr",
"vultr-sjc",
"test",
"apitest",
"nosftp"
],
"allow": {
"overcommit": true,
"pool": true,
"services": true
}
},
"model_id": "5b9c2a77b6393d0001eb45fd",
"node_id": "5b9c2a77b6393d0001eb45fd",
"state": {
"changed": "2019-03-25T00:54:19.877Z",
"current": "live"
},
"events": {
"created": "2019-03-25T00:53:15.202Z",
"updated": "2020-07-16T17:56:19.181Z",
"deleted": "0001-01-01T00:00:00Z",
"provisioning": {
"started": "0001-01-01T00:00:00Z",
"completed": "0001-01-01T00:00:00Z"
}
}
}
]
}