Repositories

Mirror sync

Add a mirror repository to the sync queue. Returns 404 if the repository is not a mirror.

post/repos/{owner}/{repo}/mirror-sync

Request

  • Base URL
    https://gogs.example.com/api/v1
  • Auth
    API key in header Authorization

Path parameters

ownerstring required

Repository owner

repostring required

Repository name

Response

Mirror sync has been queued.

Changes

No recorded changes to this operation across all 3 revisions of this API.