Querying the Metadata of a Specified Image (Discarded)
Function
This API is used to query the metadata of the specified image.
This API has been discarded. Use the API described in Querying Image Metadata (Native OpenStack API).
URI
GET /v2.1/{project_id}/images/{image_id}/metadata
Parameter |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Specifies the project ID. For details about how to obtain the ID, see Obtaining a Project ID. |
image_id |
Yes |
Specifies the image ID. |
Request
None
Response
Table 2 describes the response parameters.
Example Request
GET https://{endpoint}/v2.1/9c53a566cb3443ab910cf0daebca90c4/images/17a1890b-0fa4-485e-8505-14e294017988/metadata
Example Response
{ "metadata": { "__os_version": "Suse Linux Enterprise 12.2 64bit", "__image_source_type": "uds", "__imagetype": "gold", "__os_bit": "64", "__os_type": "Suse", "__isregistered": "true", "__image_location": "192.168.80.11:5080:pcsimsbeta:suse12.2-addx710-05-11", "virtual_env_type": "Ironic", "__platform": "Suse", "__support_o3s": "true" } }
Returned Values
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot