Forgejo · Schema

PullReviewComment

PullReviewComment represents a comment on a pull request review

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
body string
commit_id string
created_at string
diff_hunk string
extra_lines_count integer number of additional lines after the commented line (0 = single line comment)
html_url string
id integer
original_commit_id string
original_position integer
path string
position integer
pull_request_review_id integer
pull_request_url string
resolver object
updated_at string
user object
View JSON Schema on GitHub

JSON Schema

pullreviewcomment.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "PullReviewComment",
  "description": "PullReviewComment represents a comment on a pull request review",
  "type": "object",
  "properties": {
    "body": {
      "type": "string",
      "x-go-name": "Body"
    },
    "commit_id": {
      "type": "string",
      "x-go-name": "CommitID"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "Created"
    },
    "diff_hunk": {
      "type": "string",
      "x-go-name": "DiffHunk"
    },
    "extra_lines_count": {
      "description": "number of additional lines after the commented line (0 = single line comment)",
      "type": "integer",
      "format": "int64",
      "x-go-name": "ExtraLinesCount"
    },
    "html_url": {
      "type": "string",
      "x-go-name": "HTMLURL"
    },
    "id": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "ID"
    },
    "original_commit_id": {
      "type": "string",
      "x-go-name": "OrigCommitID"
    },
    "original_position": {
      "type": "integer",
      "format": "uint64",
      "x-go-name": "OldLineNum"
    },
    "path": {
      "type": "string",
      "x-go-name": "Path"
    },
    "position": {
      "type": "integer",
      "format": "uint64",
      "x-go-name": "LineNum"
    },
    "pull_request_review_id": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "ReviewID"
    },
    "pull_request_url": {
      "type": "string",
      "x-go-name": "HTMLPullURL"
    },
    "resolver": {
      "$ref": "#/definitions/User"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "Updated"
    },
    "user": {
      "$ref": "#/definitions/User"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}