GitLab · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitLab REST Push rules API

9 actions 9 updates phrasing extends openapi/gitlab-push-rules-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 9

$.info
$.paths['/api/v4/groups/{id}/push_rule'].get
$.paths['/api/v4/groups/{id}/push_rule'].put
$.paths['/api/v4/groups/{id}/push_rule'].post
$.paths['/api/v4/groups/{id}/push_rule'].delete
$.paths['/api/v4/projects/{id}/push_rule'].get
$.paths['/api/v4/projects/{id}/push_rule'].put
$.paths['/api/v4/projects/{id}/push_rule'].post
$.paths['/api/v4/projects/{id}/push_rule'].delete

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 Push rules API
  version: 1.0.0
extends: openapi/gitlab-push-rules-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: 8
- target: $.paths['/api/v4/groups/{id}/push_rule'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a group's push rules
      effect: read
      questions:
      - What push rules are set on a group?
      - Can I see the branch and commit rules for a group?
      instructions:
      - text: Show the push rules of group {id}.
        slots:
          id: path.id
      - text: Get the branch name and commit message rules for group {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/groups/{id}/push_rule'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a group's push rules
      effect: write
      questions:
      - How do I change the push rules on a group?
      - Can I require signed commits for a group?
      instructions:
      - text: Update the push rules of group {id}.
        slots:
          id: path.id
      - text: Set the branch name regex on group {id} to {branch_name_regex}.
        slots:
          id: path.id
          branch_name_regex: requestBody.branch_name_regex
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/groups/{id}/push_rule'].post
  update:
    x-apievangelist-phrasing:
      intent: Add push rules to a group
      effect: write
      questions:
      - How do I set the first push rules on a group?
      - Can I prevent secret files in a group?
      instructions:
      - text: Add push rules to group {id}.
        slots:
          id: path.id
      - text: Set the max file size to {max_file_size} MB for group {id}.
        slots:
          id: path.id
          max_file_size: requestBody.max_file_size
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/groups/{id}/push_rule'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a group's push rules
      effect: destructive
      questions:
      - How do I remove all push rules from a group?
      - Can I reset a group's branch and commit rules?
      instructions:
      - text: Delete the push rules of group {id}.
        slots:
          id: path.id
      - text: Remove every branch and commit rule from group {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/push_rule'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a project's push rules
      effect: read
      questions:
      - What branch and commit rules does a project have?
      - Can I check the push rules on a single project?
      instructions:
      - text: Show the push rules of project {id}.
        slots:
          id: path.id
      - text: Get the branch name and commit message rules for project {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/push_rule'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a project's push rules
      effect: write
      questions:
      - How do I change the push rules on a project?
      - Can I require committer email checks for a project?
      instructions:
      - text: Update the push rules of project {id}.
        slots:
          id: path.id
      - text: Set the commit author email regex on project {id} to {author_email_regex}.
        slots:
          id: path.id
          author_email_regex: requestBody.author_email_regex
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/push_rule'].post
  update:
    x-apievangelist-phrasing:
      intent: Add push rules to a project
      effect: write
      questions:
      - How do I set the first push rules on a project?
      - Can I prevent secret files in a project?
      instructions:
      - text: Add push rules to project {id}.
        slots:
          id: path.id
      - text: Set the max file size to {max_file_size} MB for project {id}.
        slots:
          id: path.id
          max_file_size: requestBody.max_file_size
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/push_rule'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a project's push rules
      effect: destructive
      questions:
      - How do I remove all push rules from a project?
      - Can I reset a project's branch and commit rules?
      instructions:
      - text: Delete the push rules of project {id}.
        slots:
          id: path.id
      - text: Remove every branch and commit rule from project {id}.
        slots:
          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-push-rules-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.