Skip to main content
GET
/
api
/
v1
/
report
/
trail-maps
TypeScript
import { MtnManagerApi, Configuration } from "@mtnmanager/sdk";

const api = new MtnManagerApi(
	new Configuration({
		basePath: "https://your-resort.mtnmanager.com",
	})
);

try {
    const data = await api.getTrailMaps();
    console.log(data);
} catch (error) {
    console.error(error);
}
[
  {
    "uuid": "550e8400-e29b-41d4-a716-446655440000",
    "name": "Winter Trail Map",
    "season": "winter",
    "display_order": 0,
    "version": 1,
    "hosted_url": "https://powder-mountain.mtnmanager.com/hosted/trail-map/550e8400-e29b-41d4-a716-446655440000",
    "geo_bounds": {
      "min_lat": 39.6403,
      "max_lat": 39.65,
      "min_lng": -106.3742,
      "max_lng": -106.36,
      "center": {
        "lat": 39.64515,
        "lng": -106.3671
      }
    },
    "entity_uuids": [
      "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "c3d4e5f6-a7b8-9012-cdef-123456789012"
    ]
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.mtnmanager.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Accept-Language
string

Preferred language and optional region for human-readable strings in the response (e.g. operating hours summaries). Supports en, fr, de, it, and es, with optional region tags such as fr-CA or de-CH. Defaults to English when omitted or unsupported.

Response

List of trail maps.

uuid
string
required
name
string
required
season
enum<string>
required

Current operating season of the resort.

Available options:
winter,
summer,
closed
display_order
integer<int64>
required
version
integer<int64>
required

Monotonically incremented on every update. Clients can compare this against a cached value to decide whether to reload the trail map.

hosted_url
string
required
entity_uuids
string[]
required

Deduplicated UUIDs of every entity (lift, run, terrain park, summer trail, amenity, parking lot) referenced by this map's elements.

geo_bounds
object

Lat/lng bounding box of this map's georeferenced area, plus the centroid of its control points (used for tie-breaking when multiple maps cover the same point). Omitted when the map has no georeferencing.

Example:
[
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"name": "Winter Trail Map",
"season": "winter",
"display_order": 0,
"version": 1,
"hosted_url": "https://powder-mountain.mtnmanager.com/hosted/trail-map/550e8400-e29b-41d4-a716-446655440000",
"geo_bounds": {
"min_lat": 39.6403,
"max_lat": 39.65,
"min_lng": -106.3742,
"max_lng": -106.36,
"center": { "lat": 39.64515, "lng": -106.3671 }
},
"entity_uuids": [
"b2c3d4e5-f6a7-8901-bcde-f12345678901",
"c3d4e5f6-a7b8-9012-cdef-123456789012"
]
}
]