Skip to main content
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>'

Documentation Index

Fetch the complete documentation index at: https://gogs.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Personal access token. Use format: token {YOUR_ACCESS_TOKEN}

Path Parameters

owner
string
required

Repository owner

repo
string
required

Repository name

Response

Mirror sync has been queued.