[PR #509] [MERGED] API Endpoints for forks #15421

Closed
opened 2025-11-02 11:46:10 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/509
Author: @ethantkoenig
Created: 12/27/2016
Status: Merged
Merged: 12/31/2016
Merged by: @lunny

Base: masterHead: api/forks


📝 Commits (1)

📊 Changes

4 files changed (+104 additions, -3 deletions)

View changed files

📝 routers/api/v1/api.go (+2 -0)
routers/api/v1/repo/fork.go (+61 -0)
vendor/code.gitea.io/sdk/gitea/fork.go (+38 -0)
📝 vendor/vendor.json (+3 -3)

📄 Description

Adds the following endpoints:

  • GET /repos/:user/:repo/forks: List a repository's fork
  • POST /repos/:user/:repo/forks: Fork a repository

See also https://github.com/go-gitea/go-sdk/pull/30


🔄 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/509 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 12/27/2016 **Status:** ✅ Merged **Merged:** 12/31/2016 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `api/forks` --- ### 📝 Commits (1) - [`ed4bb8d`](https://github.com/go-gitea/gitea/commit/ed4bb8d360d8d019ae34e7be08b4e4f6da65b1f4) API endpoints for forks ### 📊 Changes **4 files changed** (+104 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `routers/api/v1/api.go` (+2 -0) ➕ `routers/api/v1/repo/fork.go` (+61 -0) ➕ `vendor/code.gitea.io/sdk/gitea/fork.go` (+38 -0) 📝 `vendor/vendor.json` (+3 -3) </details> ### 📄 Description Adds the following endpoints: - `GET /repos/:user/:repo/forks`: List a repository's fork - `POST /repos/:user/:repo/forks`: Fork a repository See also https://github.com/go-gitea/go-sdk/pull/30 --- <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:46:10 -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#15421