Generated by API Evangelist
Written by API Evangelist tooling for GitLab's API. It is a proposal applied on top of the contract, not a document GitLab publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for GitLab REST Project mirrors API
version: 1.0.0
extends: openapi/gitlab-project-mirrors-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-23'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/api/v4/projects/{id}/mirror/pull'].get
update:
x-apievangelist-phrasing:
intent: Get a project's pull mirror settings
effect: read
questions:
- Is pull mirroring enabled on my project?
- What remote URL and credentials does a project pull mirror use?
instructions:
- text: Show the pull mirror settings for project {id}.
slots:
id: path.id
- text: Get the pull mirror configuration of {id}.
slots:
id: path.id
method: generated
generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/mirror/pull'].put
update:
x-apievangelist-phrasing:
intent: Update a project's pull mirror settings
effect: write
questions:
- How do I turn on pull mirroring for a project?
- Can I mirror only protected branches or only branches matching a regex?
instructions:
- text: Enable pull mirroring on project {id} from {url}.
slots:
id: path.id
url: requestBody.url
- text: Set the mirror user {auth_user} and password {auth_password} for {id}.
slots:
id: path.id
auth_user: requestBody.auth_user
auth_password: requestBody.auth_password
method: generated
generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/mirror/pull'].post
update:
x-apievangelist-phrasing:
intent: Start a project pull mirror sync
effect: write
questions:
- How do I kick off a pull mirror sync for a project?
- Can I force a failed mirror update to retry?
instructions:
- text: Start a pull mirror sync for project {id}.
slots:
id: path.id
- text: Force a mirror sync of {id} with action {action}.
slots:
id: path.id
action: requestBody.action
method: generated
generated: '2026-11-23'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.