List Attachments
Keyset-paginated list of the record's attachments. Soft-deleted
(archived) rows are excluded. Default order is newest-first
(-created_at).
โถPagination
Keyset cursor via page[size] (default 50, max 200). meta.has_next and
links.next drive forward paging; id is the stable tie-break. Supports
the standard four Accept formats (application/json,
application/geo+json, application/x-ndjson, application/x-ndgeo+json).
โถFilters
| Filter | Conditions | Values |
|---|---|---|
filter[category] | eq, in | the category enum |
filter[source] | eq, in | operator, supplier, third_party, verifier |
filter[status] | eq, in | pending, stored |
filter[verification_status] | eq, in | approved, awaiting_verification, rejected |
filter[filename] | eq, in, contains, startsWith | string (ILIKE for contains/startsWith) |
filter[plot_id] | eq | uuid โ attachments covering this plot (matched via the pivot) |
Conditions use the shared filter[field]=cond:value syntax (e.g.
filter[source]=eq:verifier). A malformed value returns 400, never a
500.
โถSort
?sort= (prefix - for descending) on created_at (default),
confirmed_at, size_bytes, filename, category, source, status,
or verification_status.
โถErrors
| Status | When |
|---|---|
| 400 | Malformed filter / sort / pagination param |
| 404 | Record not visible to the caller's org |
Required scope:
eudr:read