Lista os instrutores do curso
GET/api/courses/{courseId}/instructors
- Auth
- Requires a token
- API key:
- courses:read
- X-CommunityId
X-CommunityIdSend the X-CommunityId of the community the operation happens in.
Endpoint descriptions come straight from the API specification and are in Portuguese for now. The interface around them is translated.
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.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
courseIdrequired | path | string (uuid) |
Headers
| Name | Type | Description |
|---|---|---|
X-CommunityIdrequired | string (uuid) |
Responses
| Status | Description |
|---|---|
200 | Os instrutores, em ordem |
403 | Nem owner/admin/equipe nem instrutor deste curso |
404 | Curso não encontrado nesta comunidade |
curl example
curl -X GET "https://api.memberfy.net/api/courses/<courseId>/instructors" \
-H "Authorization: Bearer $TOKEN" \
-H "X-CommunityId: $COMMUNITY_ID"