Azure DevOps · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Azure DevOps Git Repositories Pushes API

3 actions 3 updates phrasing extends openapi/microsoft-azure-devops-pushes-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Azure DevOps's API. It is a proposal applied on top of the contract, not a document Azure DevOps publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 3

$.info
$.paths['/git/repositories/{repositoryId}/pushes'].get
$.paths['/git/repositories/{repositoryId}/pushes'].post

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 Azure DevOps Git Repositories Pushes API
  version: 1.0.0
extends: openapi/microsoft-azure-devops-pushes-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 2
- target: $.paths['/git/repositories/{repositoryId}/pushes'].get
  update:
    x-apievangelist-phrasing:
      intent: List pushes to a repository
      effect: read
      questions:
      - Who pushed to a branch and when?
      - Can I see pushes to a repository within a date range?
      instructions:
      - text: List pushes to repository {repositoryId}.
        slots:
          repositoryId: path.repositoryId
      - text: List pushes to {refName} in {repositoryId} between {fromDate} and {toDate}.
        slots:
          refName: query.searchCriteria.refName
          repositoryId: path.repositoryId
          fromDate: query.searchCriteria.fromDate
          toDate: query.searchCriteria.toDate
      - text: Show pushes by {pusherId} to repository {repositoryId}.
        slots:
          pusherId: query.searchCriteria.pusherId
          repositoryId: path.repositoryId
      method: generated
      generated: '2026-09-26'
- target: $.paths['/git/repositories/{repositoryId}/pushes'].post
  update:
    x-apievangelist-phrasing:
      intent: Push commits with file changes
      effect: write
      questions:
      - How do I commit a file change to an Azure Repos branch without cloning it?
      - Can I create a branch and a commit in a single API push?
      instructions:
      - text: Push commits {commits} to repository {repositoryId} updating refs {refUpdates}.
        slots:
          commits: requestBody.commits
          repositoryId: path.repositoryId
          refUpdates: requestBody.refUpdates
      - text: Commit these file changes {commits} to branch {refUpdates} of {repositoryId}.
        slots:
          commits: requestBody.commits
          refUpdates: requestBody.refUpdates
          repositoryId: path.repositoryId
      method: generated
      generated: '2026-09-26'