---
title: "Get Campground Map Image"
method: GET
path: "/api/v1/parks/campground-maps/{map_id}/image"
tags: ["parks"]
---

# Get Campground Map Image

`GET /api/v1/parks/campground-maps/{map_id}/image`

## Request

- Base URL: `https://api.alert.camp` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alert.camp/api/v1/parks/campground-maps/{map_id}/image`
- Auth: none declared

Serve the cached campground-map PNG from our DB.

See get_campground_maps for why we proxy rather than handing the
upstream URL straight to the client.  Bytes are fetched once at
seed time and stored in CampgroundMap.image_bytes, so request-time
has no dependency on upstream availability or TLS trust state.

Path uses ``:path`` because CampgroundMap PKs include a colon
(``ontario_parks:-2147483121``).

## Path parameters

- `map_id` string, required

## Query parameters

- `labels` boolean: Draw each site's number onto the sheet at its stored pin. Providers publish these sheets WITHOUT numbers, so an unlabelled one cannot be checked against a recommendation.
- `highlight` string, nullable: Comma-separated site ids to ring in red, the rest plain. Implies labels.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alert/apis/alertcamp.md) · [All operations](https://skmtc.dev/alert/apis/alertcamp/llms.txt) · [OpenAPI document](https://skmtc.dev/alert/apis/alertcamp/revisions/864c8c9ef833?raw)
