Change title, description, theme or database
update_presentationChange the title, description or theme of a presentation you may edit, or (its author only) the setup scripts of the databases its runnable code blocks work in. The theme only sets the defaults of new slides and blocks; existing slides keep their colours. The slug (address) does not change.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The presentation's slug (its address: /movie/<slug>/). | |
| theme | No | Colour theme: the defaults of new slides and blocks. | |
| title | No | New title (at most 100 characters). | |
| 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). Only the author may change them; the languages left out keep their scripts. | |
| description | No | New description; an empty string removes it. |
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 | No | Number of slides. | |
| 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 |