Version-specific entry point
You can create a list of all supported API versions and their entry points.
First, the client must retrieve the version-specific entry-point URI. A GET request on the API entry-point URI (
http://localhost:8082/api
) returns an array, named version,
which lists all supported API versions and their entry-point URIs.
GET http://localhost:8082/api
Status Code: 200 OK
{
"version": [
{
"href": "http://localhost:8082/7.0/api",
"rel": "7.0"
}
{
"href": "http://localhost:8082/7.1/api",
"rel": "7.1"
}
]
}