v1

latestOpenAPI 3.0.12026-07-1729343.4 KB

appends a selection box for the user to choose one value

appends a slider component into the notebook. The value of the selected option can be used in code using the given variable name.

post/api/notebook/appendChoice

Query parameters

notebookIdstring required

the notebook id

Request body

variableNamestring required

the name of the variable for this slider. Should be unique and have no spaces or weird characters.

optionsstring[] required

the options available for the user

selectedNamestring

contains the initially selected name from the given options.

Response

Ok

{"stackTrail":"components:responses:appendChoiceResponse:content:application/json:schema","oasType":"schema","type":"unknown"}