---
title: "See slides as pictures"
method: GET
path: "/api/v1/presentations/{slug}/preview"
tags: ["presentations"]
---

# See slides as pictures

`GET /api/v1/presentations/{slug}/preview`

## Request

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

Pictures (PNG) of slides exactly as viewers see them, drawn by a browser on the server: check that the texts fit their
blocks, that blocks do not lie over each other and that the slide looks right. At most 6 slides per call: the first
ones of "slide_ids" or of "from_number".."to_number" (slide 1 by default). Every picture is "width" px wide. The answer
also has the "layout_warnings" of those slides, measured in the same browser.

## Path parameters

- `slug` string, required: The presentation's slug (its address: /movie/<slug>/).

## Query parameters

- `from_number` integer: Only the slides from this number on (1-based).
- `to_number` integer: Only the slides up to this number (inclusive).
- `slide_ids` integer[]: Only these slides (ids).
- `width` integer: Width of the pictures in px (default 960; more shows small text better, but a picture costs more to look at).
- `lang` 'ru' | 'en': Language of the texts on the pictures (default: the language of the presentation).

## Response `200`

OK

- object

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/easeweb/apis/easeweb-presentations-api.md) · [All operations](https://skmtc.dev/easeweb/apis/easeweb-presentations-api/llms.txt) · [OpenAPI document](https://skmtc.dev/easeweb/apis/easeweb-presentations-api/revisions/9f5566adb5d1?raw)
