- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Create a postman collection of example REST api calls
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2021 12:19 PM
I am going to go out on a limb and assume that everybody here is already aware of the tool Postman. I was thinking that it would be really helpful if a postman collection full of example and REST api examples was available for users to download from downloads. Or even in this community board. Just my two cents.
Re: Create a postman collection of example REST api calls
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2021 12:21 PM
Hi,
This is already available: https://blogs.infoblox.com/community/getting-started-with-wapis-using-postman/
Let me know if any new examples need to be added.
Regards,
Krishna Vasudevan
Re: Create a postman collection of example REST api calls
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2021 11:54 AM
Deletion of a DHCP lease would be great. It would be nice to have in the docs as well, but the API collection has been terrific!
Are there any sandboxes available for the general public?
Re: Create a postman collection of example REST api calls
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2021 12:57 PM
Learning Mock Server in Postman and see if that can build a sandbox.
I know or Product Management team is working on that for us
Twitter: https://twitter.com/sifbaksh
https://sifbaksh.com
Re: Create a postman collection of example REST api calls
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2021 02:56 PM
I would like a better understanding of Structs vs. Objects so having examples using Structs would be great. Specifically, pulling NTP (Grid & Member) data would be very helpful.
Re: Create a postman collection of example REST api calls
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2021 11:32 PM
Hi,
You can get the NTP setting at the grid level using the following API:
curl -k -u uname:pwd "https://grid-master/wapi/v2.11/grid?_return_fields%2B=ntp_setting"
For the member NTP settings, you can use the below API:
curl -k -u uname:pwd "https://grid-master/wapi/v2.11/member?_return_fields%2B=ntp_setting"
Objects are the API endpoints and Structs are the format of the parameters that are returned, when not a string/int.
Hope this helps,
Krishna Vasudevan
Re: Create a postman collection of example REST api calls
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2021 07:50 AM
Hello Krishna,
Thank you for your quick reply. That worked!
My follow up (and more important) question is as follows:
From the WAPI Documentation (linked from the Grid), how would one be able to come up with your answer?
I see this:
- grid:ntp : The Grid Network Time Protocol (NTP) settings structure.
- member:ntp : The member Network Time Protocol (NTP) settings structure.
Said differently, if there is a particular syntax I could follow, I could figure out other things on my own (you would be teaching me how to fish).
I had to figure out logging categories on my own
NOTE: The WAPI Documentation needs to change loggingcategories to logging_categories
I came up with this:
https://{{grid_master}}/wapi/v2.10.5/member:dns?_return_fields%2b=logging_categories
When I compare the syntax of the GET for logging_categories and NTP, they don't follow a specific pattern which makes it difficult to use the API.
Re: Create a postman collection of example REST api calls
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2021 08:47 AM - edited 06-14-2021 08:48 AM
Note that logging_categories is a field, and loggingcategories is a structure.
You can ask for the schema of an oject, and all the available fields will be returned.
For example:
https://{{grid_master}}/wapi/v2.10.5/member:dns?_schema
will return all the available fields for the Member :: DNS object:
... { "is_array": false, "name": "logging_categories", "overridden_by": "use_logging_categories", "standard_field": false, "supports": "rwu", "type": [ "grid:loggingcategories" ] }, ...
Note that loggingcategories is a structure.
Think of an object is a "thing", such as a DNS record, a member (appliance), or a member's DNS properties.
Think of a field as a setting, such as a hostname, an IP address or a more complex setting ( a structure).
Many field types are a simple string. Some field types are a complex structure containing several strings, integers, boolean variables, or object references.
Re: Create a postman collection of example REST api calls
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2022 11:28 PM
Hi Krishna,
Could you please give few examples to update RPZ rulesets using postman?
Aneesh
HCL
Re: Create a postman collection of example REST api calls
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2022 04:52 AM
Hi Aneesh,
Some of the RPZ use cases are covered in this document (page 38). Let me know if you are looking for anything specific - I can share the API calls with you.
Regards,
Krishna
Re: Create a postman collection of example REST api calls
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2022 08:50 PM
Hi Kavitha,
The current senario is we were unable to generate new reports and unable to download the result for the inbuilt reports.
we can only log in to the reporting server using postman.
could you pleaSe help me with the latest API calls for generating a report on the dashboard ,or to download a report from the dashboard.
Regards,
Aneesh
Re: Create a postman collection of example REST api calls
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2022 02:48 AM
Hi Team,
Any update on my previous question?
Regards,
Aneesh R.
@Aneesh-R wrote:Hi Kavitha,
The current senario is we were unable to generate new reports and unable to download the result for the inbuilt reports.
we can only log in to the reporting server using postman.
could you pleaSe help me with the latest API calls for generating a report on the dashboard ,or to download a report from the dashboard.
Regards,
Aneesh
Re: Create a postman collection of example REST api calls
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2022 04:20 AM
Hi Kavita,
Any updates on this, we tried following the document :- https://blogs.infoblox.com/community/getting-started-with-wapis-using-postman/. We can only login to the Infoblox reporting applinace. we were unable to fetch any reports from the reporting server or create any reports using the postman or any other means of API.
Could you please share us with the latest documentation we are on NIOS 8.5.2.
Regards,
Aneesh R.
Re: Create a postman collection of example REST api calls
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2022 04:47 AM
Hi Kavita,
Any updates on this, we tried following the document :- https://blogs.infoblox.com/community/getting-started-with-wapis-using-postman/. We can only login to the Infoblox reporting applinace. we were unable to fetch any reports from the reporting server or create any reports using the postman or any other means of API.
Could you please share us with the latest documentation we are on NIOS 8.5.2. we are stuck with this for our dashboard creation in solarwinds.
Regards,
Aneesh R.
Re: Create a postman collection of example REST api calls
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 11:34 PM
Hello Krishna,
thank you for your helpful work, I try to import the environment file on Postman Version Postman v10.6.7 and is fail. Could you help me?
THX and Kind Regards
Valentin