Forgejo · Schema

CreatePullReviewComment

CreatePullReviewComment represent a review comment for creation api

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
body string
extra_lines_count integer number of additional lines after the commented line (0 = single line comment)
new_position integer if comment to new file line or 0
old_position integer if comment to old file line or 0
path string the tree path
View JSON Schema on GitHub

JSON Schema

createpullreviewcomment.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CreatePullReviewComment",
  "description": "CreatePullReviewComment represent a review comment for creation api",
  "type": "object",
  "properties": {
    "body": {
      "type": "string",
      "x-go-name": "Body"
    },
    "extra_lines_count": {
      "description": "number of additional lines after the commented line (0 = single line comment)",
      "type": "integer",
      "format": "int64",
      "x-go-name": "ExtraLinesCount"
    },
    "new_position": {
      "description": "if comment to new file line or 0",
      "type": "integer",
      "format": "int64",
      "x-go-name": "NewLineNum"
    },
    "old_position": {
      "description": "if comment to old file line or 0",
      "type": "integer",
      "format": "int64",
      "x-go-name": "OldLineNum"
    },
    "path": {
      "description": "the tree path",
      "type": "string",
      "x-go-name": "Path"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}