Files
Blueprint files (actionstools_app/files/views.py), table em_actions_files
(_staging outside production), key (target_uuid, uuid). The file itself lives in B2B
documents (B2B documents); this service keeps the metadata row that the UI
lists and the activity stream shows.
| Method | Path | Behaviour |
|---|---|---|
POST |
|
Store the upload response the client received from B2B documents as a file row. Headers
|
GET |
|
Files of the target, newest first ( |
GET |
|
Download: proxies |
DELETE |
|
Deletes the document in B2B documents first ( |
The upload flow is therefore two calls from the client: upload the file to B2B documents, then
POST /files/ with that response.