---
title: "Check how slides will look"
method: GET
path: "/api/v1/presentations/{slug}/layout"
tags: ["presentations"]
---

# Check how slides will look

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

## Request

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

Warnings about how the slides of a presentation look: a text that runs past its block or code that is cut off
("overflow"), a block partly or wholly outside the slide ("cut", "outside"), text blocks lying over each other
("overlap"). Texts and code are measured in a browser on the server ("measured": true); when that is not available
their sizes are estimated from the letter widths of the font. Only what shows counts: a text on a block without fill
or border may run into the bottom padding. The changing operations add the (estimated) warnings of the slides they
changed to their answer ("layout_warnings").

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

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