11-07-2022 02:55 AM
Recently Cisco joined the OpenAPI initiative: https://www.openapis.org/blog/2022/10/18/cisco-joins-openapi-initiative
This lead me to believe that I could somehow import the DNA Center API collection into Postman for easy testing, based on an OpenAPI index.json file.
After looking for some time, I haven't found a way to do this, except for manually recreating the collection myself.
Can anyone guide me in the right direction? Is this even possible?
11-07-2022 03:38 AM
have you look at GIT :
https://github.com/OAI/OpenAPI-Specification/tree/main/examples/v3.0
11-07-2022 05:23 AM
I'm not looking for the OpenAPI specification itself. I'm looking for the JSON or YAML format definition of the DNA Center API specifically. This definition describes all the paths/resources, methods, responses and models in use for DNAC.
OpenAPI-compliant APIs typically have an index file that describes the API, in JSON or YAML format. This file can simply be imported into Postman, and makes it easier to test the API than using the built-in SDK in the DNAC UI.
I have not found this index yet, and this is what I'm looking for.
11-07-2022 07:53 AM
@StevenJacobsHimself I think you are looking for this https://pubhub.devnetcloud.com/media/sd-wan-docs/docs/openapi/vmanageapi_209.json which is available for SD-WAN. As far as i know the swagger json file has not been available to download in any of the versions for DNA-C.
Hope this helps.
11-07-2022 08:28 AM
Thanks for your answer. I was indeed able to find it for Meraki and Cisco SD-WAN (Viptela) solutions, which is why I hoped it would exist for DNAC as well. Hopefully Cisco will make this available soon.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide