capabilities.work

Fork and Merge a Collection

A 3-step recipe with Postman. We can help you get access.

Recipe · 3 steps

Fork and Merge a Collection

with Postman

Fork a source collection and merge the fork back into it.

  1. Create a workspace to receive the forked collection.
  2. Fork the source collection into the newly created workspace, keeping a link to the source for the later merge.
  3. Merge the forked collection back into the source collection using the requested strategy.
What you'll need to have ready
  • sourceCollectionId: The ID or UID of the collection to fork.
  • forkWorkspaceName: The name of the workspace to create for the fork.
  • forkLabel: The label to apply to the fork.
  • mergeStrategy: The merge strategy (deleteSource or updateSourceWithDestination).
For your developer

Arazzo workflow postman:fork-and-merge-collection, 3 operations: createWorkspace → createCollectionFork → mergeCollectionFork. Specs on APIs.io.