[PR #650] [MERGED] Bug fixes for webhook API #15513

Closed
opened 2025-11-02 11:48:18 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/650
Author: @ethantkoenig
Created: 1/12/2017
Status: Merged
Merged: 1/14/2017
Merged by: @lunny

Base: masterHead: fix/api_hook


📝 Commits (1)

  • 0a14209 Bug fixes for webhook API

📊 Changes

4 files changed (+54 additions, -7 deletions)

View changed files

📝 models/webhook.go (+3 -1)
📝 routers/api/v1/api.go (+41 -3)
📝 routers/api/v1/org/hook.go (+5 -1)
📝 routers/api/v1/repo/hook.go (+5 -2)

📄 Description

Require organization membership/ownership for API operations involving an organization's webhooks. 404 if a user tries to delete a non-existent webhook.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/650 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 1/12/2017 **Status:** ✅ Merged **Merged:** 1/14/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix/api_hook` --- ### 📝 Commits (1) - [`0a14209`](https://github.com/go-gitea/gitea/commit/0a14209a3d23a45db73a51745084a16888157dbf) Bug fixes for webhook API ### 📊 Changes **4 files changed** (+54 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `models/webhook.go` (+3 -1) 📝 `routers/api/v1/api.go` (+41 -3) 📝 `routers/api/v1/org/hook.go` (+5 -1) 📝 `routers/api/v1/repo/hook.go` (+5 -2) </details> ### 📄 Description Require organization membership/ownership for API operations involving an organization's webhooks. 404 if a user tries to delete a non-existent webhook. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:48:18 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15513