adobe-apiplatform / umapi-documentation

Documentation Development for User Management API
https://adobe-apiplatform.github.io/umapi-documentation/
MIT License
13 stars 16 forks source link

adding Postman collection of sample UMAPI calls - fixes #58 #59

Closed Luci2015 closed 1 year ago

adorton-adobe commented 2 years ago

This is fantastic and I think we should plan to get it merged.

One question - will this work with the Postman environment you can download from the developer console? When I installed your collection I couldn't figure out a way to merge them automatically. I just copied and pasted the stuff from the environment.

Luci2015 commented 2 years ago

I do not know if you can merge between global environment variables and local collection variables. Thing is, I embedded the "obtain access token" call from Developer Portal, but because the pre-request script was referencing the global variables, I modified the script to look for local collection variables instead (pm.collectionVariables vs pm.environment) so that I could export the collection with collection variables. Also, I added the UMAPI_ prefix as well, just to be more clear on the purpose it is used for.

rwunsch commented 1 year ago

This is great! I was looking right now for exactly that collection - and initially did not find it. Some Slack messages later, I was here. Definitely a commit to be added!!

rwunsch commented 1 year ago

Thanks @lesavage ! That is super helpful! :)