Get Period by ID.

GET /periods/{periodID}

Get the period by ID.

Path parameters

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/{periodID}
curl \
 -X GET https://philosapi.vercel.app/api/periods/3
Response examples (200)
[
  {
    "id": 42,
    "name": "string"
  }
]