[API] add new endpoints for push mirrors management #8996

Open
opened 2025-11-02 08:25:09 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @mohsek on GitHub (May 24, 2022).

Feature Description

I think it will be great if the Gitea API can handle the push mirrors as it is the case on the Gitlab API. So I suggest these new endpoints :

  • Add a push mirror to specific repository
  • Sync now ( send all the changes to the configured push mirrors )
  • Get list of all push mirrors of a specific repository
  • Get push mirror by ID
  • Delete push mirror by ID

Screenshots

image

Originally created by @mohsek on GitHub (May 24, 2022). ### Feature Description I think it will be great if the Gitea API can handle the push mirrors as it is the case on the[ Gitlab API](https://docs.gitlab.com/ee/api/remote_mirrors.html). So I suggest these new endpoints : * [x] Add a push mirror to specific repository * [x] Sync now ( send all the changes to the configured push mirrors ) * [x] Get list of all push mirrors of a specific repository * [x] Get push mirror by ID * [x] Delete push mirror by ID ### Screenshots ![image](https://user-images.githubusercontent.com/98962410/170046305-91d0cb1e-a57b-4e4e-a7c4-1c95cdd1a26a.png)
GiteaMirror added the type/featuretype/proposalmodifies/api labels 2025-11-02 08:25:09 -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#8996