Imported from acedatacloud/skills (
skills/postman-publisher/SKILL.md). Install upstream withnpx skills add acedatacloud/skills --skill postman-publisher. Copyright stays with the author (Apache-2.0).
Postman public API publisher
The connected account supplies $POSTMANPUBLISHER_API_KEY and
$POSTMANPUBLISHER_WORKSPACE_ID. Prepare a curated Postman Collection v2.1
JSON file with working examples. Do not copy production keys, customer data, or
secret headers into the collection. Use {{api_key}} with an empty default.
SCRIPT="$SKILL_DIR/scripts/postman_publisher.py"
python3 "$SCRIPT" sync --collection-file collection.json
# After reviewing the complete collection and target public workspace:
python3 "$SCRIPT" sync --collection-file collection.json --confirm
# Future updates use the collection ID returned by the first sync:
python3 "$SCRIPT" sync --collection-file collection.json --collection-id UUID --confirm
Dry-run validation makes no network request. A confirmed sync first reads the
workspace and refuses to write unless its type is public. It then creates or
replaces one collection and reads it back. A successful API readback means the
collection is in the public workspace; verify the actual anonymous public URL
before claiming API Network discoverability or recording an artifact.
Official references: publish a public API, create a collection, replace a collection.
