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",
    "hosted_url": "https://powder-mountain.mtnmanager.com/hosted/trail-map/550e8400-e29b-41d4-a716-446655440000"
  }
]

Response

List of trail maps.

uuid
string
required
name
string
required
hosted_url
string
required
Example:
[
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"name": "Winter Trail Map",
"hosted_url": "https://powder-mountain.mtnmanager.com/hosted/trail-map/550e8400-e29b-41d4-a716-446655440000"
}
]