GET /api/driver/check

GET /api/driver/check

Query parameters

  • license string

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • driver_registered boolean
    • driver object

      Additional properties are allowed.

      Hide driver attributes Show driver attributes object
      • id integer(int64)
      • name string
      • license string
      • license_expiration string(date-time)
      • license_picture_id integer(int64)
      • safety_card_picture_id integer(int64)
      • active boolean
      • created_at string(date-time)
      • last_modified_at string(date-time)
  • 401

    Not Authorized

  • 403

    Not Allowed

GET /api/driver/check
curl \
 --request GET 'https://api-dev.gatego.io/api/driver/check'
Response examples (200)
{
  "driver_registered": true,
  "driver": {
    "id": 42,
    "name": "string",
    "license": "string",
    "license_expiration": "2022-03-10T16:15:50Z",
    "license_picture_id": 42,
    "safety_card_picture_id": 42,
    "active": true,
    "created_at": "2022-03-10T16:15:50Z",
    "last_modified_at": "2022-03-10T16:15:50Z"
  }
}