How to update graphgql api automaticaly from file

I have a graphql file which is regulary updated. In postman I went to API -> create new -> create from file to upload my graphql API. But API in postman won’t update if I change my graphql file, so every time I need to create new API and choose file again. Are there any ways to make it faster? Maybe some bash script for updating existing API?

Hey @birukov.aleksandr48 and welcome here! :smile:

You will soon be able to sync your API schema with a file on a github repository, see our roadmap for reference:

In the meantime, you can use the Postman cloud API to trigger an update of your API as soon as your file is updated, see our api docs here:

1 Like