Skip to content

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

Open
@mohsek

Description

@mohsek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    modifies/apiThis PR adds API routes or modifies themtype/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions