Azure DevOps · Schema

GitPush

A push to a Git repository

AgileCI/CDDevOpsProject ManagementVersion Control

Properties

Name Type Description
pushId integer Unique numeric push ID
date string Date and time of the push
pushedBy object
commits array Commits included in this push
refUpdates array Ref updates (branch changes) in this push
repository object
url string
View JSON Schema on GitHub

JSON Schema

microsoft-azure-devops-gitpush-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GitPush",
  "title": "GitPush",
  "type": "object",
  "description": "A push to a Git repository",
  "properties": {
    "pushId": {
      "type": "integer",
      "description": "Unique numeric push ID"
    },
    "date": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time of the push"
    },
    "pushedBy": {
      "$ref": "#/components/schemas/IdentityRef"
    },
    "commits": {
      "type": "array",
      "description": "Commits included in this push",
      "items": {
        "$ref": "#/components/schemas/GitCommitRef"
      }
    },
    "refUpdates": {
      "type": "array",
      "description": "Ref updates (branch changes) in this push",
      "items": {
        "$ref": "#/components/schemas/GitRefUpdate"
      }
    },
    "repository": {
      "$ref": "#/components/schemas/GitRepository"
    },
    "url": {
      "type": "string",
      "format": "uri"
    }
  }
}