repository

Get all push mirrors of the repository

Changed on
get/repos/{owner}/{repo}/push_mirrors

Request

  • Base URL
    https://demo.gitea.com/api/v1
  • Auth
    • HTTP basic
    • or API key in query parameter token
    • or API key in query parameter access_token
    • or API key in header Authorization
    • or API key in query parameter sudo
    • or API key in header Sudo
    • or API key in header X-GITEA-OTP
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

Query parameters

pageinteger

page number of results to return (1-based)

limitinteger

page size of results

Response

PushMirrorList

createdstring date-time
intervalstring

The sync interval for automatic updates

last_errorstring

The last error message encountered during sync

last_updatestring date-time
remote_addressstring

The remote repository URL being mirrored to

remote_namestring

The name of the remote in the git configuration

repo_namestring

The name of the source repository

sync_on_commitboolean

Whether to sync on every commit

Changes

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status