Get a route with its stops and attempts
GET/routes/:routeId
Returns the route, its stops (with derived outcomes) and every recorded attempt.
Request
Responses
- 200
- 404
- 422
- 500
The route.
The wave, route, partner or (for an attempt) the package on the route does not exist, or the path matches no route or holds a NUL character. Problem types not-found, package-not-on-route, resource-not-found.
Response Headers
Present, with the value true, only when the answer is a replay of the stored first answer.
Validation failed. Problem types: validation-failed (body that is not valid JSON for the operation, with an unknown field, empty, with trailing data or over 64 KiB; a NUL character in the query or body; a missing or malformed query filter; a value-object rule), invalid-wave-times (ErrInvalidWaveTimes), invalid-van-capacity (ErrInvalidVanCapacity), unknown-station (ErrUnknownStation).
Response Headers
Present, with the value true, only when the answer is a replay of the stored first answer.
Unexpected failure: problem type internal-error, detail "an unexpected error occurred". Never stored for idempotent replay.