Get teacher's resources
GET /resources/teachers/{teacherId}
GET
/resources/teachers/{teacherId}
Retrieves resources for a specific teacher by ID
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” teacherId
required
integer
The teacher ID to get resources for
Responses
Section titled “ Responses ”Teacher resources retrieved successfully
object
success
boolean
true
data
Array<object>
object
resource_id
required
Unique identifier for the resource
integer
teacher_id
required
Teacher ID associated with the resource
integer
used_resources
required
Number of resources currently used
integer
total_resources
required
Total number of resources allocated
integer
study_year
required
Academic year for the resource allocation
string
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
Resource not found
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