Querying ECS Metadata
Function
This API is used to query ECS metadata.
URI
GET /v2.1/{project_id}/servers/{server_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. |
|
server_id |
Yes |
Specifies the ECS ID. |
Pagination query is not supported.
Request
None
Response
Table 2 describes the response parameters.
Example Request
Query metadata details of a specified ECS.
GET https://{endpoint}/v2.1/9c53a566cb3443ab910cf0daebca90c4/servers/998af54b-5762-4041-abc1-f98a2c27b3a2/metadata
Example Response
{
"metadata": {
"wj": "True"
}
}
Returned Values
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.