The gist of it: I should see files in the staging_files API call, as I've got one in the UI. I don't see anything, however. Doesn't make sense.
Here I have a document staged ready for processing:

However my API call doesn't show any files

Code: Select all
I, [2020-01-25T23:33:21.629733 #30009] INFO -- request: GET http://10.10.220.119:8000/api/staging_folders/
D, [2020-01-25T23:33:21.629778 #30009] DEBUG -- request: accept: "application/json"
Authorization: "Token BLERP"
User-Agent: "Faraday v0.17.3"
I, [2020-01-25T23:33:21.654555 #30009] INFO -- response: Status 200
D, [2020-01-25T23:33:21.654630 #30009] DEBUG -- response: server: "gunicorn/19.9.0"
date: "Sun, 26 Jan 2020 05:33:21 GMT"
connection: "close"
content-type: "application/json"
vary: "Accept, Accept-Language, Origin, Cookie"
allow: "GET, HEAD, OPTIONS"
content-language: "en"
x-frame-options: "SAMEORIGIN"
content-length: "64"
D, [2020-01-25T23:33:21.654805 #30009] DEBUG -- response: {"count"=>1, "next"=>nil, "previous"=>nil, "results"=>[{"files"=>[]}]}