According to the screenshot on Figma above, it appears to display a list of "staff" role with username, email. The existing API can be used for this:
POST /courses/{course_id}instructor/api/list_course_role_members will return an object containing the list of rolename for a specific course:
{
"course_id": "some/course/id",
"staff": [
{
"username": "staff1",
"email": "staff1@example.org",
"first_name": "Joe",
"last_name": "Shmoe",
}
]
}
where staff in the above can be any rolename of ['instructor', 'staff', 'beta', 'ccx_coach'] which is included in the request payload. In our case, we want to send rolename=staff. Currently the API does not support search or pagination.
According to the screenshot on Figma above, it appears to display a list of "staff" role with username, email. The existing API can be used for this:
POST /courses/{course_id}instructor/api/list_course_role_members will return an object containing the list of rolename for a specific course:where
staffin the above can be anyrolenameof['instructor', 'staff', 'beta', 'ccx_coach']which is included in the request payload. In our case, we want to sendrolename=staff. Currently the API does not support search or pagination.