UEAD / REST API V1
Getting started
API access depends on both the application scopes and the user’s current profile permissions.
Base URL
https://dev.uead.eu/developers/api/v1
Authentication
Authorization: Bearer <TOKEN>
User-delegated apps use OAuth access tokens. Backend integrations use API keys stored server-side.
ENDPOINTS
Available endpoints
| Method | Path | Scope | Purpose |
|---|---|---|---|
| GET | /ping | integration:ping | Kapcsolat és hitelesítés ellenőrzése |
| GET | /animals | animals:read | Saját/engedélyezett állatok listája |
| GET | /animals/{id} | animals:read | Egy állat engedélyezett részletei |
| POST | /animals | animals:write | Új állat regisztrálása |
| PATCH | /animals/{id}/status | animals:write | Állat állapotának módosítása |
| GET | /reports | reports:read | Saját bejelentések listája |
| GET | /reports/{id} | reports:read | Egy bejelentés részletei |
| POST | /reports | reports:write | Új állatvédelmi bejelentés |
{id} denotes a UEAD-A- or UEAD-R-identifier. Lists support limit (1–50) and offset (0–10000).
{
"items": [
{
"id": "UEAD-A-<24 hex karakter>",
"name": "Példa állat",
"species": "dog",
"sex": "female",
"animalState": "active"
}
],
"limit": 25,
"offset": 0,
"nextOffset": 1,
"hasMore": false
}MUTATION
Status changes & submissions
PATCH /animals/{id}/status also requires edit permission for the given animal, not just animals:write.
{
"animalState": "inactive"
}See Documentation for the complete POST payload schemas.
Submission schemas →ERRORS & LIMITS
Errors and limits
| HTTP | Meaning |
|---|---|
400 | invalid_json — hibás JSON |
401 | invalid_token — hiányzó/érvénytelen hozzáférés |
403 | insufficient_scope / access_denied / profile_access_revoked — nincs jogosultság |
404 | not_found — rekord nem érhető el |
405 | method_not_allowed — hibás HTTP-metódus |
413 | payload_too_large — túl nagy beküldés |
415 | json_required — Content-Type: application/json szükséges |
422 | required_fields, invalid_option, idempotency_key_required vagy más validációs hiba |
429 | rate_limited — túl sok kérés |
503 | temporarily_unavailable — átmeneti szerverhiba |
Default hourly budget: 240 reads and 30 writes. All read scopes share one read budget and all write scopes share one write budget per app/environment, across both API keys and OAuth tokens. Production quotas can be customized in Developer Console (60–12,000 reads and 10–2,400 writes per hour); Sandbox is fixed at 240/30. Response headers: X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset, plus Retry-After on HTTP 429. JSON request body maximum: 100 KB.