Kanıt Paketleri API
GET /api/v1/evidence-packs/:id
Denetim kanıt paketi detayını döndürür. Endpoint enterprise audit entegrasyonu için tasarlanır ve tenant filtresi API tarafında uygulanır.
| Alan | Değer |
|---|---|
| Auth | x-api-key veya JWT |
| Permission | evidence-packs:read |
| Plan | Enterprise-only |
Yol Parametreleri
| Parametre | Tip | Not |
|---|---|---|
id | string | Organization scoped evidence pack id |
Yanıt
Yanıt id, title, status, checksum, manifestSignature,
readinessSummary, verificationAppendix, fileKey, downloadUrl, error,
createdAt ve completedAt alanlarını içerir.
Hata Kodları
| Status | Anlam |
|---|---|
401 | API key veya JWT eksik/geçersiz |
403 | Enterprise plan veya evidence-packs:read yok |
404 | Evidence pack yok veya tenant kapsamı dışında |
429 | Rate limit aşıldı |
Örnekler
curl -s "https://api.mevzuatradar.com/api/v1/evidence-packs/pack_01" \
-H "x-api-key: $MEVZUATRADAR_API_KEY"