remote_mirrors
List all remote mirrors for a project
Lists all remote mirrors for a specified project.
get/api/v4/projects/{id}/remote_mirrors
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the project
Query parameters
pageinteger
Current page number
per_pageinteger
Number of items per page
Response
List all remote mirrors for a project
Example response
[
{
"id": 101486,
"enabled": true,
"url": "https://*****:*****@example.com/gitlab/example.git",
"update_status": "finished",
"last_update_at": "2020-01-06T17:32:02.823Z",
"last_update_started_at": "2020-01-06T17:32:02.823Z",
"last_successful_update_at": "2020-01-06T17:31:55.864Z",
"last_error": "The remote mirror URL is invalid.",
"auth_method": "password",
"host_keys": [
{
"fingerprint_sha256": "SHA256:abcd1234"
}
],
"mirror_branch_regex": "feature-.*"
}
]Changes
No recorded changes to this operation across all 5 revisions of this API.