How do I use the Postman API with Git Connected APIs?

Hi all! I’ve searched for similar topics, but unfortunately, I haven’t found anything directly related to clarifying our roadblock.

Currently, we have a GitHub integration that connects our Postman workspace to our GitHub repo, where we store our API schemas.
However, we want to automate pulling the API schema updates from the repo into our workspace and sync our collections with the Postman API.

However, the Postman API does not work for Git connected APIs.

First, we tried creating an API, but it lacks the functionality to connect it with a GitHub repository. So, we tried the Get API endpoint, but it does not return the schema information since it’s a Git-connected API, so we’re unable to create schema file for our git based APIs.

Therefore, since we cannot create a schema file, there is no way to retrieve a schemaId, and we cannot update an API without schemaId. We also tried the Postman Sync Collection, specifically the schema endpoint, and this does not work for Git linked APIs, either.

I assume this was intentional from Postman’s perspective, so they don’t store our collectionIds or apiIds in their database.

I am curious if anyone has any workarounds regarding Git-linked APIs and an alternative solution to automating workspace updates for their API schemas?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.