Create a new student
POST /students
Create a new student account (student role required)
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”Student name and email are taken from authenticated user
object
Optional class code for the student
Responses
Section titled “ Responses ”Student already exists
object
Indicates if the request was successful
Response message
object
Unique identifier for the student
Name of the student
Email address of the student
Class code the student belongs to
Timestamp when the student was created
Student created successfully
object
Indicates if the request was successful
Response message
object
Unique identifier for the student
Name of the student
Email address of the student
Class code the student belongs to
Timestamp when the student was created
Bad request - invalid input
object
Indicates if the request was successful
Response message
Unauthorized - authentication required
object
Indicates if the request was successful
Response message
Forbidden - insufficient permissions
object
Indicates if the request was successful
Response message
Internal server error
object
Indicates if the request was successful
Response message