forked from docs/doc-exports
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
13 KiB
13 KiB
Querying a Specified API Version
Function
This API is used to query the version of a specified API.
Request Parameters
None
Example Request
GET https://{Endpoint}/v2.0
Response Parameters
Parameter |
Type |
Description |
|---|---|---|
resources |
Array of resource objects |
Specifies the resource object list. |
Example Response
{
"resources": [
{
"links": [
{
"href": "https://vpc.systems.com/v2.0/subnets",
"rel": "self"
}
],
"name": "subnet",
"collection": "subnets"
},
{
"links": [
{
"href": "https://vpc.systems.com/v2.0/networks",
"rel": "self"
}
],
"name": "network",
"collection": "networks"
},
{
"links": [
{
"href": "https://vpc.systems.com/v2.0/ports",
"rel": "self"
}
],
"name": "port",
"collection": "ports"
}
]
}
Status Code
See Status Codes.
Error Code
See Error Codes.
Parent topic: API Version Information