Skip to Content
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]
ArgumentRequiredDefaultChoicesDescription
--query NAME=VALUEno

It also takes the connection options.

oo sessions get

Show one by ID

oo sessions get [options] id
ArgumentRequiredDefaultChoicesDescription
idyesID from oo sessions list
--output OUTPUTnowrite response to a protected file (required for a new credential)
--overwriteno

It also takes the connection options.

oo sessions create

Create one from a JSON body

oo sessions create [options]
ArgumentRequiredDefaultChoicesDescription
--json @FILE|@-yes
--output OUTPUTnowrite response to a protected file (required for a new credential)
--overwriteno

It also takes the connection options.

On this page