Review API collection changes in pull requests
Once a collection sits in a repository, a careless edit can break every pipeline that runs it. Teams that already protect main and review code want the same for the requests their tests depend on. Requestarium can push a collection through a pull request, and it writes a summary of the change so a reviewer doesn't have to read YAML to understand it.
Turn it on
A workspace owner or admin opens the collection's Git sync dialog and turns on Push via pull request for the link. It's per link and off by default.
From then on a push:
- checks the linked branch is still at the commit the collection was compared with (otherwise: "the branch has new commits; pull first");
- creates a branch named like
requestarium/sync-payments-api-20261119-101500; - commits the changed files there with your message;
- opens a pull request into the linked branch, titled with the first line of the message.
It works on GitHub, GitLab, Bitbucket, Azure DevOps, Gitea and Forgejo. On AWS CodeCommit Requestarium creates the branch only; open the pull request in the AWS console or with aws codecommit create-pull-request.
While the pull request is open
The sync dialog shows the pull request's number, title and link, with Check state and Forget.
- Pushing again adds a commit to the same branch. No second pull request.
- A change you push and then undo in the collection is taken back on the branch by the next push.
- Commits reviewers add to the branch are kept, unless they touch a file your next push writes.
When the pull request is merged, the link notices the next time someone opens the dialog, presses Check state or pushes. If the branch now holds exactly what the collection has, the collection is simply up to date; if a reviewer changed something on the way, it shows as incoming and you pull it like any other change. A pull request closed without merging is forgotten, and your changes stay in the collection for the next push.
What reviewers see
Every push writes a change summary. In a pull request it goes into the description; on a direct push it goes under the commit message:
### Change summary
**Orders API**: 1 request added, 1 changed.
**Requests**
- added `DELETE` **Cancel order**
- changed `GET` **List all orders**: renamed from "List orders", URL, auth (none → Bearer), pre-request scriptIt names what changed (method, URL, body, docs, auth type, each script, headers, query parameters, variables) for requests, folders, environments and the collection itself. A drag-and-drop reorder alone isn't listed.
It never quotes values: no URLs, bodies or header values. The file diff is where a reviewer reads those.
Credentials present
The summary flags a request that has a typed value in a header named like a credential (Authorization, X-Api-Key, a cookie, a token) and an environment variable that looks like a credential, has a value and isn't marked secret. Those values would be readable in the repository, so the line ends with credentials present. Credentials typed in the Authorization tab and secret variables are never written as values, so they aren't flagged.
The Copy change summary button in the push section copies the full Markdown, for a ticket or a pull request you open yourself.
From the CLI and pipelines
requestarium sync push "Orders API" --pr --message "Add cancel order"--pr pushes once through a pull request whatever the link's setting, and prints the pull request's address. With --json, the report has a pullRequest object with its branch, number, URL and state.
Optional: a commit status
A repository can ask for a commit status too, in .requestarium/sync.yaml:
version: 1
review:
summary: true
status: trueEach push then posts a requestarium/sync status with the summary's first line and a link to the collection. It is always "success": it informs, it doesn't judge.