---
title: "Get all push mirrors of the repository"
method: GET
path: "/repos/{owner}/{repo}/push_mirrors"
tags: ["repository"]
---

# Get all push mirrors of the repository

`GET /repos/{owner}/{repo}/push_mirrors`

## Path parameters

- `owner` string, required
- `repo` string, required

## Query parameters

- `page` integer
- `limit` integer

## Response `200`

PushMirrorList

- PushMirror[]
  - `created` string, date-time
  - `interval` string — The sync interval for automatic updates
  - `last_error` string — The last error message encountered during sync
  - `last_update` string, date-time
  - `remote_address` string — The remote repository URL being mirrored to
  - `remote_name` string — The name of the remote in the git configuration
  - `repo_name` string — The name of the source repository
  - `sync_on_commit` boolean — Whether to sync on every commit

## Other responses

- `400` — APIError is error format response
- `403` — APIForbiddenError is a forbidden error response
- `404` — APINotFound is a not found empty response

---

[API](https://skmtc.net/gitea/apis/gitea-api.md) · [All operations](https://skmtc.net/gitea/apis/gitea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitea/gitea-api/revisions/350de506cefa/schema)
