leapview api
Call any generated LeapView API operation
Usage
leapview api [flags]
Machine-readable: JSON · Markdown
Options
| Flag |
Type |
Default |
Description |
-h, --help |
bool |
false |
help for api |
Inherited options
| Flag |
Type |
Default |
Description |
--no-input |
bool |
false |
disable terminal prompts and automatic browser opening |
Subcommands
call: Call a generated API operation
describe: Describe a generated API operation
list: List generated API operations
call
Call a generated API operation
Usage
leapview api call <operation> [flags]
Behavior
| Side effect |
Confirmation |
dynamic |
never |
Machine-readable: JSON · Markdown
Options
| Flag |
Type |
Default |
Description |
--body-file |
string |
`` |
request body file |
--body-json |
string |
`` |
request JSON body |
--content-type |
string |
`` |
request body content type |
-h, --help |
bool |
false |
help for call |
--idempotency-key |
string |
`` |
stable retry key for mutating operations |
--if-match |
string |
`` |
strong resource revision for commands requiring concurrency control |
--path |
stringArray |
[] |
path parameter as key=value; repeatable |
--query |
stringArray |
[] |
query parameter as key=value; repeatable |
--target |
string |
`` |
LeapView server URL |
--token |
string |
`` |
API token |
Inherited options
| Flag |
Type |
Default |
Description |
--no-input |
bool |
false |
disable terminal prompts and automatic browser opening |
describe
Describe a generated API operation
Usage
leapview api describe <operation> [flags]
Behavior
| Side effect |
Confirmation |
read |
never |
Machine-readable: JSON · Markdown
Options
| Flag |
Type |
Default |
Description |
-h, --help |
bool |
false |
help for describe |
Inherited options
| Flag |
Type |
Default |
Description |
--no-input |
bool |
false |
disable terminal prompts and automatic browser opening |
list
List generated API operations
Usage
leapview api list [flags]
Behavior
| Side effect |
Confirmation |
read |
never |
Machine-readable: JSON · Markdown
Options
| Flag |
Type |
Default |
Description |
-h, --help |
bool |
false |
help for list |
Inherited options
| Flag |
Type |
Default |
Description |
--no-input |
bool |
false |
disable terminal prompts and automatic browser opening |