Skip to content

Way to set mirror interval via API? #11605

@rcarmo

Description

@rcarmo
  • Gitea version (or commit ref): latest
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

There seems to be no way to set the mirror interval using the API. I can see mirror: true when I GET /repos/{owner}/{repo}, and I see the Web UI POSTing to /user/repo/settings, but there is no corresponding API call...
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    modifies/apiThis PR adds API routes or modifies themtype/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