Skip to content

Lista os instrutores do curso

GET/api/courses/{courseId}/instructors

Auth
Requires a token
API key:
courses:read
X-CommunityId
X-CommunityId Send 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

NameInTypeDescription
courseIdrequiredpathstring (uuid)

Headers

NameTypeDescription
X-CommunityIdrequiredstring (uuid)

Responses

StatusDescription
200Os instrutores, em ordem
403Nem owner/admin/equipe nem instrutor deste curso
404Curso 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"