Hi Brian,
Shapes have "route" and "stops" relationships only in versions of the API before 2020-05-01, as mentioned in the
Changelog. These were removed because
RoutePatterns now provide a better way to get the same information (what "patterns of service" exist on each route). If you need to go back to a previous version for compatibility with older code, there are ways to specify this: see our
Versioning page. Locking your requests to a specific version is generally recommended, otherwise you may be surprised by backwards-incompatible changes.
Separately, there is a known issue where a request is allowed to `include` a relationship that doesn't exist, if the relationship does exist in past API versions. Instead of an error, a normal response is returned with an "empty" relationship. We are working on addressing this, but thank you for bringing this instance to our attention.
—Developer@MBTA