List all teachers
GET /teachers
GET
/teachers
Retrieves a list of all teachers with their resource information
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Teachers retrieved successfully
object
success
boolean
true
data
Array<object>
object
teacher_id
required
Unique identifier for the teacher
integer
teacher_name
required
Name of the teacher
string
email
required
Email address of the teacher
string format: email
used_resources
Number of resources currently used by the teacher
integer
total_resources
Total number of resources allocated to the teacher
integer
Unauthorized - authentication required
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string
Forbidden - insufficient permissions
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string
Internal server error
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string