Listing Server Metadata

It is possible to access server metadata information without having to list all properties of the server. For example, if you want to use curl to list metadata for a server whose id is 1, you can do it in the following way:

$ curl -H "X-Auth-Token:999888777666" http://localhost:8774/v1.1/openstack/servers/1/metadata

The result should look similar to the output shown below:

{
  "metadata": {
    "Server Name": "Tornado"
  }
}

Notice that the GET method must be applied to the URL that ends with the /servers/id/metadata path.



loading table of contents...