Importing the Container Security APIs Swagger runscope file into Postman

Document created by Jeff Leggett Employee on Oct 19, 2018Last modified by Robert Dell'Immagine on Oct 26, 2018
Version 3Show Document
  • View in full screen mode

If using postman to test and develop with APIs, it's useful to have the complete set of Qualys APIs in Postman for a given Qualys app.  Now that the apps are moving to Swagger definitions, this becomes trivial to do.

 

The current Swagger file for US Platform 2 is https://qualysguard.qg2.apps.qualys.com/csapi/swagger-ui.html and the runscope file for that would be https://qualysguard.qg2.apps.qualys.com/csapi/v2/api-docs?group=Container%20Security%20APIs%20V1.1. I'll update this doc as we roll out CS across all platforms but you should be able to extrapolate easily enough by just changing API endpoint.

 

Going to that link will be a large page of JSON, so you can just copy it into your buffer.

 

 

Now PASTE that into the Postman Import tool.  In Postman, go to File -> Import -> Paste Raw Text.

 

 

And click Import.  You now have a new collection called Container Security APIs.  Go forth and build cool stuff!

 

References:

Data formats | Postman Learning Center 

1 person found this helpful

Attachments

    Outcomes