Get philosopher

GET /philosophers/{philosopherID}

Get a philosopher by ID.

Path parameters

Responses

  • 200 application/json

    Response 200

    Hide response attributes Show response attributes object
  • bad input parameter

GET /philosophers/{philosopherID}
curl \
 -X GET https://philosapi.vercel.app/api/philosophers/15
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"
  }
]