Skip to content

Instructor Dashboard - Course Team Management API - GET - List by Rolename - SCHEMA #37559

@tonybusa

Description

@tonybusa
Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    AC Testing

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions