API: Expose more mirror related option. #10824

Open
opened 2025-11-02 09:19:15 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @buengese on GitHub (May 10, 2023).

Feature Description

Please expose more of the mirror related configuration options via the API. Currently the only mirror related option that seems to be able to be updated via the API is mirror-interval. The following options should also be updatable via API in my opinion:

  • clone url (for pull mirors)
  • remote repository url (for push miror)
  • authorization options.
    In addition I especially want an option to convert a mirrored repository into a regular repository via the API.

Screenshots

No response

Originally created by @buengese on GitHub (May 10, 2023). ### Feature Description Please expose more of the mirror related configuration options via the API. Currently the only mirror related option that seems to be able to be updated via the API is `mirror-interval`. The following options should also be updatable via API in my opinion: - clone url (for pull mirors) - remote repository url (for push miror) - authorization options. In addition I especially want an option to convert a mirrored repository into a regular repository via the API. ### Screenshots _No response_
GiteaMirror added the topic/apitype/proposal labels 2025-11-02 09:19:15 -06:00
Author
Owner

@Kovah commented on GitHub (Jan 15, 2024):

I second this. The same endpoints that are available for push mirrors (#19796) would be great to have for pull mirrors. At the moment, there seems to be no way to get the remote mirror url of a repository via the API. 😕

@Kovah commented on GitHub (Jan 15, 2024): I second this. The same endpoints that are available for push mirrors (#19796) would be great to have for pull mirrors. At the moment, there seems to be no way to get the remote mirror url of a repository via the API. 😕
Author
Owner

@onyx-and-iris commented on GitHub (Mar 5, 2025):

This would be extremely useful. I'd like to be able to change pull mirror configuration via the api, in particular the url and authorization options.

@onyx-and-iris commented on GitHub (Mar 5, 2025): This would be extremely useful. I'd like to be able to change pull mirror configuration via the api, in particular the url and authorization options.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10824