GitLab · Schema

API_Entities_Commit

API_Entities_Commit from GitLab API

CodePlatformSoftware DevelopmentSource Control

Properties

Name Type Description
id string
short_id string
created_at string
parent_ids array
title string
message string
author_name string
author_email string
authored_date string
committer_name string
committer_email string
committed_date string
trailers object
web_url string
View JSON Schema on GitHub

JSON Schema

gitlab-openapi-original-api_entities_commit-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/json-schema/gitlab-openapi-original-api_entities_commit-schema.json",
  "title": "API_Entities_Commit",
  "description": "API_Entities_Commit from GitLab API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "example": "2695effb5807a22ff3d138d593fd856244e155e7"
    },
    "short_id": {
      "type": "string",
      "example": "2695effb"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "example": "2017-07-26 09:08:53+00:00"
    },
    "parent_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "example": "2a4b78934375d7f53875269ffd4f45fd83a84ebe"
      }
    },
    "title": {
      "type": "string",
      "example": "Initial commit"
    },
    "message": {
      "type": "string",
      "example": "Initial commit"
    },
    "author_name": {
      "type": "string",
      "example": "John Smith"
    },
    "author_email": {
      "type": "string",
      "example": "[email protected]"
    },
    "authored_date": {
      "type": "string",
      "format": "date-time",
      "example": "2012-05-28 11:42:42+00:00"
    },
    "committer_name": {
      "type": "string",
      "example": "Jack Smith"
    },
    "committer_email": {
      "type": "string",
      "example": "[email protected]"
    },
    "committed_date": {
      "type": "string",
      "format": "date-time",
      "example": "2012-05-28 11:42:42+00:00"
    },
    "trailers": {
      "type": "object",
      "properties": {},
      "example": "{ \"Merged-By\": \"Jane Doe [email protected]\" }"
    },
    "web_url": {
      "type": "string",
      "example": "https://gitlab.example.com/janedoe/gitlab-foss/-/commit/ed899a2f4b50b4370feeea94676502b42383c746"
    }
  }
}