Referenceoo CLI
oo sessions
OpenOrange Code session records; oo code is the simpler way.
OpenOrange Code session records; oo code is the simpler way. These commands call the /api/v1/code/sessions routes; oo api routes --path /api/v1/code/sessions shows their inputs and permissions.
oo sessions list
List sessions
oo sessions list [options]| Argument | Required | Default | Choices | Description |
|---|---|---|---|---|
--query NAME=VALUE | no |
It also takes the connection options.
oo sessions get
Show one by ID
oo sessions get [options] id| Argument | Required | Default | Choices | Description |
|---|---|---|---|---|
id | yes | ID from oo sessions list | ||
--output OUTPUT | no | write response to a protected file (required for a new credential) | ||
--overwrite | no |
It also takes the connection options.
oo sessions create
Create one from a JSON body
oo sessions create [options]| Argument | Required | Default | Choices | Description |
|---|---|---|---|---|
--json @FILE|@- | yes | |||
--output OUTPUT | no | write response to a protected file (required for a new credential) | ||
--overwrite | no |
It also takes the connection options.