presentations

Change title, description, theme or database

Change 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.

patch/api/v1/presentations/{slug}

Request

  • Base URL: https://easeweb.host
  • URL: https://easeweb.host/api/v1/presentations/{slug}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sessionid

Path parameters

slugstring required

The presentation's slug (its address: /movie/<slug>/).

Request body

titlestring

New title (at most 100 characters).

title_trobject

The title in the other languages of the site: {"en": "..."} (the languages left out keep theirs).

descriptionstring

New description; an empty string removes it.

theme'light' | 'paper' | 'ocean' | 'coral' | 'dark' | 'forest'

Colour theme: the defaults of new slides and blocks.

cover_slideinteger nullable

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).

names_from_titlesboolean

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.

Response

OK

object required

Changes

No recorded changes to this operation across all 1 revision of this API.