i can see the list of hooks here https://git.drupalcode.org/project/h5p/blob/HEAD/h5p.api.php but i dont understand how each one gets triggered and what parameters have to be passed.
are there any online examples of how to use this api in D8 ?
EDIT:
There is no documentation currently in place for the existing hooks. This normally lives in a module.api.php file. This file got removed during the D8 migration but should be added back in for better developer experience and documentation.
Active
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.