{"swagger": "2.0", "basePath": "/", "paths": {"/api/v1/driver-aggregate/daily": {"get": {"responses": {"200": {"description": "Success"}}, "summary": "Get the daily aggregate data for a driver", "description": "Args:\n    driver_id (str): The ID of the driver\n    query (PydanticModel): query params passed\n\nReturns:\n    dict: A JSON object containing the daily aggregate data", "operationId": "get_aggregate_daily", "tags": ["external"]}}, "/api/v1/driver-aggregate/weekly": {"get": {"responses": {"200": {"description": "Success"}}, "summary": "Get the daily aggregate data for a driver", "description": "Args:\n    driver_id (str): The ID of the driver\n    query (PydanticModel): query params passed\n\nReturns:\n    dict: A JSON object containing the daily aggregate data", "operationId": "get_aggregate_weekly", "tags": ["external"]}}, "/api/v1/driver/{driver_id}/trips": {"parameters": [{"name": "driver_id", "in": "path", "required": true, "type": "string"}], "get": {"responses": {"200": {"description": "Success"}}, "summary": "Get the trip details for a trip", "description": "Args:\n    query (PydanticModel): query params passed\n    driver_id (str): driver id for which details are to be fetched\n\nReturns:\n    dict: A JSON object containing the trip details", "operationId": "get_driver_trip_list", "tags": ["external"]}}, "/api/v1/drivers": {"get": {"responses": {"200": {"description": "Success"}}, "summary": "Get the list of drivers", "description": "Returns:\n    dict: A JSON object containing the list of drivers", "operationId": "get_driver_list", "tags": ["external"]}}, "/api/v1/healthz": {"get": {"responses": {"200": {"description": "Success"}}, "operationId": "get_health", "tags": ["health"]}}, "/api/v1/report": {"get": {"responses": {"200": {"description": "Success"}}, "summary": "Get the report link if ready", "operationId": "get_report", "tags": ["external"]}}, "/api/v1/trip/{filter_param}/{filter_value}": {"parameters": [{"name": "filter_param", "in": "path", "required": true, "type": "string"}, {"name": "filter_value", "in": "path", "required": true, "type": "string"}], "get": {"responses": {"200": {"description": "Success"}}, "summary": "Get the trip details for a trip", "description": "Args:\n    filter_param (str): The parameter to filter the trip by\n    filter_value (str): The value of filter_param to filter the trip by\nReturns:\n    dict: A JSON object containing the trip details", "operationId": "get_trip_detail", "tags": ["external"]}}}, "info": {"title": "FairMatic External API", "version": "1.0", "description": "Rest api for external clients"}, "produces": ["application/json"], "consumes": ["application/json"], "tags": [{"name": "external", "description": "External Analytics Api"}, {"name": "health", "description": "health utils"}], "responses": {"ParseError": {"description": "When a mask can't be parsed"}, "MaskError": {"description": "When any error occurs on mask"}, "BaseExtApiException": {}, "ValidationError": {}, "RateLimitExceeded": {}}}
