This service keeps track of files uploaded during the citizen journey of forms-runner via the cdp-uploader.
forms-runner
- A call to
POST /fileis made via cdp-uploader to ingest the file into the database. - After some time, the user submits the form. A call to
/files/persistis made to extend the expiry time. - A download link is sent to the internal user, but this link is NOT the result of
POST /file/linkbut a permanent download page in forms-designer that allows the user to input the retrieval key.
forms-designer
- Upon the download link being accessed in forms-designer, forms-designer makes makes a call to
POST /file/linkwhich creates a short lived access link, which is then shared with the user.
Uploaded files may not eventually be submitted if the user abandons the form submission, therefore steps 2-4 are optional and the files will naturally expire according to the S3 policies.