OperatoroperatoroperationId delete_transit_rt
DELETE/v1/transit_rt
Drop every live transit delay.
Send Authorization: Bearer sk_live_…. The key's plan must include theoperator product; which plans do.
Explained in Operator feeds.
Example
Dropping every live delay.
curl -X DELETE "https://api.oslew.com/v1/transit_rt" \
-H "Authorization: Bearer $GEO_API_KEY"The clients leave DELETE out on purpose; send it with curl when you mean it.
HTTP/1.1 200 OK
content-type: application/json
ratelimit-limit: 10
ratelimit-remaining: 14
ratelimit-reset: 1
[
{
"applied": false,
"feed": "bart",
"feed_time": null,
"trip_updates": 0,
"matched_trips": 0,
"unknown_trips": 0,
"stop_updates": 0,
"unknown_stops": 0,
"skipped": 0,
"applied_at": null,
"took_us": 0
},
{
"applied": false,
"feed": "Gobierno del estado de México (Government of the State of Mexico)",
"feed_time": null,
"trip_updates": 0,
"matched_trips": 0,
"unknown_trips": 0,
"stop_updates": 0,
"unknown_stops": 0,
"skipped": 0,
"applied_at": null,
"took_us": 0
},
{
"applied": false,
"feed": "Ayuntamiento Constitucional de Jilotepec Equipo de Planeación y Movilida (Constitutional Municipality of Jilotepec Planning and Mobility Team)",
"feed_time": null,
"trip_updates": 0,
"matched_trips": 0,
"unknown_trips": 0,
"stop_updates": 0,
"unknown_stops": 0,
"skipped": 0,
"applied_at": null,
"took_us": 0
},
{
"applied": false,
"feed": "Secretaría de Transporte del Estado de Jalisco (SETRAN)",
"feed_time": null,
"trip_updates": 0,
"matched_trips": 0,
"unknown_trips": 0,
"stop_updates": 0,
"unknown_stops": 0,
"skipped": 0,
"applied_at": null,
"took_us": 0
}
]A real response, captured from the service at commit b8f4bde-dirty. Timing fields such as took_us differ on every call.
Responses
200 — Status per feed.
appliedbooleanrequiredapplied_atinteger | nullrequiredfeedstringrequiredfeed_timeinteger | nullrequiredmatched_tripsintegerrequiredskippedintegerrequiredstop_updatesintegerrequiredtook_usintegerrequiredtrip_updatesintegerrequiredunknown_stopsintegerrequiredunknown_tripsintegerrequired
With RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset(and their X-RateLimit-* aliases); see rate limits.
Refusals
Every refusal is a JSON object with an error string, except where noted.
| 401 | No key, or one that is unknown, revoked or suspended. |
| 403 | The key's plan does not include this route's product, or the request is larger than the plan allows. The body names the plan that does. |
| 429 | This product's bucket is empty: the key is going faster than its plan's sustained rate. Wait Retry-After seconds; nothing is used up. Carries Retry-After. |
| 503 | The pod cannot reach the control plane and its entitlements are too old to trust. Retry. |
A malformed query string or JSON body is refused by the framework before this route runs, in plain text rather than JSON; see errors.
Rendered from the OpenAPI document at commit b8f4bde-dirty; the same document is served at/v1/openapi.json and generates both clients.