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:
Here's the updated link for the one you referenced
https://learning.getpostman.com/docs/postman-for-publishers/run-in-postman/creating-run-button/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.