cases

Generate notebook patches from parameter choices

Changed on

Generate patches that apply user-chosen parameter values to a case notebook. Each parameter's top-level assignment is located in the notebook's parameter cell (the code cell tagged "parameters"; only that cell is ever rewritten) and its right-hand side is deterministically replaced with the given value. Returns a list of per-cell patches. The title of the run is /cases/generate_run_title's job (same request body).

post/cases/generate_notebook

Request

Request body

case_template_idstring

Public id of the case template the notebook belongs to. When present, the template's parameter definitions (value types, labels and units) drive value quoting and the generated title; without it the current right-hand side of each assignment decides the quoting.

language'ja' | 'en'

Language for the generated title. Defaults to "ja".

notebookobject required

The notebook JSON object (.ipynb) the parameters apply to.

Response

Notebook patches generated successfully

Changes

    • breaking

      removed the required property from the response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status