Zum Inhalt springen

As minhas indicações de pares no ciclo

GET/api/performance-reviews/cycles/{cycleId}/nominations/mine

Auth
Token erforderlich
API-Schlüssel:
Kein API-Schlüssel möglich
X-CommunityId
X-CommunityId Sende 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.

Fase 1b. Quem é avaliado no ciclo aberto (os outros: 404): os pares que indicou, com o status (`PENDING`, `APPROVED`), se o líder pôs alguém (`byLeader`), e a janela (`min`, `max`, `endsOn`, `validationEndsOn`, `canNominate`, `canValidate`).

Parameter

NameOrtTypBeschreibung
cycleIdPflichtpathstring (uuid)

Header

NameTypBeschreibung
X-CommunityIdoptionalstring (uuid)ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade.

Antworten

StatusBeschreibung
200`{ enabled, min, max, endsOn, validationEndsOn, canNominate, canValidate, nominations: [{ id, status, reviewee, nominee, byLeader, validatedBy, validatedAt }] }`.
401Token ausente, inválido ou expirado; token de outra comunidade (o `X-CommunityId` ou o `communityId` do corpo não é o do token); token antigo ou de uma sessão encerrada (troca de senha, convite aceito). Nesses casos a mensagem pede para entrar de novo (`auth.signInAgain`).
403Sem permissão (`teamOnly`: só owner e admin; `progressDenied`/`resultsDenied`: quem não lidera ninguém; `supportSession`).
404Recurso não encontrado.
500Erro interno do servidor.

curl-Beispiel

curl -X GET "https://api.memberfy.net/api/performance-reviews/cycles/<cycleId>/nominations/mine" \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-CommunityId: $COMMUNITY_ID"