Create mirror repository from API #9713

Closed
opened 2025-11-02 08:47:20 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @fauzanelka on GitHub (Oct 20, 2022).

Feature Description

I recently saw that Gitea did not provide a way to create a mirror from API, the strange thing is that you can actually update the mirror interval from the endpoint /repos/{owner}/{repo}.

Do you guys open PR for this implementation? Is that possible?

Screenshots

No response

Originally created by @fauzanelka on GitHub (Oct 20, 2022). ### Feature Description I recently saw that Gitea did not provide a way to create a mirror from API, the strange thing is that you can actually update the mirror interval from the endpoint `/repos/{owner}/{repo}`. Do you guys open PR for this implementation? Is that possible? ### Screenshots _No response_
GiteaMirror added the issue/duplicate label 2025-11-02 08:47:20 -06:00
Author
Owner

@jolheiser commented on GitHub (Nov 13, 2022):

This is indeed possible via the migration API by supplying mirror: true and/or an optional interval.

@jolheiser commented on GitHub (Nov 13, 2022): This is indeed possible via the [migration API](https://try.gitea.io/api/swagger#/repository/repoMigrate) by supplying `mirror: true` and/or an optional interval.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9713