When using the API endpoint, “/repos/:owner/:repo/events”, do the ‘id’ and ‘push_id’ values map back to anything contained in a webhook payload, such as the “GitHub-Delivery ID”?
I am trying to come up with a way of comparing payloads received by webhooks against payloads github ‘thinks’ it delivered to those webhooks, to ensure none were ‘lost’ due to 413/503 type errors. For example, if I have multiple webhooks that fire on a push event, I want to scan all those payloads (via the API) and do a “1-to-1” comparison against payloads received by webhook scripts. If 50 payloads were sent, but only 48 received, I want to know exactly what 2 payloads (and from what hook(s)) were ‘lost’ (without having to go into the gui and manually trudge through every payload from every webhook )
Do the ‘id’ and ‘push_id’ values (as retrieved by the events API) point back to the webhook or payload somehow? I know there isn’t an API to list all webhook deliveries, but there has to be a way to compare “what was sent” against “what was received”, I would hope anyhow.
Thanks in advance!