---
title: "Get push mirror of the repository by remoteName"
method: GET
path: "/repos/{owner}/{repo}/push_mirrors/{name}"
tags: ["repository"]
---

# Get push mirror of the repository by remoteName

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

## Path parameters

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

## Response `200`

PushMirror

- PushMirror — PushMirror represents information of a push mirror
  - `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/versions/350de506cefa/schema)
