ਮੁੱਖ ਸਮੱਗਰੀ ਤੇ ਜਾਓ

ਸਮੱਸਿਆ ਦੀ ਰਿਪੋਰਟ ਕਰੋ

ਇਹ ਪੰਨਾ ਕਿਸੇ ਇੱਕ ਸਟਾਪ, ਰੂਟ, ਸਟੇਸ਼ਨ ਜਾਂ ਗੱਡੀ ਬਾਰੇ ਨਹੀਂ ਹੈ। ਕੋਈ ਇੱਕ ਖੋਲ੍ਹੋ, ਤਾਂ ਜੋ ਸ਼ਿਕਾਇਤ ਵਿੱਚ ਉਸ ਦਾ ਨਾਂ ਆ ਜਾਵੇ। ਜਾਂ ਪੂਰੀ ਰਿਪੋਰਟ ਵਰਤੋ।

ਕੀ ਹੋਇਆ
ਪੂਰੀ ਰਿਪੋਰਟ ਖਾਤੇ ਦੀ ਲੋੜ ਨਹੀਂ
ਸਬੂਤ ਅਤੇ ਡੇਟਾ
  1. ਪੜ੍ਹਨ ਸਮੱਗਰੀ
  2. ਸਬੂਤ ਅਤੇ ਡੇਟਾ
  3. ਡਿਵੈਲਪਰ API

ਇਸ ਸਾਈਟ ਦਾ ਹਰ ਅੰਕੜਾ ਇੱਕ ਮੁਫ਼ਤ JSON ਕਾਲ ਨਾਲ ਮਿਲ ਜਾਂਦਾ ਹੈ।ਡਿਵੈਲਪਰ API

Every figure here is versioned JSON. Free to use, with or without a key.Every figure here is versioned JSON. Free to use, with or without a key.

Free, key optional · 1,000 a day, 60 a minute · code MIT · version 1.0.0

ਪਹੁੰਚ

Free

key optional

ਬੇਨਤੀਆਂ ਦੀ ਸੀਮਾ

1,000 a day

60 a minute; more on Developer

ਕੋਡ ਲਾਇਸੰਸ

ਐਮਆਈਟੀ

ਡਾਟਾ ਆਪਣੇ ਸਰੋਤ ਦੀਆਂ ਸ਼ਰਤਾਂ ਮੁਤਾਬਕ ਹੀ ਰਹਿੰਦਾ ਹੈ

ਵਰਜ਼ਨ

1.0.0

stable · 180 days’ notice

Plans

Free

1,000 calls a day, 60 a minute. No key needed; a free key counts your calls separately from everyone else on your network.

Credit ‘Data: OTranspo (otranspo.ca)’ wherever you show the data.

Developer

$10 a monthor $100 a year (CAD)

  • 100,000 calls a day, 600 a minute
  • Bulk downloads and full history
  • Support by email

Journalists, students and council staff: the free tier is yours. Write to us if you need more for a story or a study.

How to send a key

curl -H "Authorization: Bearer otr_…" https://otranspo.ca/api/public/v1/route-states

ਸੀਮਾਵਾਂ

Each answer carries X-RateLimit-Remaining (this minute) and X-RateLimit-Daily-Remaining (today, UTC). Over the limit you get 429 with the time it resets.

ਇੱਕ ਕਾਲ, ਸ਼ੁਰੂ ਤੋਂ ਅੰਤ ਤੱਕ

ਬੇਨਤੀ

curl https://otranspo.ca/api/public/v1/route-states

ਇਹ ਜਵਾਬ ਇਸ ਸਾਈਟ ਦਾ ਅਸਲੀ ਜਵਾਬ ਹੈ। ਤੁਹਾਡੇ ਮੰਗਣ ਸਮੇਂ ਹੀ ਇਹ ਲਿਆਂਦਾ ਜਾਂਦਾ ਹੈ।

ਜਵਾਬ, ਛੋਟਾ ਕੀਤਾ ਹੋਇਆ ਸਕੀਮਾ

ਚੱਲ ਰਿਹਾ ਹੈ…

ਹਰ ਸਰੋਤ, 39

ਜਦੋਂ ਤੱਕ ਪੂਰਾ ਨਾ ਲਿਖਿਆ ਹੋਵੇ, ਪਾਥ /api/public/v1 ਤੋਂ ਸ਼ੁਰੂ ਹੁੰਦੇ ਹਨ। HTTP ਸਟੇਟਸ, ਗਲਤੀ ਕੋਡ, ਪਹੁੰਚ, ਅਨਿਸ਼ਚਿਤਤਾ ਅਤੇ ਸਕੀਮਾ ਦੇਖਣ ਲਈ ਕੋਈ ਵੀ ਕਤਾਰ ਖੋਲ੍ਹੋ।

ਸੂਚੀ ਅਤੇ ਇਕਰਾਰਨਾਮਾਇੱਥੋਂ ਸ਼ੁਰੂ ਕਰੋ2
ਏਪੀਆਈ ਸੂਚੀGET/api/public/v1—JSON

HTTP ਸਥਿਤੀ ਕੋਡ

200

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

—

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

endpoints.id · endpoints.path

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1

ਜੇਸਨ ਸਕੀਮਾ

OpenAPI 3.1 ਦਾ ਤਕਨੀਕੀ ਇਕਰਾਰਨਾਮਾGET/openapi.json—JSON

HTTP ਸਥਿਤੀ ਕੋਡ

200

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

—

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

operationId · path

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/openapi.json

ਜੇਸਨ ਸਕੀਮਾ

ਹੁਣ ਦੀ ਸੇਵਾਇਸ ਮਿੰਟ ਕੀ ਹੋ ਰਿਹਾ ਹੈ5
ਹੁਣ ਲੱਗੀਆਂ ਰੱਦ ਸੇਵਾਵਾਂGET/current-cancellations—JSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

unsupported_query 400 · current_cancellations_unavailable 503

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

trips.tripId · trips.routeId

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Only explicit CANCELED/DELETED notices for timetable trips in the current snapshot are listed. Empty or unavailable feeds do not prove that no trips were cancelled; outside-timetable notices may be withheld.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/current-cancellations

ਜੇਸਨ ਸਕੀਮਾ

ਰੂਟ ਦੀ ਸਥਿਤੀ: ਸਮਾਂ-ਸਾਰਣੀ ਅਨੁਸਾਰ ਬਨਾਮ ਦੇਖੀ ਗਈGET/route-states—JSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

—

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

operatorId · routeId

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

This is not an operator alert. Routes without published positions use positions_not_published; stale or missing feeds return unavailable.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/route-states

ਜੇਸਨ ਸਕੀਮਾ

ਘਟਨਾਵਾਂ, ਅੰਗਰੇਜ਼ੀ ਅਤੇ ਫ਼ਰਾਂਸੀਸੀ ਵਿੱਚGET/incidents—JSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

—

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

publicId · slug · updates.id

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/incidents

ਜੇਸਨ ਸਕੀਮਾ

ਇੱਕ ਸਰਕਾਰੀ ਸੇਵਾ ਚੇਤਾਵਨੀGET/alerts/{alertId}format=json|csv · alertIdJSON · CSV

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

invalid_alert_id 400 · unsupported_format 400 · alert_not_found 400 · alert_unavailable 503

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

alert.id · alert.operatorId

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

The notice is the operator’s own wording. Kept wordings start when we first saw the notice, not when the operator posted it, and an empty list does not prove the notice never changed.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/alerts/{alertId}

ਜੇਸਨ ਸਕੀਮਾ

ਸਟੇਸ਼ਨ ਬੋਰਡGET/stations/{stationId}format=json|csv · stationIdJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 404 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

invalid_station_id 400 · unsupported_format 400 · station_not_found 404 · station_board_unavailable 503

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

station.id · lines.routeRecordId · departures.tripId

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/stations/{stationId}

ਜੇਸਨ ਸਕੀਮਾ

ਸਬੂਤ ਅਤੇ ਰਿਪੋਰਟਾਂਹਰ ਸਫ਼ੇ ਪਿੱਛੇ ਦੇ ਅੰਕੜੇ11
ਭਰੋਸੇਯੋਗਤਾ ਦੀਆਂ ਡੇਟਾ ਪ੍ਰਮਾਣ ਜਾਣਕਾਰੀGET/reliability-evidenceformat=json|csvJSON · CSV

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

unsupported_format 400

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

routeId · window

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/reliability-evidence

ਜੇਸਨ ਸਕੀਮਾ

ਰੂਟ ਦੇ ਸਬੂਤGET/routes/{routeId}/evidenceformat=json|csv · routeIdJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 404 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

invalid_route_id 400 · unsupported_format 400 · route_not_found 404 · route_evidence_unavailable 503

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

route.routeId

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/routes/{routeId}/evidence

ਜੇਸਨ ਸਕੀਮਾ

Route 7 evidence on the site

ਦਿਨ ਅਨੁਸਾਰ ਰੂਟ ਦੀ ਸੇਵਾGET/routes/{routeId}/service-evidencewindow=day|week|month|28d · date · format=json|csv · routeIdJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 404 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

invalid_route_id 400 · unsupported_window 400 · invalid_service_date 400 · unsupported_format 400 · route_not_found 404 · route_service_evidence_unavailable 503

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

routeId · window

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/routes/{routeId}/service-evidence

ਜੇਸਨ ਸਕੀਮਾ

ਸਟੇਸ਼ਨ ਜਾਂ ਕੁਆਰਟਰ ਦੀ ਸੇਵਾGET/places/{kind}/{placeId}/service-evidencedate · kind=station|ward · placeIdJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

unsupported_place_kind 400 · invalid_place_id 400 · unsupported_query 400 · invalid_service_date 400 · place_service_evidence_unavailable 503

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

kind · placeId · operatorId

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Observation and cancellation completeness are explicitly unverified; no-position candidate counts remain null and comparison eligibility is false.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/places/{kind}/{placeId}/service-evidence

ਜੇਸਨ ਸਕੀਮਾ

ਸਬੂਤ ਰਿਕਾਰਡ ਡਾਊਨਲੋਡGET/evidence/{evidenceId}format=json|csv · evidenceIdJSON · CSV

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 404

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

unsupported_format 400 · not_found 404

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

evidenceId

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/evidence/{evidenceId}

ਜੇਸਨ ਸਕੀਮਾ

ਵਾਰਡ ਸਕੋਰਕਾਰਡGET/ward-scorecardsformat=json|csvJSON · CSV

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

—

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

snapshotId · wardId

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/ward-scorecards

ਜੇਸਨ ਸਕੀਮਾ

ਪਿਛਲੇ ਸਕੋਰਕਾਰਡ ਐਡੀਸ਼ਨGET/historical-scorecardssnapshotId=historical-scorecards:<sha256> · routeIdJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 404 · 422

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

snapshot_id_required 400 · invalid_route_id 400 · invalid_parameters 400 · snapshot_not_found 404 · route_detail_not_published 422 · route_not_in_snapshot 404

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

snapshotId · routeId

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/historical-scorecards

ਜੇਸਨ ਸਕੀਮਾ

ਸੇਵਾ ਰਿਪੋਰਟਾਂ ਦਾ ਆਰਕਾਈਵGET/service-report-archivekindJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

invalid_archive_query 400 · archive_unavailable 503

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

kind · period

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/service-report-archive

ਜੇਸਨ ਸਕੀਮਾ

ਅਨੁਮਾਨ ਦੀ ਸ਼ੁੱਧਤਾGET/prediction-calibration—JSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

—

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

operatorId · routeId · routeContext · horizonBucket

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Later observed arrival is a comparison, not ground truth or a validated prediction interval; independent validation is false.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/prediction-calibration

ਜੇਸਨ ਸਕੀਮਾ

ਚੁਣੀ ਹੋਈ ਸੇਵਾ ਦੀ ਰਿਪੋਰਟGET/api/insights/reports/selected?period={period}&date={YYYY-MM-DD}period=day|week|month · date=YYYY-MM-DD · operator=all|oc_transpo|sto · routeJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

invalid_selection 400 · selected_report_unavailable 503 · invalid_route_hour_selection 400 · route_hours_unavailable 503

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ। ਇਸ ਰਸਤੇ ਲਈ ਕੋਈ public-api ਸੀਮਾ ਤੈਅ ਨਹੀਂ ਕੀਤੀ ਗਈ ਹੈ।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

period · date · operator · method

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Without route, the selected-report contract is unchanged. With route, the selected-route-hours contract returns at most48 method-separated local-hour prediction groups, preserving requested report operator separately from routeOperator. These mutable retained predictions do not prove physical arrivals, complete archive coverage, zero service or an immutable publication.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/insights/reports/selected?period={period}&date={YYYY-MM-DD}

ਜੇਸਨ ਸਕੀਮਾ

ਅਨੁਮਾਨ ਦੀ ਤੁਲਨਾ ਦੇ ਇਨਪੁੱਟGET/api/insights/reports/selected/comparison-evidence?period={period}&date={YYYY-MM-DD}period=day|week|month · date=YYYY-MM-DD · operator=all|oc_transpo|stoJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

invalid_comparison_evidence_selection 400

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

payload.edition · payload.selection · checksum.value

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

This opt-in export preserves the exact captured route/day read results, declared calendar, comparison refusals and measured source-code manifest. It is bounded to 20,000 input rows and 8 MiB and does not claim an atomic database snapshot, statistical independence, confidence intervals, physical service delivery, causation, equivalence or model eligibility. Schema validation alone does not verify checksum or replay; consumers must perform those checks separately.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/insights/reports/selected/comparison-evidence?period={period}&date={YYYY-MM-DD}

ਜੇਸਨ ਸਕੀਮਾ

ਇਤਿਹਾਸ ਅਤੇ ਰੀਪਲੇਜੋ ਪਹਿਲਾਂ ਹੀ ਹੋ ਚੁੱਕਾ ਹੈ6
ਪਿਛਲੇ ਰੱਦ ਹੋਏ ਟ੍ਰਿਪ ਅਤੇ ਖਾਲੀ ਥਾਵਾਂGET/historical-cancellationswindow=day|week|28d|month · date · assessment=noneJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

unsupported_query 400 · unsupported_window 400 · invalid_service_date 400 · unsupported_assessment 400 · historical_cancellations_unavailable 503 · historical_cancellation_limit_exceeded 400

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

period · records.tripId

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Historical polling completeness is unverified and schedule matching may be unassessed; unknown coverage is not zero cancellations.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/historical-cancellations

ਜੇਸਨ ਸਕੀਮਾ

ਸ਼ਹਿਰ ਦਾ ਰੀਪਲੇਅGET/replaydate · routeFamily · operator · fromMinute · minutes · summaryJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

date_required 400 · invalid_route_family 400 · invalid_operator 400 · replay_positions_unavailable 503 · published_replay_unavailable 503

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

date · routeFamily · operator

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Replay is historical and never live; only captured/published archive evidence is returned.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/replay

ਜੇਸਨ ਸਕੀਮਾ

ਦਿਨ ਮੁਤਾਬਕ ਦੇਖੇ ਗਏ ਵਾਹਨGET/fleet-historydate · operator=all|oc_transpo|sto · route · feedIdJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

invalid_fleet_history_lookup 400 · invalid_fleet_history_date 400 · invalid_fleet_history_operator 400 · fleet_history_unavailable 503

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

serviceDate · operator · route

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Retained feed observations are not a physical fleet inventory; missing retention is not zero service.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/fleet-history

ਜੇਸਨ ਸਕੀਮਾ

ਫੀਡ ਦੀਆਂ ਗੱਡੀਆਂ ਦੇ ID, ਦਿਨ ਅਨੁਸਾਰGET/fleet-history/feed-idsdate · operator=all|oc_transpo|sto · cursorJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

invalid_fleet_feed_id_selection 400 · invalid_fleet_history_date 400 · invalid_fleet_history_operator 400 · invalid_fleet_feed_id_cursor 400 · fleet_feed_id_census_unavailable 503

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

date · operator · digest · collisionOrdinal

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/fleet-history/feed-ids

ਜੇਸਨ ਸਕੀਮਾ

ਸਮੇਂ ਦੇ ਨਾਲ ਇੱਕ ਵਾਹਨ ਦੀ IDGET/vehicles/{vehicleId}/visibility-historyformat=json|csv · vehicleIdJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 404 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

invalid_vehicle_id 400 · unsupported_format 400 · vehicle_history_unavailable 503 · vehicle_history_not_found 404

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

vehicleId

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/vehicles/{vehicleId}/visibility-history

ਜੇਸਨ ਸਕੀਮਾ

Vehicles seen, in bulkGET/bulk/fleet-historyfrom · to · operator=all|oc_transpo|sto · route · feedIdJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 401 · 403 · 429 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

unsupported_query 400 · invalid_bulk_range 400 · invalid_fleet_history_lookup 400 · invalid_fleet_history_operator 400 · fleet_history_unavailable 503 · api_key_required 401 · invalid_api_key 401 · plan_required 403 · rate_limited 429

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

serviceDate · operator · route

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Each line is the fleet-history evidence for one seven-day window; retained feed observations are not a physical fleet inventory and missing retention is not zero service.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/bulk/fleet-history

ਜੇਸਨ ਸਕੀਮਾ

ਸਮਾਂ-ਸਾਰਣੀਆਂ ਅਤੇ ਆਫ਼ਲਾਈਨਪ੍ਰਕਾਸ਼ਿਤ ਸਮਾਂ-ਸਾਰਣੀ6
ਇੱਕ ਰੂਟ ਦੀ ਸਮਾਂ-ਸਾਰਣੀGET/transit-planning/{routeId}date · routeIdJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

invalid_route_or_date 400 · use_history_for_past_dates 400 · planning_baseline_unavailable 503

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

routeId · serviceDate

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/transit-planning/{routeId}

ਜੇਸਨ ਸਕੀਮਾ

ਪੂਰੇ ਨੈੱਟਵਰਕ ਦਾ ਸਮਾਂ-ਸਾਰਣੀGET/transit-planning/networkdateJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

invalid_parameters 400 · invalid_service_date 400 · network_baseline_unavailable 503

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

serviceDate

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/transit-planning/network

ਜੇਸਨ ਸਕੀਮਾ

ਦੋ ਥਾਵਾਂ ਵਿਚਕਾਰ ਗਲੀ ਦਾ ਰਸਤਾPOST/transit-planning/street-pathbodyJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

invalid_body 400 · invalid_segment 400

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਵਰਤੋਂ ਹੋ ਸਕਦੀ ਹੈ, ਪਰ ਭਰੋਸੇਯੋਗ ਸਰੋਤ ਤੋਂ ਬੇਨਤੀ ਲਾਜ਼ਮੀ ਹੈ। ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

from · to

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Path may be unavailable when routing source data is absent; no path is not evidence of no accessible route.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

POST /api/public/v1/transit-planning/street-path

ਜੇਸਨ ਸਕੀਮਾ

ਔਫਲਾਈਨ ਸਮਾਂ-ਸਾਰਣੀ ਪੈਕGET/offline-pack—JSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

offline_pack_not_published 503 · offline_pack_unavailable 503

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

packId · digest

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/offline-pack

ਜੇਸਨ ਸਕੀਮਾ

ਔਫਲਾਈਨ ਪੈਕ ਦੀ ਸੂਚੀGET/offline-pack/manifestpackJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 404 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

—

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

packId · shards.id

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/offline-pack/manifest

ਜੇਸਨ ਸਕੀਮਾ

ਆਫ਼ਲਾਈਨ ਪੈਕ ਦਾ ਹਿੱਸਾGET/offline-pack/shards/{id}idbytes

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 404 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

—

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

id · digest

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/offline-pack/shards/{id}

ਜੇਸਨ ਸਕੀਮਾ

ਰਜਿਸਟਰ ਅਤੇ ਨੀਤੀਅਸੀਂ ਕੀ ਬਦਲਿਆ ਅਤੇ ਕਿਉਂ6
ਸੁਧਾਰਾਂ ਦਾ ਰਜਿਸਟਰGET/correctionsformat=json|csvJSON · CSV

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

unsupported_format 400

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

records.id · records.revision

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/corrections

ਜੇਸਨ ਸਕੀਮਾ

ਨੀਤੀ ਰਜਿਸਟਰGET/policy-register—JSON

HTTP ਸਥਿਤੀ ਕੋਡ

200

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

—

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

records.id · records.revision

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/policy-register

ਜੇਸਨ ਸਕੀਮਾ

ਪਹੁੰਚਯੋਗਤਾ ਦੀ ਭਰੋਸੇਯੋਗਤਾGET/accessibility-assurance—JSON

HTTP ਸਥਿਤੀ ਕੋਡ

200

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

—

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

evidence.id · remediationLog.id

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/accessibility-assurance

ਜੇਸਨ ਸਕੀਮਾ

ਖੇਤਰੀ ਕਵਰੇਜ ਅਤੇ ਡੇਟਾ ਦੀ ਤਾਜ਼ਗੀGET/regional-coverage—JSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

—

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

operators.operatorId

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/regional-coverage

ਜੇਸਨ ਸਕੀਮਾ

ਸੂਚਨਾ ਅਤੇ ਮਦਦ ਦੇ ਚੈਨਲGET/journey-service-policy—JSON

HTTP ਸਥਿਤੀ ਕੋਡ

200

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

—

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

contractVersion · channels.channel

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/journey-service-policy

ਜੇਸਨ ਸਕੀਮਾ

ਵਾਹਨ ਦੀ ਦਿੱਖ ਦੀ ਜਾਂਚGET/fleet-presentation—JSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

—

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

evidence.operatorSamples.operatorId

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/fleet-presentation

ਜੇਸਨ ਸਕੀਮਾ

ਸਾਂਝਾ ਕਰਨਾਲਿੰਕ ਅਤੇ ਸੋਸ਼ਲ ਕਾਰਡ3
ਸਾਂਝਾ ਕਰਨ ਦਾ ਲਿੰਕ ਬਣਾਓPOST/share-snapshotsbodyJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 404 · 409 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

Invalid request body. 400 · A canonical public path is required. 400 · This page cannot be shared as a public snapshot. 400 · The public page was not found. 404

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਵਰਤੋਂ ਹੋ ਸਕਦੀ ਹੈ, ਪਰ ਭਰੋਸੇਯੋਗ ਸਰੋਤ ਤੋਂ ਬੇਨਤੀ ਲਾਜ਼ਮੀ ਹੈ। ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

snapshotId · revision

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

If immutable evidence is not published, issuance returns a canonical_only state; retryable storage faults return a human-readable error and 503.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

POST /api/public/v1/share-snapshots

ਜੇਸਨ ਸਕੀਮਾ

ਸਾਂਝੇ ਲਿੰਕ ਦੀ ਸਥਿਤੀGET/share-snapshots/{snapshotId}snapshotIdJSON

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 404 · 410 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

—

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

snapshotId · revision

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/share-snapshots/{snapshotId}

ਜੇਸਨ ਸਕੀਮਾ

ਸਾਂਝਾ ਕਰਨ ਵਾਲੇ ਲਿੰਕ ਦਾ ਸੋਸ਼ਲ ਕਾਰਡGET/share-snapshots/{snapshotId}/opengraphsnapshotIdPNG

HTTP ਸਥਿਤੀ ਕੋਡ

200 · 400 · 404 · 503

ਗਲਤੀ ਦੇ ਕਾਰਨ ਕੋਡ

invalid_identifier 400 · not_found 404 · temporarily_unavailable 503

ਪਹੁੰਚ ਅਤੇ ਬੇਨਤੀਆਂ ਦੀ ਹੱਦ

ਅਗਿਆਤ ਪਹੁੰਚ; ਜਦੋਂ ਵੰਡੀ ਹੋਈ ਦਰ ਸੀਮਾ ਚਾਲੂ ਹੋਵੇ ਤਾਂ ਇੱਕ ਮਿੰਟ ਵਿੱਚ 60।

ਸਥਿਰ ਪਛਾਣ ਨਾਂ ਜਾਂ ਨੰਬਰ

snapshotId · revision

ਸਰੋਤ ਅਤੇ ਅਨਿਸ਼ਚਿਤਤਾ

Read the response status, evidenceState, source timestamps, limitations and gaps; absence is not proof of zero.

ਕਾਲ ਦੀ ਉਦਾਹਰਨ

GET /api/public/v1/share-snapshots/{snapshotId}/opengraph

ਜੇਸਨ ਸਕੀਮਾ

ਪਹੁੰਚ ਅਤੇ ਵਰਤੋਂ

ਪਹੁੰਚ ਅਤੇ ਵਰਤੋਂLimits, caching, versions, privacy and licence
ਪਹੁੰਚ
Every GET resource is public and free to use, with or without a key. Bulk and history resources need a Developer key. The two POST resources (making a share link, drawing a street path) only accept requests from otranspo.ca itself.
ਬੇਨਤੀਆਂ ਦੀ ਸੀਮਾ
1,000 calls a day and 60 a minute, with or without a free key; 100,000 a day and 600 a minute on the Developer plan. Read the X-RateLimit-* headers on every answer; X-RateLimit-Status says when limits are degraded.
Keys
Send a key as Authorization: Bearer otr_… or X-API-Key. Never in the address. A wrong, revoked or expired key gets 401, never a keyless answer.
ਕੈਸ਼ਿੰਗ
The index is kept 30 seconds by your browser and 5 minutes at the edge. Live resources such as cancellations are sent no-store. Offline timetable pieces never change once published.
ਵਰਜਨ
ਹਰ ਜਵਾਬ ਆਪਣੇ schema ਅਤੇ schemaVersion ਦਾ ਨਾਮ ਦੱਸਦਾ ਹੈ। ਵੱਡੀ ਤਬਦੀਲੀ ਲਈ ਨਵਾਂ /v2 ਪਾਥ ਹੋਵੇਗਾ, ਅਤੇ Deprecation, Sunset ਅਤੇ Link ਹੈੱਡਰਾਂ ਵਿੱਚ 180 ਦਿਨਾਂ ਦਾ ਨੋਟਿਸ ਦਿੱਤਾ ਜਾਵੇਗਾ।
ਪਰਦੇਦਾਰੀ
ਨਿੱਜੀ ਡਾਟਾ ਨਾ ਭੇਜੋ। ਗਲੀ ਦੇ ਰਸਤੇ ਲਈ ਭੇਜੇ ਗਏ ਨਿਰਦੇਸ਼ਾਂਕ ਸਿਰਫ਼ ਉਸ ਇੱਕ ਬੇਨਤੀ ਲਈ ਵਰਤੇ ਜਾਂਦੇ ਹਨ, ਕਦੇ ਲੌਗ ਜਾਂ ਸਟੋਰ ਨਹੀਂ ਕੀਤੇ ਜਾਂਦੇ। ਜਵਾਬਾਂ ਵਿੱਚ ਖਾਤੇ ਦੀਆਂ ਆਈਡੀ, ਸਫ਼ਰ ਦੀਆਂ ਖੋਜਾਂ, ਈਮੇਲ ਜਾਂ ਨੈੱਟਵਰਕ ਪਤੇ, ਜਾਂ ਅੰਦਰੂਨੀ ਸਬੂਤ ਦੇ ਲਿੰਕ ਕਦੇ ਨਹੀਂ ਹੁੰਦੇ।
ਅਣਜਾਣ ਦਾ ਮਤਲਬ ਜ਼ੀਰੋ ਨਹੀਂ
ਜਵਾਬ ਉਪਲਬਧ ਨਾ ਹੋਣ ਵਾਲਾ ਹੋ ਸਕਦਾ ਹੈ, ਭਾਵੇਂ ਸਰੋਤ ਮੌਜੂਦ ਹੋਵੇ। status, evidenceState, ਸਰੋਤ ਦੇ ਸਮੇਂ, ਕਵਰੇਜ ਅਤੇ ਸੀਮਾਵਾਂ ਪੜ੍ਹੋ। ਰੂਟ ਦੀਆਂ ਸਥਿਤੀਆਂ ਸਮਾਂ-ਸਾਰਣੀ ਦੀ ਤੁਲਨਾ ਦੇਖੀਆਂ ਗਈਆਂ ਬੱਸਾਂ ਨਾਲ ਕਰਦੀਆਂ ਹਨ। ਇਹ ਆਪਰੇਟਰ ਦੀਆਂ ਸੇਵਾ ਚੇਤਾਵਨੀਆਂ ਨਹੀਂ ਹਨ।
ਲਾਇਸੰਸ
ਕੋਡ: MIT। OC Transpo ਅਤੇ STO ਦਾ ਡੇਟਾ ਆਪਣੀਆਂ ਖੁੱਲ੍ਹੇ ਡੇਟਾ ਦੀਆਂ ਸ਼ਰਤਾਂ ਹੇਠ ਰਹਿੰਦਾ ਹੈ ਅਤੇ ਇਸ ਲਈ ਕ੍ਰੈਡਿਟ ਦੇਣਾ ਜ਼ਰੂਰੀ ਹੈ। ਸਾਡੇ ਅੰਕੜੇ: CC BY 4.0, ਕ੍ਰੈਡਿਟ otranspo.ca।
ਅਜੇ ਨਹੀਂ ਹੋਇਆ
No SDK is published, no second city is supported, and partner tenant-key access is not open. This page does not claim them.
ਡਾਟਾ ਅਤੇ ਡਾਊਨਲੋਡਇਹੀ ਅੰਕੜੇ CSV ਅਤੇ JSON ਫ਼ਾਈਲਾਂ ਵਿੱਚ, ਅਤੇ ਇਨ੍ਹਾਂ ਦਾ ਹਵਾਲਾ ਕਿਵੇਂ ਦੇਣਾ ਹੈ।