drivers

Paginated driver rows with server-side name search and list aggregates.

get/api/drivers/

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Query parameters

searchstring nullable

Filter by first or last name

sort_by'name' | 'current_year_km' | 'last_year_km' | 'last_delivery'
order'asc' | 'desc'
pageinteger

Page number (1-indexed)

page_sizeinteger

Number of items per page

Response

Successful Response

pageinteger required
page_sizeinteger required
totalinteger required
total_pagesinteger required

Changes

    • breaking

      the response's body type changed from array to object for status

    • warning

      deleted the query request parameter driver_id

    • warning

      deleted the query request parameter email

    • info

      added the new optional query request parameter order

    • info

      added the new optional query request parameter page

    • info

      added the new optional query request parameter page_size

    • info

      added the new optional query request parameter search

    • info

      added the new optional query request parameter sort_by

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      endpoint added