teacher

IDで指定されたteacherの取得

get/teachers/{id}

Request

  • Base URL: http://localhost:1323
  • URL: http://localhost:1323/teachers/{id}
  • Auth: none declared

Path parameters

idinteger required

id

Response

teacherの取得

idinteger required
namestring required
positionstring required
department_idinteger required
buildingstring required
roomstring
is_blackboolean required
remarkstring required

Example response

{
  "id": 1,
  "name": "test-name",
  "position": "准教授",
  "department_id": 1,
  "building": "研究棟",
  "remark": "備考"
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the optional property from the response with the status