-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/docsThis PR mainly updates/creates documentationThis PR mainly updates/creates documentation
Description
I am currently working on a custom notification system involving Gitea. The details of this setup aren't really relevant to the topic at hand; there'll be an HTTP server that takes events via webhooks and produces notifications to send elsewhere.
My problem: there's hardly any documentation on webhooks. The doc page merely lists the different hooks available (Gitea, Gogs, and a few proprietary chat platforms) and gives one example of a payload for push events plus PHP code to securely accept a message. Here's a list of things I'm missing:
- Other event types (issue changes, PRs, etc.)
- Which fields are available exactly, what are the data types and values, and which fields might be missing or have unexpected values depending on e.g. configuration or environment?
- In which Gitea versions were the fields added, changed, or removed, so that I can determine which Gitea versions are compatible with my server?
- What are the compatibility guarantees for future Gitea versions? Can I be reasonably sure that code written against current Gitea versions will work until the next major release (2.0)?
steko, timskovjacobsen, danieldietsch, pjanx, tema3210 and 4 more
Metadata
Metadata
Assignees
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/docsThis PR mainly updates/creates documentationThis PR mainly updates/creates documentation