Rest Api Wrapper
usage: rest_api_wrapper.py {show|sync|find} [--verbose [VERBOSE]] [--env {dev|qa|uat|prod}] [--help]
Subcommands
|
Show an object |
|
Sync group members |
|
Find objects |
Optional arguments
|
Show this help message and exit |
Common options
|
Increase logging verbosity (can specify multiple times) |
|
Environment to connect to (default: |
Subcommands
Subcommand: show
Show an object
usage: rest_api_wrapper.py show {foo|bar|baz} [--verbose [VERBOSE]] [--env {dev|qa|uat|prod}] [--help] [--ids ID [ID ...]]
Positional arguments
|
The type of object to show |
Optional arguments
|
Show this help message and exit |
|
The IDs of the objects to show |
Common options
|
Increase logging verbosity (can specify multiple times) |
|
Environment to connect to (default: |
Subcommand: sync
Sync group members
usage: rest_api_wrapper.py sync [--verbose [VERBOSE]] [--env {dev|qa|uat|prod}] [--help] [--dry-run] [--all] [--role {all|admin|user}] [--group GROUP]
Optional arguments
|
Show this help message and exit |
|
Print the actions that would be taken instead of taking them |
Common options
|
Increase logging verbosity (can specify multiple times) |
|
Environment to connect to (default: |
Mutually exclusive options
|
Sync all groups |
||||
Optional arguments
|
Subcommand: find
Find objects
usage: rest_api_wrapper.py find {foo|bar|baz|bazs} [--verbose [VERBOSE]] [--env {dev|qa|uat|prod}] [--help] [--limit LIMIT]
Subcommands
|
Find foo objects |
|
Find bar objects |
|
Find baz objects |
|
Alias of: baz |
Optional arguments
|
Show this help message and exit |
|
The number of results to show (default: |
Common options
|
Increase logging verbosity (can specify multiple times) |
|
Environment to connect to (default: |
Subcommand: find foo
Find foo objects
usage: rest_api_wrapper.py find foo QUERY [--verbose [VERBOSE]] [--env {dev|qa|uat|prod}] [--help] [--limit LIMIT]
Positional arguments
|
Find foo objects that match the specified query |
Optional arguments
|
Show this help message and exit |
|
The number of results to show (default: |
Common options
|
Increase logging verbosity (can specify multiple times) |
|
Environment to connect to (default: |
Subcommand: find bar
Find bar objects
usage: rest_api_wrapper.py find bar [--verbose [VERBOSE]] [--env {dev|qa|uat|prod}] [--help] [--limit LIMIT] [--pattern PATTERN] [--all]
Optional arguments
|
Show this help message and exit |
|
The number of results to show (default: |
|
Pattern to find |
|
Show all (default: only even) |
Common options
|
Increase logging verbosity (can specify multiple times) |
|
Environment to connect to (default: |
Subcommand: find baz
Find baz objects
usage: rest_api_wrapper.py find baz [--verbose [VERBOSE]] [--env {dev|qa|uat|prod}] [--help] [--limit LIMIT] [--foo NAME] [--bar ID]
Optional arguments
|
Show this help message and exit |
|
The number of results to show (default: |
Common options
|
Increase logging verbosity (can specify multiple times) |
|
Environment to connect to (default: |
Filter Choices (mutually exclusive)
|
Find baz objects related to the foo object with the specified name |
|
Find baz objects related to the bar object with the specified ID |
Subcommand: find bazs
Find baz objects
usage: rest_api_wrapper.py find bazs [--verbose [VERBOSE]] [--env {dev|qa|uat|prod}] [--help] [--limit LIMIT] [--foo NAME] [--bar ID]
Optional arguments
|
Show this help message and exit |
|
The number of results to show (default: |
Common options
|
Increase logging verbosity (can specify multiple times) |
|
Environment to connect to (default: |
Filter Choices (mutually exclusive)
|
Find baz objects related to the foo object with the specified name |
|
Find baz objects related to the bar object with the specified ID |