Discard an upload
The upload is discarded, who it names is redacted and its stored files are deleted. A filed upload cannot be discarded (409 UPLOADER_CASE_NOT_TO_FILE).
The upload is discarded, who it names is redacted and its stored files are deleted. A filed upload cannot be discarded (409 UPLOADER_CASE_NOT_TO_FILE).
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
1 <= length <= 200Response Body
application/json
curl -X POST "https://example.com/uploader/cases/string/discard"{ "id": "string", "itemRef": "string", "computerId": "string", "computerName": "string", "state": "importing", "matchNote": "matched_code", "parkReason": "too_large", "scannedPerson": { "firstName": "string", "lastName": "string", "dateOfBirth": "string", "code": "string" }, "capturedAt": "string", "preset": "string", "fileCount": 0, "contents": [ "scan" ], "patientId": "string", "patientName": "string", "orderId": "string", "orderDisplayId": "string", "filedByName": "string", "filedAt": "string", "createdAt": "string", "files": [ { "id": "string", "name": "string", "bytes": 0, "content": "scan", "state": "pending" } ]}Record a person's upload to a patient (and an order) POST
Records the item, its patient, order and filer chosen; the computer then registers the same manifest bytes and sends the files, and the item files onto them (onto the patient alone, `order_closed`, if the order stopped taking files meanwhile). 409 UPLOADER_COMPUTER_REVOKED, UPLOADER_ITEM_CHANGED or UPLOADER_ITEM_PATIENT_CHANGED; 422 UPLOADER_ORDER_CLOSED or UPLOADER_MANIFEST_INVALID.
File a waiting upload onto a patient POST
409 UPLOADER_CASE_NOT_TO_FILE unless the upload waits for a patient; 409 UPLOADER_DOB_MISMATCH when the scan's date of birth differs and `confirmDobMismatch` is not set. Over the clinic's storage limit the case answers parked (`storage_limit`); file it again later.