List Server Instances

Lists all instances that are on the same server as this instance.

Returns

Returns a list of container instance resources, otherwise returns an Error.

GET /v1/server/instances

Example Request
$ curl --unix-socket /var/run/cycle/api/api.sock http://internal.cycle/v1/server/instances \
-H "x-cycle-token: $CYCLE_API_TOKEN"
Example Response
{
"data": [
{
"id": "3h2h4g4w1417597772g6e8k3",
"creator": {
"id": "3h2h4g4w1417597772g6e8k3",
"type": "account"
},
"hub_id": "3h2h4g4w1417597772g6e8k3",
"container_id": "3h2h4g4w1417597772g6e8k3",
"location_id": "3h2h4g4w1417597772g6e8k3",
"environment": {
"id": "5e1d3b9a4146380001f5a0d6",
"network_subnet": "f4f0",
"subnet": "1",
"ipv6": {
"ip": "fd00::f4f0:645b:1:1",
"cidr": "fd00::f4f0:645b:1:1/112"
},
"legacy": null,
"mac_addr": "96:7e:94:40:e7:ff",
"vxlan_tag": 18001
},
"stateful": null,
"provider": {
"identifier": "vultr",
"location": "3"
},
"server_id": "3h2h4g4w1417597772g6e8k3",
"ready_state": "active",
"hostname": "redis",
"service": null,
"state": {
"changed": "2020-01-23T00:02:21.16Z",
"job": {
"id": "",
"queued": "0001-01-01T00:00:00Z",
"queue": ""
},
"current": "running",
"health": null
},
"migration": null,
"events": {
"created": "2020-01-22T23:49:48.214Z",
"updated": "0001-01-01T00:00:00Z",
"deleted": "0001-01-01T00:00:00Z",
"first_started": "0001-01-01T00:00:00Z",
"started": "0001-01-01T00:00:00Z"
}
}
]
}