/shipping/drivers

Retrieve (via POST) driver analytics

Changed on

Retrieves driver analytics for a time window. Daily rows are clipped to the requested UTC window; task-group rows include full in-progress mileage for task groups whose in-progress interval overlaps the requested window. | authz: allowed_org_types=[provider], min_org_role=operator | (DriverStatsReq) -> (DriverStatsRes)

post/shipping/drivers/stats/v1/{driver_id}

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/shipping/drivers/stats/v1/{driver_id}
  • Auth
    HTTP bearer

Path parameters

driver_idstring required

Request body

start_timestampstring date-time required
end_timestampstring date-time required

Response

Successful Response

Changes

    • breaking

      the /// response's property type changed from string to no type for status

    • info

      added subschema #2 to the /// response property anyOf list for the response status

    • info

      removed the airplane enum value from the /// response property for the response status

    • info

      removed the box_truck enum value from the /// response property for the response status

    • info

      removed the cargo_van enum value from the /// response property for the response status

    • info

      removed the flatbed enum value from the /// response property for the response status

    • info

      removed the sedan enum value from the /// response property for the response status

    • info

      removed the semi_truck enum value from the /// response property for the response status

    • info

      removed the suv enum value from the /// response property for the response status