GED — Documents
Return a presigned URL for document download — OU 302 redirect vers
Return a presigned URL for document download — OU 302 redirect vers /file si l'URL n'est pas public-resolvable.
GED audit (FU R332) : sans `S3_PUBLIC_ENDPOINT` configuré, la presigned
URL retournait `http://minio:9000/...` (hostname Docker interne)
inutilisable côté client. Maintenant on redirect vers le stream backend
qui marche partout (auth + tenant_filter + audit log per request).
API integrations avec un endpoint S3 public peuvent set `S3_PUBLIC_ENDPOINT`
pour récupérer une vraie URL presigned sans passer par le proxy backend.
Permissions requises : ged:read
get/api/v1/ged/documents/{document_id}/download
Request
- Base URL: https://erp.eyeot.fr/api/v1
- URL: https://erp.eyeot.fr/api/v1/api/v1/ged/documents/{document_id}/download
- Auth: one of:
- HTTP bearer
- HTTP bearer
Response
Succès — payload {data, meta} (cf. API-GUIDE §3.1)
Changes
No recorded changes to this operation across all 1 revision of this API.