---
title: "Changes to Mvt tile from the cache if possible, otherwise gets data from the database and caches it in valkey"
method: GET
path: "/layers/tile/{layer_slug}/{view_slug}/{z}/{x}/{y}"
---

# Changes to Mvt tile from the cache if possible, otherwise gets data from the database and caches it in valkey

`GET /layers/tile/{layer_slug}/{view_slug}/{z}/{x}/{y}`

> Every recorded change to this operation, newest first.
> 801 revisions in range; 24 not diffed.

## Timeline

Changed in 4 of 801 revisions.

- **2025-10-06** `b359a0bc2956`: 1 breaking
- **2024-07-25** `0b275352c7b2`: 1 breaking, 1 info
- **2023-11-23** `ea4072ef20ad`: 5 breaking, 3 warning, 1 info
- **2023-01-31** `3d85a748cc31`: 1 info

## Changes

- **2025-10-06** `b359a0bc2956`: 1 breaking
  - the response's body format changed from `binary` to no format for status `200`
- **2024-07-25** `0b275352c7b2`: 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2023-11-23** `ea4072ef20ad`: 5 breaking, 3 warning, 1 info
  - for the `path` request parameter `x`, the format changed from no format to `int64`
  - for the `path` request parameter `y`, the format changed from no format to `int64`
  - for the `path` request parameter `z`, the format changed from no format to `int64`
  - for the `query` request parameter `infra`, the format changed from no format to `int64`
  - removed the media type `application/x-octet-stream` for the response with the status `200`
  - for the `path` request parameter `x`, the min was set to `0.00`
  - for the `path` request parameter `y`, the min was set to `0.00`
  - for the `path` request parameter `z`, the min was set to `0.00`
  - added the media type `application/octet-stream` for the response with the status `200`
- **2023-01-31** `3d85a748cc31`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/openrailassociation/apis/osrd-editoast/docs/layers/tile/:layer_slug/:view_slug/:z/:x/:y/get.md) - [API](https://skmtc.dev/openrailassociation/apis/osrd-editoast.md) - [Page](https://skmtc.dev/openrailassociation/apis/osrd-editoast/changes/layers/tile/:layer_slug/:view_slug/:z/:x/:y/get)
