postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.86k stars 840 forks source link

Adding plugins to Postman #10666

Open ashis0013 opened 2 years ago

ashis0013 commented 2 years ago

Describe your current workflow

I want to add a custom plugin to filter the response json.JSON

Describe your ideal workflow

The JSON response coming from an API request has lots of fields and data in it. I want to filter some fields out of them, currently, I am copying the JSON response and running a python script to filter out the fields. I want to know if I can add such functionalities as plugins to the postman?

Describe alternatives you've considered

No response

Additional context

No response

giridharvc7 commented 2 years ago

@ashis0013 You can use Visualizers to achieve this. More on them here

DannyDainton commented 2 years ago

@ashis0013 I created this basic Visualization a while ago that uses JSONpath to filter down the response data.

https://user-images.githubusercontent.com/17089546/154260415-a26083d7-1ee1-40d9-be45-a3bc9dbdd1ec.mp4

https://www.postman.com/dannysbattlefield/workspace/danny-dainton-s-public-workspace/collection/8213448-f7eab695-db23-4ecc-b000-3329c992ec59

DanielBoulerice commented 2 years ago

Great idea @ashis0013! I had the same idea but concerning authentication functionality with the purpose of enabling Kerberos.