apigent export
apigent export
Write one request, one collection or every request to a file (or stdout) in apigent’s native format.
Synopsis
apigent export (--name <request> | --collection <name> | --all) [--output <file>] [--passphrase <pass>]A collection export includes the collection’s variables and request membership. Collection secrets are encrypted with --passphrase and can be imported with apigent import or apigent collection import.
Flags
| Flag | Short | Default | Description |
|---|---|---|---|
--name | -n | none | Export one request by name |
--collection | -c | none | Export an entire collection |
--all | -a | false | Export all requests |
--output | -o | stdout | Output file |
--format | --fmt | apigent | Export format (only apigent is supported) |
--passphrase | none | Passphrase for encrypting collection secrets |
Aliases
exp
Examples
Export one request to stdout
apigent export --name get-userShare a collection with its secrets
apigent export --collection payments-api --passphrase "$TEAM_SECRET" --output payments-api.gurlBack up everything
apigent export --all --output backup.gurlRelated commands
apigent import- Import requests and collection exportsapigent share- Encrypt an export to one person’s public key instead of a shared passphraseapigent collection-collection export/collection import- Credential storage - How passphrase exports are encrypted