Meraki’s API has reworked considerably beginning with the adoption of Swagger, now often known as OpenAPI v2. The combination of the OpenAPI Specification has been essential in streamlining our API improvement course of and crafting a seamless expertise for builders.
Now, we’re taking a big leap ahead by adopting the OpenAPI v3 Specification. This replace is a sworn statement to our dedication to fostering a high-quality API contract, and equipping our developer group with essentially the most up-to-date instruments and applied sciences. With that mentioned, we’re excited to announce the rollout of OpenAPI v3 help for the Meraki Dashboard API!
So, what’s it used for?
- API Design and Growth: Design APIs in a typical, language-agnostic method to cut back misunderstandings and rework.
- API Documentation: Generate interactive, up-to-date API documentation that’s simple for builders to grasp and use.
- Code Era: Mechanically generate shopper and server code in lots of languages, making certain consistency between the API’s implementation and its documentation.
- API Testing and Validation: Create check circumstances and validate that the API’s implementation matches its design.
- API Administration and Governance: Standardize APIs for simpler administration and governance inside organizations.
New Use Circumstances Enabled by v3:
- Content material Negotiation: Outline totally different schema and examples for various media varieties, supporting a number of codecs like JSON and XML.
- Linking and Callbacks: Describe advanced, multi-step operations and outgoing ‘callback’ webhooks for asynchronous APIs and push notifications.
- Safety Enhancements: Assist advanced OAuth 2.0 flows and OpenID Join Discovery with versatile safety definitions.
- Higher Examples: Present a number of examples for request our bodies and responses to enhance API documentation.
The transition to OpenAPI v3 brings a number of nice stuff and new potentialities for builders. Listed here are among the preliminary enhancements we’re implementing out of the gate:
- Callback Assist for Async Operations: The introduction of callbacks in v3 paves the best way for higher dealing with of advanced, multi-step operations and outgoing ‘callback’ webhooks for asynchronous APIs and push notifications. This empowers builders to handle intricate, time-consuming duties extra effectively, bettering the general efficiency. Keep tuned as we undertake a few of these new options into the Dashboard API (trace: liveTools & actionBatches).
- Enhanced API Definitions: Offering API response schemas are crucial for strongly typed languages to make sure the information and kinds are as anticipated. OASv3 has enhanced these capabilities by offering versatile choices to outline dynamic, additive and conditional properties which the Dashboard API is making the most of. Creating SDKs to your favourite language must be simpler and extra dependable than ever earlier than.
- Improved Tooling and Validations: v3 introduces improved instruments and validation mechanisms that streamline the API design, improvement, and testing processes. These enhancements be certain that the API’s implementation aligns with its design, resulting in a strong and dependable API expertise.
Get Began with OpenAPI v3
Beginning with OpenAPI v3 help for the Meraki Dashboard API is simple. Go to our Meraki OpenAPI GitHub repository. There you will discover OpenAPI specs for the Meraki Dashboard API. Listed here are shortcuts to the v1 & v1-beta specs in JSON format if you wish to have a fast peak below the hood.
Alternatively, you possibly can discover the Developer Hub at Meraki.io for complete documentation, pattern code, and integration guides to start out making the most of the Meraki Dashboard API.
We sit up for listening to your OpenAPI v3 creations and tales with us – so please present feedback and suggestions beneath!