Skip to content

Get push mirror of the repository by remoteName

GET
/repos/{owner}/{repo}/push_mirrors/{name}
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

name
required
string

Remote name of push mirror

PushMirror

Media type application/json

PushMirror represents information of a push mirror

object
branch_filter
string
created
string format: date-time
interval
string
last_error
string
last_update
string format: date-time
public_key
string
remote_address
string
remote_name
string
repo_name
string
sync_on_commit
boolean
Example generated
{
"branch_filter": "example",
"created": "2026-04-15T12:00:00Z",
"interval": "example",
"last_error": "example",
"last_update": "2026-04-15T12:00:00Z",
"public_key": "example",
"remote_address": "example",
"remote_name": "example",
"repo_name": "example",
"sync_on_commit": true
}

APIError is error format response

Media type application/json

APIError is an api error with a message

object
message
string
url
string
Example generated
{
"message": "example",
"url": "example"
}

APIForbiddenError is a forbidden error response

Media type application/json
object
message
string
url
string
Example generated
{
"message": "example",
"url": "example"
}

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}