Lista os instrutores do curso
GET/api/courses/{courseId}/instructors
- Auth
- Token erforderlich
- API-Schlüssel:
- courses:read
- X-CommunityId
X-CommunityIdSende die X-CommunityId der Community, in der die Operation stattfindet.
Die Beschreibungen der Endpoints stammen aus der API-Spezifikation und sind vorerst auf Portugiesisch. Die Oberfläche drumherum ist übersetzt.
Para a equipe (owner, admin, moderador, financeiro) e os instrutores do próprio curso. Os instrutores também vêm em `instructors` no detalhe e na lista de cursos.
Parameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
courseIdPflicht | path | string (uuid) |
Header
| Name | Typ | Beschreibung |
|---|---|---|
X-CommunityIdPflicht | string (uuid) |
Antworten
| Status | Beschreibung |
|---|---|
200 | Os instrutores, em ordem |
403 | Nem owner/admin/equipe nem instrutor deste curso |
404 | Curso não encontrado nesta comunidade |
curl-Beispiel
curl -X GET "https://api.memberfy.net/api/courses/<courseId>/instructors" \
-H "Authorization: Bearer $TOKEN" \
-H "X-CommunityId: $COMMUNITY_ID"