I created some API documentation in Confluence and would like to link to a Postman collection (already saved) so the audience can actively test the API examples. Can anyone advise me on the best way to do this? I notice that Atlasssian uses links to Postman for their API documentation.
I used to 1) export boht the collection and the environment and place the *.json files in a cloud drive, 2) added a 'file' as a link to my page:
But if you go to: https://learning.getpostman.com/docs/postman_for_publishers/run_button/creating_run_button/ you can "embed" a dynamic button into a page.
After I copied that content, I added an HTML macro
I then pasted the contents of the HTML from Postman and now I get:
OK, seems like I need to create the link from Postman. They have simple instructions on how to embed the link (which is what I need to do for Confluence) which creates a button. I copied the generated code for the button in Postman using the markdown option, then in Confluence I used the markup macro and pasted the code. It works, creates a Run in Postman button for your collection, and when clicked users are given the option of opening Postman collection using Chrome browser or their OS. I believe it installs the Postman app if they don't already have it installed.
@Deanne Gittens Is the Postman collection a web page? If yes, i think you can use something like iframe to include it onto Confluence
Please refer this document for further information https://confluence.atlassian.com/confkb/how-to-put-an-iframe-into-confluence-598837531.html
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event