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);
}
package main

import (
"context"
"fmt"
mtnmanager "github.com/mtnmanager/mtnmanager-sdk-go"
)

func main() {
configuration := mtnmanager.NewConfiguration()
configuration.Servers = mtnmanager.ServerConfigurations{
{URL: "https://your-resort.mtnmanager.com"},
}
client := mtnmanager.NewAPIClient(configuration)

data, _, err := client.MtnManagerAPI.GetTrailMaps(context.Background()).Execute()
if err != nil {
panic(err)
}
fmt.Printf("%+v\n", data)
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$config = MtnManager\Configuration::getDefaultConfiguration()
->setHost('https://your-resort.mtnmanager.com');

$apiInstance = new MtnManager\Api\MtnManagerApi(
new GuzzleHttp\Client(),
$config
);

try {
$result = $apiInstance->getTrailMaps();
print_r($result);
} catch (Exception $e) {
echo 'Exception: ', $e->getMessage(), PHP_EOL;
}
import MtnManagerSDK

let config = MtnManagerSDKAPIConfiguration(
basePath: "https://your-resort.mtnmanager.com"
)

do {
let data = try await MtnManagerAPI.getTrailMaps(apiConfiguration: config)
print(data)
} catch {
print("Error: \(error)")
}
curl --request GET \
--url https://{subdomain}.mtnmanager.com/api/v1/report/trail-maps
import requests

url = "https://{subdomain}.mtnmanager.com/api/v1/report/trail-maps"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://{subdomain}.mtnmanager.com/api/v1/report/trail-maps', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
HttpResponse<String> response = Unirest.get("https://{subdomain}.mtnmanager.com/api/v1/report/trail-maps")
.asString();
require 'uri'
require 'net/http'

url = URI("https://{subdomain}.mtnmanager.com/api/v1/report/trail-maps")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
[
  {
    "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"
    ]
  }
]

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 | null

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"
]
}
]