presentations

Run code

Run code the way the Run button of a code block does, to check it: "sql", "mongodb", "redis" and "clickhouse" run in your own database of the presentation (made from its database scripts; what you change stays in it), "python" and "bash" in a sandbox without network that keeps nothing. The presentation itself does not change.

post/api/v1/presentations/{slug}/run

Request

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

Path parameters

slugstring required

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

Request body

lang'sql' | 'mongodb' | 'redis' | 'clickhouse' | 'python' | 'bash' required

Language of the code.

codestring required

The code (at most 20000 characters).

resetboolean

sql, mongodb, redis, clickhouse: first make your database again from the script of the presentation.

Response

OK

object required

Changes

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