2.6. Metadata

The following operations enable access to metadata after a server or image has been created.

MethodURIDescription
GET/v2/{tenant_id}/servers/{server_id}/metadata

Shows metadata for a specified server.

PUT/v2/{tenant_id}/servers/{server_id}/metadata

Creates or replaces metadata for a specified server.

POST/v2/{tenant_id}/servers/{server_id}/metadata

Updates metadata items by key for a specified server.

GET/v2/{tenant_id}/servers/{server_id}/metadata/{key}

Shows details for a metadata item by key for a specified server.

PUT/v2/{tenant_id}/servers/{server_id}/metadata/{key}

Sets a metadata item by key for a specified server.

DELETE/v2/{tenant_id}/servers/{server_id}/metadata/{key}

Deletes a metadata item by key for a specified server.

GET/v2/images/{image_id}/metadata

Shows metadata for a specified image.

PUT/v2/images/{image_id}/metadata

Creates or replaces metadata for a specified image.

POST/v2/images/{image_id}/metadata

Updates metadata items by key for a specified image.

GET/v2/images/{image_id}/metadata/{key}

Shows details for a metadata item by key for a specified image.

PUT/v2/images/{image_id}/metadata/{key}

Creates or updates a metadata item by key for a specified image.

DELETE/v2/images/{image_id}/metadata/{key}

Deletes a metadata item by key for a specified image.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...