Redireciona para o PDF do certificado
GET/api/certificates/{id}/pdf
- Auth
- Token erforderlich
- 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.
Dono ou quem emite. Regenera na hora se o arquivo sumiu. 410 se revogado; 409 enquanto ainda está sendo gerado.
Parameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | path | string (uuid) |
Header
| Name | Typ | Beschreibung |
|---|---|---|
X-CommunityIdoptional | string (uuid) | ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade. |
Antworten
| Status | Beschreibung |
|---|---|
302 | Redireciona para o arquivo. |
401 | Token ausente, inválido ou expirado. |
404 | Recurso não encontrado. |
409 | Ainda gerando. |
410 | Certificado revogado. |
500 | Erro interno do servidor. |
curl-Beispiel
curl -X GET "https://api.memberfy.net/api/certificates/<id>/pdf" \
-H "Authorization: Bearer $TOKEN" \
-H "X-CommunityId: $COMMUNITY_ID"