Get philosophers works

GET /works

Get a list of all the works made by this philosophers.

Query parameters

  • limit integer

    limit of elements to return

    Minimum value is 0.

  • offset integer(int32)

    number of element to skip

    Minimum value is 1.

  • title string

    Title's work

Responses

  • 200 application/json

    Response 200

    Hide response attributes Show response attributes object
    • id string Required

      The ID of the work.

    • title string Required

      Title's work.

    • philosopher_id integer Required

      Philosopher's ID.

    • wiki string Required

      Link to the work's wikipedia page.

    • philosopher string Required

      Name of the philosopher to whom the quotation is attributed.

  • bad input parameter

GET /works
curl \
 -X GET https://philosapi.vercel.app/api/works
Response examples (200)
[
  {
    "id": "string",
    "title": "string",
    "philosopher_id": 42,
    "wiki": "string",
    "philosopher": "string"
  }
]