Infoblox now offers an interface to NIOS based on REST (REpresentational State Transfer). This API, which we’re calling WAPI (or Web-based API), is also called a RESTful web API and is available starting with NIOS release 6.6. This API can be used to query your NIOS environment or to build tools that interact with NIOS to automate your organization’s work processes.
Today we are releasing some tutorial code to help you get started using WAPI to interface with NIOS. These first samples are written in Perl and should help developers working with our PAPI interface come up to speed with the RESTful API. There are also sample programs available that show how to use the API in Java and Javascript. Over time, we will continue to add code samples and examples to show how to work with the API or explain best practices on common uses, and to expand our samples to other languages.
The RESTful API does not require client software and will work with your grid master without a need for any additional hardware. Because the API lives on the grid master, it will scale as your network grows and it will it will take advantage of the redundancy and high availability you build into your grid.
It enables clients to work with NIOS releases. The API is versioned, so you can build tools with confidence that future releases of NIOS won’t cause your applications to break. Existing versions of the API will be supported into some future releases to give you time to plan any updates to your applications and decide when to take advantage of the new capabilities.
The RESTful API uses HTTP methods for operations and supports input and output in JSON and XML, and it uses HTTPS (HTTP over SSL/TLS) as the transport mechanism. The server certificate used for the RESTful API is the same certificate used by NIOS for the GUI and PAPI.
The introduction to the WAPI and the sample code is available on this site. If you have questions or suggestions about future topics to be covered in our tutorials, you can discuss them in the forums. We’d love to hear your ideas on future code examples you’d find useful, how you are using the API to solve problems, and how you’d like to see the API grow and improve over time.