- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Paging is not supported for this WAPI version
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2021 06:25 AM
Hello, I am interacting with an infoblox server api that appears to be using version 1.1 of the api. I was wondering where i could find the relevant documenation for that version? I was reading the latest docs but it seems that it isnt compatible with the version I am interacting with.
When I run
http --verify no https://grid-master/wapi/v1.1/network\?_paging=1\&_return_as_object=1\&_max_results=1
I get
{ "Error": "AdmConProtoError: Paging is not supported for this WAPI version.", "code": "Client.Ibap.Proto", "text": "Paging is not supported for this WAPI version." }
But if I try to not set the paging for the api I get
{'Error': 'AdmConProtoError: Result set too large (> 1000)', 'code': 'Client.Ibap.Proto', 'text': 'Result set too large (> 1000)'}
I was wondering if anyone knew of a solution that could help me extract all records or api documentation to the specific version for paging
Solved! Go to Solution.
Re: Paging is not supported for this WAPI version
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2021 06:38 AM
What version of code are you on?
Try this:
http --verify no https://grid-master/wapi/v2.7/network\?_paging=1\&_return_as_object=1\&_max_results=1
Twitter: https://twitter.com/sifbaksh
https://sifbaksh.com
Re: Paging is not supported for this WAPI version
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2021 07:06 AM
Hello,
Adding to the discussion, you can check all the WAPI versions supported by your grid using this command:
curl -k --location --request GET 'https://grid-master/wapi/v1.1/?_schema' --header 'Authorization: Basic YWRtaW46aW5mb2Jsb3g='
In the response section, you will find the list of all the supported objects and supported versions.
Hope this helps!
Thanks and Regards
Vedant Sethia
Re: Paging is not supported for this WAPI version
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2021 07:29 AM
Thanks everyone for the quick feedback! I was provided the version v1.1 from someone familiar with the system, and when I was reading the documentation I attempted to use v2.11 like it stated but got back a
Version 2.11 not supported
Which gave me the impression I was stuck using v1.1
However, trying 2.7 as suggested, worked and using the list schemas supported also worked and allowed me to use as high as v2.10. Thank you all!
Re: Paging is not supported for this WAPI version
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2021 04:19 AM
This syntax works in Postman
https://{{grid_master}}/wapi/v2.10.5/network?_max_results=1000&_paging=1&_return_as_object=1