Feeds

Mountain XML feed directory

GET /api/v1/feeds/mountains.xml — Mountain XML feed directory.

GET /api/v1/feeds/mountains.xml

Discover canonical aggregate XML feed URLs for available published mountains.

Authentication

No API key is required.

Parameters

No resource-specific query parameters.

Aggregate-only UTF-8 XML; no individual terrain statuses or history. Canonical website feeds: https://icecoast.us/feeds/mountains.xml and https://icecoast.us/mountains/{slug}/feed.xml. Unavailable values are omitted. Published mountains with slugs appear in the directory. Cache-Control: public, max-age=60, s-maxage=60. If-None-Match accepts ETag, weak ETag or wildcard and may return 304. Current source evidence is required for conditions; unknown roster statuses suppress open counts. Freshness: fresh, retained, stale or unavailable.

Example request

curl 'https://api.icecoast.us/api/v1/feeds/mountains.xml'

Response

The successful response has content type application/xml; charset=utf-8.

The following is a synthetic response excerpt illustrating the verified structure. Names, IDs, counts and dates are examples, not live resort data. Optional fields are omitted.

<?xml version="1.0" encoding="UTF-8"?>
<mountain_feeds version="1"><feed><id>00000000-0000-4000-8000-000000000001</id><name>Example Mountain</name><url>https://icecoast.us/mountains/example-mountain/feed.xml</url></feed></mountain_feeds>

Resource fields

ElementMeaning
mountain_feeds/feedDirectory identity and canonical feed URLs.
mountain_feedMountain identity, location, optional aggregate trails/lifts, conditions, freshness and attribution.
trails, liftsOptional total/open counts; unknown status can omit open.
conditionsOptional operational_status, surface_conditions, snow_conditions, snowfall and base_depth. Snow measurements carry unit="in" and snowfall carries period.
freshnessstatus, observed_at, accepted_at, timestamp_basis, metadata_updated_at and expected_interval_seconds when available.
attributionIcecoast name, URL, API link and usage terms.

Record fields may be missing or null. Treat identifiers as opaque and distinguish unavailable values from confirmed false/zero. See data semantics.

Errors

HTTP statusMeaning
400Invalid request parameters where validated.
503Feed temporarily unavailable.

Error bodies are XML; conditional 304 responses have no body.