GitLab · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitLab REST Remote mirrors API

8 actions 8 updates phrasing extends openapi/gitlab-remote-mirrors-api-openapi.yml
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.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/api/v4/projects/{id}/remote_mirrors'].get
$.paths['/api/v4/projects/{id}/remote_mirrors'].post
$.paths['/api/v4/projects/{id}/remote_mirrors/{mirror_id}'].get
$.paths['/api/v4/projects/{id}/remote_mirrors/{mirror_id}'].put
$.paths['/api/v4/projects/{id}/remote_mirrors/{mirror_id}'].delete
$.paths['/api/v4/projects/{id}/remote_mirrors/{mirror_id}/sync'].post
$.paths['/api/v4/projects/{id}/remote_mirrors/{mirror_id}/public_key'].get

OpenAPI Overlay

Raw ↑
# 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 Remote mirrors API
  version: 1.0.0
extends: openapi/gitlab-remote-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: 7
- target: $.paths['/api/v4/projects/{id}/remote_mirrors'].get
  update:
    x-apievangelist-phrasing:
      intent: List a project's push mirrors
      effect: read
      questions:
      - Which remote mirrors push to my project?
      - Can I see all mirror URLs for a project?
      instructions:
      - text: List remote mirrors for project {id}.
        slots:
          id: path.id
      - text: Show every push mirror of {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/remote_mirrors'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a push mirror
      effect: write
      questions:
      - How do I push my project's changes to another GitLab instance?
      - Can I mirror only protected branches to a remote mirror?
      instructions:
      - text: Create a push mirror of {id} to {url}.
        slots:
          id: path.id
          url: requestBody.url
      - text: Mirror project {id} to {url} with only protected branches {only_protected_branches}.
        slots:
          id: path.id
          url: requestBody.url
          only_protected_branches: requestBody.only_protected_branches
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/remote_mirrors/{mirror_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one remote mirror
      effect: read
      questions:
      - What URL and auth method does a specific mirror use?
      - Can I check whether one mirror is enabled?
      instructions:
      - text: Show remote mirror {mirror_id} of project {id}.
        slots:
          mirror_id: path.mirror_id
          id: path.id
      - text: Get the configuration of mirror {mirror_id} on {id}.
        slots:
          mirror_id: path.mirror_id
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/remote_mirrors/{mirror_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a remote mirror
      effect: write
      questions:
      - How do I change the auth method of an existing mirror?
      - Can I stop a mirror from keeping divergent refs?
      instructions:
      - text: Update mirror {mirror_id} of {id} to use auth method {auth_method}.
        slots:
          mirror_id: path.mirror_id
          id: path.id
          auth_method: requestBody.auth_method
      - text: Set mirror {mirror_id} on {id} to keep divergent refs {keep_divergent_refs}.
        slots:
          mirror_id: path.mirror_id
          id: path.id
          keep_divergent_refs: requestBody.keep_divergent_refs
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/remote_mirrors/{mirror_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a remote mirror
      effect: destructive
      questions:
      - How do I stop mirroring a project to a remote instance?
      - Can I remove a mirror I no longer use?
      instructions:
      - text: Delete remote mirror {mirror_id} from project {id}.
        slots:
          mirror_id: path.mirror_id
          id: path.id
      - text: Remove mirror {mirror_id} on {id}.
        slots:
          mirror_id: path.mirror_id
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/remote_mirrors/{mirror_id}/sync'].post
  update:
    x-apievangelist-phrasing:
      intent: Force a push mirror update
      effect: write
      questions:
      - How do I push changes to a mirror right now?
      - Can I trigger a mirror sync manually?
      instructions:
      - text: Force a sync of mirror {mirror_id} on project {id}.
        slots:
          mirror_id: path.mirror_id
          id: path.id
      - text: Push the latest changes to mirror {mirror_id} of {id}.
        slots:
          mirror_id: path.mirror_id
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/remote_mirrors/{mirror_id}/public_key'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a mirror's SSH public key
      effect: read
      questions:
      - Where do I get the public key to add to my mirror's known hosts?
      - What public key does a mirror use for SSH authentication?
      instructions:
      - text: Get the public key of mirror {mirror_id} on project {id}.
        slots:
          mirror_id: path.mirror_id
          id: path.id
      - text: Show the SSH key for mirror {mirror_id} of {id}.
        slots:
          mirror_id: path.mirror_id
          id: path.id
      method: generated
      generated: '2026-11-23'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/gitlab-remote-mirrors-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

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.

A second provider on the same verified email joins the account you already have.