Fetches a list of drivers within an organization, including their session status and availability.

GET /api/yard-task/driver/summary

Responses

  • default application/json

    List of drivers retrieved successfully

    Hide response attributes Show response attributes object
    • id integer(int64)

      id

    • name string

      name

    • active boolean

      active

    • allowed_yards array[integer(int64)]

      allowed_yards

  • 401

    Not Authorized

  • 403

    Not Allowed

GET /api/yard-task/driver/summary
curl \
 --request GET 'https://api-dev.gatego.io/api/yard-task/driver/summary'
Response examples (default)
[
  {
    "id": 1,
    "name": "John Doe",
    "active": true,
    "allowed_yards": [
      2,
      3,
      4
    ]
  }
]