High Level Purpose: Have CHEFS store enpoint urls/tokens in a postgres table where the tokens to call api endpoints in the CHEFS system that are event driven. The main event would be on submit of . CHEFS can then have event driven api callout endpoints. The initial subsribed event will be for the form_submission from a subscribed form. CHEFS will use these endpoints to make restful call outs to approved systems. The ability to create subscriptions will be restricted to approved government systems.
Background: Transportation built a polling method to pick up form submissions through the use of API calls. It would be easier for government applications to instead subscribe to events where the CHEFS application would call out to the endpoint and pass the data after the event. In the case of form submissions the json of the form would be passed in the body.
...