Move to API version v10.08 from v1 (v10.04) #62
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated code, tests to use api version v10.08 instead of v1 (v10.04) as it is removed from firmware version v10.12 and a 410 Gone message is received.
Release Notes: https://www.arubanetworks.com/techdocs/AOS-CX/10.12/RN/rn_6300-6400_10-12-0006.pdf
Page 10:
The REST v1 API are not supported in AOS-CX 10.10 or later releases.
However, when users made REST v1 requests, they would get expected
responses. As of 10.12, REST v1 will be deactivated, so any REST v1 calls
made to the switches will no longer give a 200 or 201 response, and will be
forbidden. Network admins that previous used REST v1 calls must update
them to use later REST versions