REST API versions

A switch can support multiple REST API versions on the same ArubaOS-CX software release. The version declared in the REST request must match one of the versions of the REST API supported on the switch. Resources, attributes, and behaviors might differ among versions of the REST API and ArubaOS-CX software release.

Each REST API version has its own REST API Guide.

The REST API version is included in the URI used in REST requests.

In the following example, the REST API version is v10.04:

https://192.0.2.5/rest/v10.04/system

In the following example, the REST API version is v1:

https://192.0.2.5/rest/v1/system

When URIs are included in scripts, the prefix information might be declared somewhere other than in every URI used in the script.