Forgejo · Schema

PayloadCommit

PayloadCommit represents a commit

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
added array
author object
committer object
id string sha1 hash of the commit
message string
modified array
removed array
timestamp string
url string
verification object
View JSON Schema on GitHub

JSON Schema

payloadcommit.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "PayloadCommit",
  "description": "PayloadCommit represents a commit",
  "type": "object",
  "properties": {
    "added": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-go-name": "Added"
    },
    "author": {
      "$ref": "#/definitions/PayloadUser"
    },
    "committer": {
      "$ref": "#/definitions/PayloadUser"
    },
    "id": {
      "description": "sha1 hash of the commit",
      "type": "string",
      "x-go-name": "ID"
    },
    "message": {
      "type": "string",
      "x-go-name": "Message"
    },
    "modified": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-go-name": "Modified"
    },
    "removed": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-go-name": "Removed"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "Timestamp"
    },
    "url": {
      "type": "string",
      "x-go-name": "URL"
    },
    "verification": {
      "$ref": "#/definitions/PayloadCommitVerification"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}