Get philosophers by stream of thought's ID

GET /philosophers/stream_of_thought/{streamOfThoughtID}

Get a list of all the greatest philosophers by their stream of thought.

Path parameters

  • streamOfThoughtID integer Required

    Stream of thought's ID.

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.

Responses

  • 200 application/json

    Response 200

    Hide response attributes Show response attributes object
    • id integer Required

      The id of the philosopher.

    • name string Required

      The stream of thought 's name.

    • birth_place string Required

      Birth place's philosopher.

    • stream_of_thought_id integer Required

      Stream of thought's ID.

    • period_id integer Required

      Period's ID.

    • resume string Required

      Short resume about the philosopher.

    • birth_year integer Required

      Birth's year.

    • dead_year integer Required

      Dead's year.

    • wiki string Required

      Link to the Philosopher's wikipedia page.

    • img_url string Required

      Portrait's philosopher.

    • stream_of_thought_name string Required

      Philosopher's stream of thought name.

    • period_name string Required

      Philosopher's period name.

  • 400

    bad input parameter

GET /philosophers/stream_of_thought/{streamOfThoughtID}
curl \
 -X GET https://philosapi.vercel.app/api/philosophers/stream_of_thought/5
Response examples (200)
[
  {
    "id": 42,
    "name": "string",
    "birth_place": "string",
    "stream_of_thought_id": 42,
    "period_id": 42,
    "resume": "string",
    "birth_year": 42,
    "dead_year": 42,
    "wiki": "string",
    "img_url": "string",
    "stream_of_thought_name": "string",
    "period_name": "string"
  }
]