HTTP 404 error "Object not found" on object with "bridge/" in URI Path

Symptom

A request was made to a switch running ArubaOS-CX version 10.03 or later using a REST v1 URI that contains bridge/ in the URI path. The request returns response code 404 and the response body contains the following text string:

Object not found

Cause

The resource does not exist in the system. The URI in the request is incorrect.

The bridge collection was eliminated from the REST v1 API in ArubaOS-CX version 10.03.

Action
Remove the following from the URI and retry the request:

bridge/

Example of getting the list of VLANs for a switch running ArubaOS-CX version 10.02:

GET "https://192.0.2.5/rest/v1/system/bridge/vlans"

Example of getting the list of VLANs for a switch running ArubaOS-CX version 10.03:

GET "https://192.0.2.5/rest/v1/system/vlans"