Mentor

Create a mentor's office hours

Required role: STAFF

post/mentor/

Request

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

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 new 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.