Get all employees

GET /employees

Returns a list of all employees

Responses

  • 404 */*

    Not Found

  • 200 */*

    OK

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

      Unique identifier which should not be shared publicly

    • name string

      Employee name

    • role string

      Employee role

GET /employees
curl \
 --request GET 'http://localhost:8080/employees'
Response examples (404)
string
Response examples (200)
[
  {
    "id": 1234,
    "name": "Bilbo Baggins",
    "role": "Software Engineer"
  }
]