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 URLhttps://gogs.example.com/api/v1
- AuthAPI 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.