Get server information with configuration drive

Method URI Description
GET /v2/{tenant_id}/servers/{server_id} Shows information for a specified server including the configuration drive extended attribute.

Normal response codes: 200

Request

This table shows the URI parameters for the get server information with configuration drive request:

Name Type Description
{tenant_id} String Project ID
{server_id} Uuid The UUID for the server of interest to you.

This operation does not require a request body.

Response

Example. Get server information with configuration drive: JSON response


{
	"server": {
		"accessIPv4": "",
		"accessIPv6": "",
		"addresses": {
			"private": [
				{
					"addr": "192.168.0.3",
					"version": 4
				}
			]
		},
		"config_drive": "",
		"created": "2013-02-04T13:17:50Z",
		"flavor": {
			"id": "1",
			"links": [
				{
					"href": "http://openstack.example.com/openstack/flavors/1",
					"rel": "bookmark"
				}
			]
		},
		"hostId": "8725fb615b191d8249a40f3e90d1efde88d914412e4edb2719176afd",
		"id": "dd3b0715-a3fc-43d8-bbd2-2720beb226fb",
		"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/dd3b0715-a3fc-43d8-bbd2-2720beb226fb",
				"rel": "self"
			},
			{
				"href": "http://openstack.example.com/openstack/servers/dd3b0715-a3fc-43d8-bbd2-2720beb226fb",
				"rel": "bookmark"
			}
		],
		"metadata": {
			"My Server Name": "Apache1"
		},
		"name": "new-server-test",
		"progress": 0,
		"status": "ACTIVE",
		"tenant_id": "openstack",
		"updated": "2013-02-04T13:17:51Z",
		"user_id": "fake"
	}
}