[PR #3550] [MERGED] API endpoint for testing webhook #16990

Closed
opened 2025-11-02 12:23:42 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3550
Author: @ethantkoenig
Created: 2/21/2018
Status: Merged
Merged: 4/29/2018
Merged by: @lunny

Base: masterHead: api/test_webhook


📝 Commits (4)

  • 867077b API endpoint for testing webhook
  • 53eeeff Empty commit to rerun CI
  • e6ff87f Merge branch 'master' into api/test_webhook
  • 88fcb38 Merge branch 'master' into api/test_webhook

📊 Changes

7 files changed (+165 additions, -5 deletions)

View changed files

📝 models/fixtures/hook_task.yml (+1 -0)
📝 modules/test/context_tests.go (+12 -1)
📝 public/swagger.v1.json (+40 -0)
📝 routers/api/v1/api.go (+6 -3)
📝 routers/api/v1/repo/hook.go (+57 -1)
routers/api/v1/repo/hook_test.go (+33 -0)
routers/api/v1/repo/main_test.go (+16 -0)

📄 Description

Adds a POST /repos/:owner/:repo/hooks/:id/tests API endpoint for testing a push webhook. Also adds a unit test for the endpoint.


🔄 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/3550 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 2/21/2018 **Status:** ✅ Merged **Merged:** 4/29/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `api/test_webhook` --- ### 📝 Commits (4) - [`867077b`](https://github.com/go-gitea/gitea/commit/867077bea72d833f1f967e92370a91ec468dbed1) API endpoint for testing webhook - [`53eeeff`](https://github.com/go-gitea/gitea/commit/53eeeff7961c1d0e499e768812d493c449191ac2) Empty commit to rerun CI - [`e6ff87f`](https://github.com/go-gitea/gitea/commit/e6ff87fe4771c1939048c967d2aa9733f8196b70) Merge branch 'master' into api/test_webhook - [`88fcb38`](https://github.com/go-gitea/gitea/commit/88fcb386f88080ee79ff652d5cca396aefe4e8ca) Merge branch 'master' into api/test_webhook ### 📊 Changes **7 files changed** (+165 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `models/fixtures/hook_task.yml` (+1 -0) 📝 `modules/test/context_tests.go` (+12 -1) 📝 `public/swagger.v1.json` (+40 -0) 📝 `routers/api/v1/api.go` (+6 -3) 📝 `routers/api/v1/repo/hook.go` (+57 -1) ➕ `routers/api/v1/repo/hook_test.go` (+33 -0) ➕ `routers/api/v1/repo/main_test.go` (+16 -0) </details> ### 📄 Description Adds a `POST /repos/:owner/:repo/hooks/:id/tests` API endpoint for testing a push webhook. Also adds a unit test for the endpoint. --- <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 12:23:42 -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#16990