Lista ou consulta images
GET/api/gallery/images
- Auth
- Öffentlich
- 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.
Autenticação opcional: o conteúdo retornado varia conforme o membro autenticado. O space precisa ser da comunidade do `X-CommunityId`; space de outra comunidade (ou requisição sem o header) responde 404, como se não existisse.
Parameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | query | string (uuid) | Valid space ID is required |
pageoptional | query | integer | Page must be a positive integer |
limitoptional | query | integer | Limit must be between 1 and 50 |
sortByoptional | query | createdAt | views | likes | title | Invalid sort field |
orderoptional | query | asc | desc | Order must be asc or desc |
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 |
|---|---|
200 | Operação realizada com sucesso. |
400 | Requisição inválida — falha de validação. |
404 | Space não encontrado: não existe, foi removido ou é de outra comunidade que não a do `X-CommunityId`. |
500 | Erro interno do servidor. |
curl-Beispiel
curl -X GET "https://api.memberfy.net/api/gallery/images" \
-H "X-CommunityId: $COMMUNITY_ID"