We need to set up the backend for the forms status work on My VA. We need to ensure that the user endpoint can include statuses along with the array of drafts that it fetches. This ticket is to establish a connection with the POST /uploads/report endpoint from vets api and expose the new vets api endpoint to the frontend.
Documentation/swagger and BE analytics will also be needed for this but will be separate tickets.
Tasks
[ ] setup new vets-api endpoint that can be called to make the lighthouse request on FE's behalf
[ ] code & unit tests
[ ] integration tests
[ ] verify if SiP form IDs we receive from GET /v0/user match those expected by lighthouse POST /uploads/report endpoint params
[ ] IF IDs don't match, document ideas/plan to obtain matching IDs from lighthouse
Acceptance Criteria
[ ] Endpoint is connected but behind a feature flag (prod and staging)
Validation
Who can validate this ticket? (FE, BE, Design, PM)?: Tom, BE CoP
How can this work be validated? : automated testing, code review, event logging & analytics
Background
We need to set up the backend for the forms status work on My VA. We need to ensure that the user endpoint can include statuses along with the array of drafts that it fetches. This ticket is to establish a connection with the
POST /uploads/report
endpoint from vets api and expose the new vets api endpoint to the frontend.Documentation/swagger and BE analytics will also be needed for this but will be separate tickets.
Tasks
GET /v0/user
match those expected by lighthousePOST /uploads/report
endpoint paramsAcceptance Criteria
Validation