shared.files¶
The shared file module. It covers not only upload but also the actions that attach to a file - datestamping, download and attaching a transaction document.
7 endpoints - system shared - module gate applies
What this module covers - Files and their attachment targets (transactions and so on).
Endpoints¶
| Method | Path | What it does | Evidence |
|---|---|---|---|
| POST | /files/batch |
Upload several files at once | handler sharedFilesBody() · calls kj-photo-plugin.js |
| GET/POST/PATCH | /files |
List, register or edit files | handler sharedFilesQuery() · calls inbound-loader.php, kj-photo-plugin.js |
| POST | /files/media/datestamp |
Stamp a date watermark onto a photo | handler sharedFilesBody() · calls kj-photo-plugin.js |
| POST | /files/media/download |
Download a media file (packing list and so on) | handler sharedFilesBody() · calls packingList.php, kj-photo-plugin.js |
| POST | /files/media/upload |
Upload a media file | handler sharedFilesBody() · calls operations-manual.php, inbound-loader.php |
| POST | /files/transaction-documents |
Register a file attached to a transaction document | handler sharedFilesRunWrite() · calls kj-table-utilities.js |
| DELETE/PATCH | /files/(?P<id>\d+) |
Delete or edit a file | handler sharedFilesRequireId() |
The description is a summary read off the route path, the handler, the tables it reaches and the screens that call it. Nothing is guessed without evidence: where the handler has to be read, it says so. The full evidence is on each endpoint page.