Create a presentation
create_presentationCreate a new presentation of yours, empty or complete in one call. "slides" is a list of {"name", "w", "h", "bg", "fit", "background", "objects": [blocks]}; blocks may link to each other's slides with {"kind": "slide", "slide_number": N} (1-based, in this list). Returns the new presentation with the ids of its slides and blocks.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | Default colours of the slides and of new blocks. | |
| title | Yes | Title (at most 100 characters). | |
| slides | No | Slides with their blocks (optional). | |
| database | No | Setup scripts of the databases the runnable code blocks work in, by language. Every viewer runs the blocks in a private database made from the script (up to 50000 characters each; an empty string removes a script). | |
| description | No | Description shown on the presentation page (optional). |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | No | The address people open in a browser. | |
| slug | Yes | The address of the presentation: /movie/<slug>/. | |
| owner | No | User name of the author. | |
| theme | No | ||
| title | Yes | ||
| access | No | open, public or private. | |
| slides | Yes | ||
| can_edit | No | Whether you may change it. | |
| database | No | Setup scripts of the databases of runnable code blocks (shown to the author only). | |
| description | No |