Sprint 46

All our products have been updated on Sep 4, 2020 with the releases associated to the https://enroute.atlassian.net/wiki/spaces/PUBLIC/pages/756449281 and this Sprint 46.

 

Chouette

Complete Line model in GraphQL API

The user can request all these Line attributes in the GraphQL API:

{ line(objectid: "chouette:Line:9d8376eb-ec78-4f11-a1f3-1c6a736c59f5:LOC") { objectid name registrationNumber number publishedName transportMode transportSubmode comment url color textColor deactivated activeFrom activeUntil seasonal network { objectid name } company { objectid name } secondaryCompanies { nodes { objectid name } } createdAt updatedAt } }

Response example:

{ "objectid": "chouette:Line:9d8376eb-ec78-4f11-a1f3-1c6a736c59f5:LOC", "name": "Spécifique 96", "number": "96", "registrationNumber": "96", "publishedName": "Spécifique 96", "transportMode": "bus", "transportSubmode": "undefined", "registrationNumber": "96", "comment": null, "url": null, "color": "7C982E", "textColor": "FFFFFF", "deactivated": false, "activeFrom": null, "activeUntil": null, "seasonal": false, "network": { "objectid":"chouette:Network:7916b9e2-d300-11ea-8c97-54ee75b262a0:LOC", "name":"TBM" } "company": { "objectid":"chouette:Company:e7340451-bdad-4624-b4f7-d2b44e621710:LOC", "name":"TBM" }, "secondaryCompanies": { "nodes": [] } "createdAt": "2020-06-11T13:02:33.336+02:00", "updatedAt": "2020-06-11T13:02:33.336+02:00" }

These new Line attributes in the GraphQL API are described into the Chouette API GraphQL documentation.

Complete StopArea model in GraphQL API

The user can request all these StopArea attributes in the GraphQL API.

Especially the links with other Stop Areas as:

  • referent

  • parent

  • children

{ stop_area(objectid: "chouette:StopArea:9d8376eb-ec78-4f11-a1f3-1c6a736c59f5:LOC") { objectid name localizedNames areaType registrationNumber longitude latitude country streetName zipCode cityName postalRegion url timeZone waitingTime kind comment status confirmedAt deletedAt isReferent referent { name objectid } parent { name objectid } children { nodes { objectid } } lines { nodes { objectid name } } created_at updated_at } }

Response example:

These new Stop Area attributes in the GraphQL API are described into the Chouette API GraphQL documentation.

Request by code in GraphQL API

The user can retrieve a Stop Area or a Line by code (currently named registration number) in the GraphQL API:

This code is used, especially, in the GTFS or Neptune imports the “native” identifier. This code is used too in the exports.

User manual

As for each Sprint, the Chouette User Manual ( French version) has been updated to describe the latest Chouette features:

Chouette User Manual