just to be sure....
The Document "Aruba Instant 8.6.0.x REST API Guide"
show everything that's today possible via REST API on a IAP ?
or did i miss something ?
How can i find out all the other api calls to configure the complete IAP via REST ?
Yes, that is correct. The Aruba Instant 8.6.0.x REST API Guide lists all the endpoints that are available to use using API. All available endpoints have been grouped in one of the three types:
1) Action2) Configuration
3) Monitoring (show command over API)The guide also gives more information on the login and logout method along with the payload to be used for each API endpoint.Moreover, complete IAP configuration over a REST interface can be achieved if the IAP is managed by Aruba Central.Thanks,Jay
It will be nice if there is more GET method for really get the configuration (and not the CLI ouput... not really usable for a machine !)
it would be very helpful if the API definition were available in OpenAPI format for importing into a Postman collection.
I'm finding that the 8.6 API guide is inaccurate in terms of even the basics of the login process.
When I try to access an 8.6 Instant cluster using the login as described in the guide, I get the following error:
$ curl "https://172.31.254.90:4343/rest/login" -H "Content-Type: application/json" --data-raw '("user": "admin", "passwd": "admin")' --insecure
"Error message": "Error in parsing input JSON parameters"
When attempting to craft the same with Postman, it includes --request GET in the curl command line, which gets me further along, but still throws an error on both curl and in Postman:
$ curl "https://172.31.254.90:4343/rest/login" --request GET --header "Content-Type: application/json" --data-raw '("user": "admin", "passwd": "admin")' --insecure
"message": "SID is missing or incorrect API name for login/logout"
What's going on here that the documentation is not addressing?
Running Instant 220.127.116.11 on the cluster.
You need to use a POST (and not a GET), do you have try to use Accept : Application/json ?
At Aruba, we believe that the most dynamic customer experiences happen at the Edge. Our mission is to deliver innovative solutions that harness data at the Edge to drive powerful business outcomes.
© Copyright 2021 Hewlett Packard Enterprise Development LPAll Rights Reserved.