import { MtnManagerApi, Configuration } from "@mtnmanager/sdk";
const api = new MtnManagerApi(
new Configuration({
basePath: "https://your-resort.mtnmanager.com",
})
);
try {
const data = await api.getSummerTrails();
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.GetSummerTrails(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->getSummerTrails();
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.getSummerTrails(apiConfiguration: config)
print(data)
} catch {
print("Error: \(error)")
}curl --request GET \
--url https://{subdomain}.mtnmanager.com/api/v1/report/summer-trailsimport requests
url = "https://{subdomain}.mtnmanager.com/api/v1/report/summer-trails"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{subdomain}.mtnmanager.com/api/v1/report/summer-trails', 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/summer-trails")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.mtnmanager.com/api/v1/report/summer-trails")
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": "Ridgeline Trail",
"slug": "ridgeline-trail",
"number": 1,
"trail_type": [
"hiking"
],
"difficulty": "intermediate",
"status": "open",
"condition_notes": "Trail is dry and in excellent condition.",
"area_uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"area_name": "Lower Mountain",
"area_display_order": 1,
"updated_at": "2026-01-26T16:26:33+00:00",
"images": []
}
]Get Summer Trails
import { MtnManagerApi, Configuration } from "@mtnmanager/sdk";
const api = new MtnManagerApi(
new Configuration({
basePath: "https://your-resort.mtnmanager.com",
})
);
try {
const data = await api.getSummerTrails();
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.GetSummerTrails(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->getSummerTrails();
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.getSummerTrails(apiConfiguration: config)
print(data)
} catch {
print("Error: \(error)")
}curl --request GET \
--url https://{subdomain}.mtnmanager.com/api/v1/report/summer-trailsimport requests
url = "https://{subdomain}.mtnmanager.com/api/v1/report/summer-trails"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{subdomain}.mtnmanager.com/api/v1/report/summer-trails', 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/summer-trails")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.mtnmanager.com/api/v1/report/summer-trails")
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": "Ridgeline Trail",
"slug": "ridgeline-trail",
"number": 1,
"trail_type": [
"hiking"
],
"difficulty": "intermediate",
"status": "open",
"condition_notes": "Trail is dry and in excellent condition.",
"area_uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"area_name": "Lower Mountain",
"area_display_order": 1,
"updated_at": "2026-01-26T16:26:33+00:00",
"images": []
}
]Headers
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 all summer trails at the resort with their current status, type (e.g. hiking, mountain biking), and optional difficulty rating.
Unique identifier for the trail.
"550e8400-e29b-41d4-a716-446655440000"
Display name of the trail.
"Ridgeline Trail"
URL-friendly name of the trail.
"ridgeline-trail"
Type of trail activity (e.g. hiking, mountain_biking). Can have multiple.
hiking, mountain_biking Current operational status (open, closed, or unknown).
open, closed, unknown Notes about current conditions on this trail.
"Trail is dry and in excellent condition."
When this trail's information was last updated.
Optional trail number.
1
Difficulty rating of the trail (optional for summer trails).
beginner, intermediate, advanced, expert UUID of the area this trail belongs to, if assigned.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Name of the area this trail belongs to, if assigned.
"Lower Mountain"
Display order of the area this trail belongs to, if assigned, for sorting purposes.
Images attached to this trail, ordered for display. Each includes a ThumbHash for rendering a blurred placeholder while the image loads.
Show child attributes
Show child attributes
[
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"name": "Ridgeline Trail",
"slug": "ridgeline-trail",
"number": 1,
"trail_type": ["hiking"],
"difficulty": "intermediate",
"status": "open",
"condition_notes": "Trail is dry and in excellent condition.",
"area_uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"area_name": "Lower Mountain",
"area_display_order": 1,
"updated_at": "2026-01-26T16:26:33+00:00",
"images": []
}
]