Request data for pipeline event hook

Hi,

I want to integrate the pipeline event hook into our project. I want to post events based on failure status reported by pipeline event hook.

I see the documentation here but this looks like a hard coded data. I am not able to find possibilities for each value in this. For example what are possibilities for status key.

I also want to find out if there a possibility to know which job failed in a pipeline through pipeline event hook? because right now when I tried it I didn’t find any such helpful data. Let me know if that’s possbility or not.