Get Periods

GET /periods

Get a list of all the periods of these 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.

Responses

  • 200 application/json

    Response 200

    Hide response attributes Show response attributes object
    • id integer Required

      The ID of the period.

    • name string Required

      Period's name.

  • bad input parameter

GET /periods
curl \
 -X GET https://philosapi.vercel.app/api/periods
Response examples (200)
[
  {
    "id": 42,
    "name": "string"
  }
]