action ptv_directions_for_direction_and_type { label: "View all routes of a particular type for a direction of travel" provider: ptv method: GET path: "/v3/directions/{direction_id}/route_type/{route_type}" encoding: json input: { type: "object" properties: { devid: { type: "string" } direction_id: { type: "integer" format: "int32" } route_type: { type: "integer" format: "int32" enum: [0, 1, 2, 3, 4] } signature: { type: "string" } token: { type: "string" } } required: ["direction_id", "route_type"] 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" } } } } } }