From 1de1ee348fb74ce23aed4ffc79d5a064ef1f5981 Mon Sep 17 00:00:00 2001 From: sharhio Date: Mon, 28 Oct 2024 11:18:57 +0200 Subject: [PATCH] Revert "Add example of querying trip occupancy with id" This reverts commit 5090fb690e90533775855d940c420d52fb7770b8. --- .../apis/1-routing-api/routes/index.md | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/src/pages/en/developers/apis/1-routing-api/routes/index.md b/src/pages/en/developers/apis/1-routing-api/routes/index.md index 76db9c82..5666c251 100644 --- a/src/pages/en/developers/apis/1-routing-api/routes/index.md +++ b/src/pages/en/developers/apis/1-routing-api/routes/index.md @@ -163,36 +163,6 @@ Example response: 2. Press play in GraphiQL to execute the query. -### Query trip with id - -1. Click [this link]() to run the query below in GraphiQL. - -```graphql -{ - trip(id: "HSL:1020_20240314_Pe_1_0933") { - tripHeadsign - occupancy { - occupancyStatus - } - } -} -``` -2. Press play in GraphiQL to execute the query. - -Example response: - -```json -{ - "data": { - "trip": { - "tripHeadsign": "Munkkivuori", - "occupancy": { - "occupancyStatus": "FEW_SEATS_AVAILABLE" - } - } - } -} -``` ### Query a trip without its id - Query type **fuzzyTrip** can be used to query a trip without its id, if other details uniquely identifying the trip are available