Please open an Online Programs API

I did not use Online Programs app but if there are auto built-in collections. You can handle events (your first request about event.js) by adding data hooks.

For the second part not sure what you want to achieve but it sounds like you’ll need APIs so it’s not possible yet.