Forgejo · Schema

FileCommitResponse contains information generated from a Git commit for a repo's file.

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
author object
committer object
created string
html_url string
message string
parents array
sha string
tree object
url string
View JSON Schema on GitHub

JSON Schema

filecommitresponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "FileCommitResponse contains information generated from a Git commit for a repo's file.",
  "type": "object",
  "properties": {
    "author": {
      "$ref": "#/definitions/CommitUser"
    },
    "committer": {
      "$ref": "#/definitions/CommitUser"
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "Created"
    },
    "html_url": {
      "type": "string",
      "x-go-name": "HTMLURL"
    },
    "message": {
      "type": "string",
      "x-go-name": "Message"
    },
    "parents": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/CommitMeta"
      },
      "x-go-name": "Parents"
    },
    "sha": {
      "type": "string",
      "x-go-name": "SHA"
    },
    "tree": {
      "$ref": "#/definitions/CommitMeta"
    },
    "url": {
      "type": "string",
      "x-go-name": "URL"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}