O saldo e o extrato de pontos de um membro
GET/api/points/members/{memberId}
- Auth
- Requires a token
- 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.
Owner e admin, de qualquer membro; a própria pessoa, de si. Moderador, financeiro e outro membro: 403.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
memberIdrequired | path | string (uuid) | |
limitoptional | query | integer | |
beforeoptional | query | string (date-time) |
Headers
| Name | Type | Description |
|---|---|---|
X-CommunityIdoptional | string (uuid) | ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade. |
Responses
| Status | Description |
|---|---|
200 | O extrato. |
403 | Autenticado, mas sem permissão para esta operação. |
404 | Recurso não encontrado. |
curl example
curl -X GET "https://api.memberfy.net/api/points/members/<memberId>" \
-H "Authorization: Bearer $TOKEN" \
-H "X-CommunityId: $COMMUNITY_ID"