action ptv_directions_for_route { label: "View directions that a route travels in" provider: ptv method: GET path: "/v3/directions/route/{route_id}" encoding: json input: { type: "object" properties: { devid: { type: "string" } route_id: { type: "integer" format: "int32" } signature: { type: "string" } token: { type: "string" } } required: ["route_id"] additionalProperties: false } output: { type: "object" properties: { directions: { type: "array" description: "Directions of travel of route" items: { type: "object" properties: { direction_id: { type: "integer" format: "int32" description: "Direction of travel identifier" } direction_name: { type: "string" description: "Name of direction of travel" } route_direction_description: { type: "string" } route_id: { type: "integer" format: "int32" description: "Route identifier" } route_type: { type: "integer" format: "int32" description: "Transport mode identifier" } } } } status: { type: "object" properties: { health: { type: "integer" format: "int32" description: "API system health status (0=offline, 1=online)" enum: [0, 1] } version: { type: "string" description: "API Version number" } } } } } }