Mirror sync
curl --request POST \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/mirror-sync \
--header 'Authorization: <api-key>'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
Mirror sync
curl --request POST \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/mirror-sync \
--header 'Authorization: <api-key>'