List servers 3

Method URI Description
GET /v2/{tenant_id}/servers/detail Lists servers.

Normal response codes: 200, 203

Request

This table shows the URI parameters for the list servers request:

Name Type Description
{tenant_id} String Project ID

This operation does not require a request body.

Response

Example. List servers: JSON response


{
	"servers": [
		{
			"OS-DCF:diskConfig": "AUTO",
			"accessIPv4": "",
			"accessIPv6": "",
			"addresses": {
				"private": [
					{
						"addr": "192.168.0.3",
						"version": 4
					}
				]
			},
			"created": "2012-12-02T02:11:55Z",
			"flavor": {
				"id": "1",
				"links": [
					{
						"href": "http://openstack.example.com/openstack/
						flavors/1",
						"rel": "bookmark"
					}
				]
			},
			"hostId":
			"99428f32351a5d89d0f7727c6eec68c1777c545a0972aaac645508dc",
			"id": "05372e62-05b9-4ee2-9343-9a1fdf2a5fda",
			"image": {
				"id": "70a599e0-31e7-49b7-b260-868f441e862b",
				"links": [
					{
						"href": "http://openstack.example.com/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b",
						"rel": "bookmark"
					}
				]
			},
			"links": [
				{
					"href": "http://openstack.example.com/v2/openstack/servers/05372e62-05b9-4ee2-9343-9a1fdf2a5fda",
					"rel": "self"
				},
				{
					"href": "http://openstack.example.com/openstack/servers/05372e62-05b9-4ee2-9343-9a1fdf2a5fda",
					"rel": "bookmark"
				}
			],
			"metadata": {
				"My Server Name": "Apache1"
			},
			"name": "new-server-test",
			"progress": 0,
			"status": "ACTIVE",
			"tenant_id": "openstack",
			"updated": "2012-12-02T02:11:56Z",
			"user_id": "fake"
		}
	]
}