Change title, description, theme or database
update_presentationChange the title, description, theme or cover 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
| 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. | |
| title_tr | No | The title in the other languages of the site: {"en": "..."} (the languages left out keep theirs). | |
| cover_slide | No | Id of the slide shown as the cover of the presentation in the lists of presentations; null: the first slide, whichever it is (the default). | |
| description | No | New description; an empty string removes it. | |
| names_from_titles | No | Name every slide after its title (the text block with the biggest letters, the highest one of those), in every language it is written in. From then on a slide named after its title keeps following it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | No | The address people open in a browser. | |
| lang | No | The language its texts are written in; "tr" holds the others. | |
| 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. | |
| project | No | The project it belongs to, or null. | |
| renamed | No | Slides that got the name of their title. | |
| version | No | Stamp of the content as it is now: give it back as "base_version" to change it only if nobody else did meanwhile. | |
| can_edit | No | Whether you may change it. | |
| database | No | Setup scripts of the databases of runnable code blocks (shown to the author only). | |
| title_tr | No | The same text in the other languages of the site: {"en": "..."}. | |
| languages | No | The languages of the site. | |
| cover_slide | No | Id of the slide shown as its cover in the lists (null: an uploaded picture, or no slides). | |
| description | No | ||
| missing_translations | No | What is not translated yet into the other languages of the site (add it): the first ones; "missing_translations_count" says how many there are. | |
| missing_translations_count | No | How many texts are not translated yet. |