Forgejo · Schema

TimelineComment

TimelineComment represents a timeline comment (comment of any type) on a commit or issue

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
assignee object
assignee_team object
body string
created_at string
dependent_issue object
html_url string
id integer
issue_url string
label object
milestone object
new_ref string
new_title string
old_milestone object
old_project_id integer
old_ref string
old_title string
project_id integer
pull_request_url string
ref_action string
ref_comment object
ref_commit_sha string commit SHA where issue/PR was referenced
ref_issue object
removed_assignee boolean whether the assignees were removed or added
resolve_doer object
review_id integer
tracked_time object
type string
updated_at string
user object
View JSON Schema on GitHub

JSON Schema

timelinecomment.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "TimelineComment",
  "description": "TimelineComment represents a timeline comment (comment of any type) on a commit or issue",
  "type": "object",
  "properties": {
    "assignee": {
      "$ref": "#/definitions/User"
    },
    "assignee_team": {
      "$ref": "#/definitions/Team"
    },
    "body": {
      "type": "string",
      "x-go-name": "Body"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "Created"
    },
    "dependent_issue": {
      "$ref": "#/definitions/Issue"
    },
    "html_url": {
      "type": "string",
      "x-go-name": "HTMLURL"
    },
    "id": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "ID"
    },
    "issue_url": {
      "type": "string",
      "x-go-name": "IssueURL"
    },
    "label": {
      "$ref": "#/definitions/Label"
    },
    "milestone": {
      "$ref": "#/definitions/Milestone"
    },
    "new_ref": {
      "type": "string",
      "x-go-name": "NewRef"
    },
    "new_title": {
      "type": "string",
      "x-go-name": "NewTitle"
    },
    "old_milestone": {
      "$ref": "#/definitions/Milestone"
    },
    "old_project_id": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "OldProjectID"
    },
    "old_ref": {
      "type": "string",
      "x-go-name": "OldRef"
    },
    "old_title": {
      "type": "string",
      "x-go-name": "OldTitle"
    },
    "project_id": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "ProjectID"
    },
    "pull_request_url": {
      "type": "string",
      "x-go-name": "PRURL"
    },
    "ref_action": {
      "type": "string",
      "x-go-name": "RefAction"
    },
    "ref_comment": {
      "$ref": "#/definitions/Comment"
    },
    "ref_commit_sha": {
      "description": "commit SHA where issue/PR was referenced",
      "type": "string",
      "x-go-name": "RefCommitSHA"
    },
    "ref_issue": {
      "$ref": "#/definitions/Issue"
    },
    "removed_assignee": {
      "description": "whether the assignees were removed or added",
      "type": "boolean",
      "x-go-name": "RemovedAssignee"
    },
    "resolve_doer": {
      "$ref": "#/definitions/User"
    },
    "review_id": {
      "type": "integer",
      "format": "int64",
      "x-go-name": "ReviewID"
    },
    "tracked_time": {
      "$ref": "#/definitions/TrackedTime"
    },
    "type": {
      "type": "string",
      "x-go-name": "Type"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "Updated"
    },
    "user": {
      "$ref": "#/definitions/User"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}