-
Story
-
Resolution: Done
-
Normal
-
None
-
5
-
False
-
-
False
-
None
-
Unset
-
No
-
-
-
Plat-Ex Services Sprint 11, Plat-Ex Services Sprint 12, Plat-Ex Services Sprint 13, Plat-Ex Services Sprint 14, Plat-Ex Services Sprint 15, Plat-Ex Services Sprint 16, Plat-Ex Services Sprint 17, Plat-Ex Services Sprint 18, Plat-Ex Services Q2 Tech Debt, Plat-Ex Services Sprint 19, Plat-Ex Services Sprint 20, Plat-Ex Services Sprint 21
Enable chrome to poll the API to handle the pdf generation lifecycle. When a PDF is requested through the `/v2/create` endpoint, an ID is returned. Using that ID, the `/v2/status/:ID` endpoint can be used to get a json object containing the status of the generation. When the status of the object is 'Generated', you can fetch the full rendered PDF with the same ID at the `/v2/download/:ID` endpoint.
AC:
Chrome can fetch a rendered PDF from the API
Chrome can do smart enough polling on the status object