forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
8.8 KiB
8.8 KiB
Response Parameters for Querying ECSs
Response parameters are as follows.
Parameter description
Parameter |
Type |
Description |
---|---|---|
servers |
List data structure |
Specifies the ECSs to be queried. For details, see Table 1. |
servers_links |
Array of objects |
Specifies the link of the next page in pagination query. For details, see Table 2. |
Parameter |
Type |
Description |
---|---|---|
name |
String |
Specifies the ECS name. |
id |
String |
Specifies the unique identifier of the ECS. |
links |
List data structure |
Specifies ECS shortcut links. For details, see Table 2. |
links field data structure description
Parameter |
Type |
Description |
---|---|---|
rel |
String |
Specifies the shortcut link marker name. |
href |
String |
Specifies the shortcut link. |
Example response
{ "servers": [ { "id": "616fb98f-46ca-475e-917e-2563e5a8cd19", "links": [ { "href": "http://openstack.example.com/v2/openstack/servers/616fb98f-46ca-475e-917e-2563e5a8cd19", "rel": "self" }, { "href": "http://openstack.example.com/openstack/servers/616fb98f-46ca-475e-917e-2563e5a8cd19", "rel": "bookmark" } ], "name": "new-server-test" } ] }
Parent topic: Appendix