Mentor

Updates the specified mentor's office hours

Required role: STAFF

put/mentor/{id}/

Request

  • Base URL: https://adonix.hackillinois.org
  • URL: https://adonix.hackillinois.org/mentor/{id}/
  • Auth: none declared

Path parameters

idstring required
Example:a1f25

Request body

mentorNamestring required
locationstring required
startTimenumber required

Unix timestamp

endTimenumber required

Unix timestamp

Example request

{
  "mentorName": "Bob the Mentor",
  "location": "Siebel 2407",
  "startTime": 1707235200000,
  "endTime": 1707238800000
}

Response

The updated office hours

mentorNamestring required
locationstring required
startTimenumber required

Unix timestamp

endTimenumber required

Unix timestamp

mentorIdstring required

Example response

{
  "mentorName": "Bob the Mentor",
  "location": "Siebel 2407",
  "startTime": 1707235200000,
  "endTime": 1707238800000,
  "mentorId": "a1f25"
}

Changes

No recorded changes to this operation across all 1 revision of this API.