Skip to content

GitHub: Issues schemas (part 2)

12 GitHub schemas with complete fields and constraints.

← Issues operations · All schemas

List timeline events for an issue — response body — item

FieldTypePresenceDescription and constraints
$objectRootTimeline Event
$ (anyOf 1)ModelAlternativeExpand List issue events — response body — item Labeled Issue Event
$ (anyOf 2)ModelAlternativeExpand List issue events — response body — item Unlabeled Issue Event
$ (anyOf 3)ModelAlternativeExpand List issue events — response body — item Milestoned Issue Event
$ (anyOf 4)ModelAlternativeExpand List issue events — response body — item Demilestoned Issue Event
$ (anyOf 5)ModelAlternativeExpand List issue events — response body — item Renamed Issue Event
$ (anyOf 6)ModelAlternativeExpand List issue events — response body — item Review Requested Issue Event
$ (anyOf 7)ModelAlternativeExpand List issue events — response body — item Review Request Removed Issue Event
$ (anyOf 8)ModelAlternativeExpand List issue events — response body — item Review Dismissed Issue Event
$ (anyOf 9)ModelAlternativeExpand List issue events — response body — item Locked Issue Event
$ (anyOf 10)ModelAlternativeExpand List issue events — response body — item Added to Project Issue Event
$ (anyOf 11)ModelAlternativeExpand List issue events — response body — item Moved Column in Project Issue Event
$ (anyOf 12)ModelAlternativeExpand List issue events — response body — item Removed from Project Issue Event
$ (anyOf 13)ModelAlternativeExpand List issue events — response body — item Converted Note to Issue Issue Event
$ (anyOf 14)ModelAlternativeExpand List timeline events for an issue — response body — item Timeline Comment Event
$ (anyOf 15)ModelAlternativeExpand List timeline events for an issue — response body — item Timeline Cross Referenced Event
$ (anyOf 16)ModelAlternativeExpand List timeline events for an issue — response body — item Timeline Committed Event
$ (anyOf 17)ModelAlternativeExpand List timeline events for an issue — response body — item Timeline Reviewed Event
$ (anyOf 18)ModelAlternativeExpand List timeline events for an issue — response body — item Timeline Line Commented Event
$ (anyOf 19)ModelAlternativeExpand List timeline events for an issue — response body — item Timeline Commit Commented Event
$ (anyOf 20)ModelAlternativeExpand List timeline events for an issue — response body — item Timeline Assigned Issue Event
$ (anyOf 21)ModelAlternativeExpand List timeline events for an issue — response body — item Timeline Unassigned Issue Event
$ (anyOf 22)ModelAlternativeExpand List timeline events for an issue — response body — item State Change Issue Event
$ (anyOf 23)ModelAlternativeExpand List issue events — response body — item Issue Type Added Issue Event
$ (anyOf 24)ModelAlternativeExpand List issue events — response body — item Issue Type Removed Issue Event
$ (anyOf 25)ModelAlternativeExpand List issue events — response body — item Issue Type Changed Issue Event
$ (anyOf 26)ModelAlternativeExpand List issue events — response body — item Sub-issue Added Issue Event
$ (anyOf 27)ModelAlternativeExpand List issue events — response body — item Sub-issue Removed Issue Event
$ (anyOf 28)ModelAlternativeExpand List issue events — response body — item Parent-issue Added Issue Event
$ (anyOf 29)ModelAlternativeExpand List issue events — response body — item Parent-issue Removed Issue Event
$ (anyOf 30)ModelAlternativeExpand List issue events — response body — item Blocked-by Added Issue Event
$ (anyOf 31)ModelAlternativeExpand List issue events — response body — item Blocked-by Removed Issue Event
$ (anyOf 32)ModelAlternativeExpand List issue events — response body — item Blocking Added Issue Event
$ (anyOf 33)ModelAlternativeExpand List issue events — response body — item Blocking Removed Issue Event
$ (anyOf 34)ModelAlternativeExpand List timeline events for an issue — response body — item Timeline Connected Event
$ (anyOf 35)ModelAlternativeExpand List timeline events for an issue — response body — item Timeline Disconnected Event

Referenced models: List issue events — response body — item Added to Project Issue Event, List issue events — response body — item Blocked-by Added Issue Event, List issue events — response body — item Blocked-by Removed Issue Event, List issue events — response body — item Blocking Added Issue Event, List issue events — response body — item Blocking Removed Issue Event, List issue events — response body — item Converted Note to Issue Issue Event, List issue events — response body — item Demilestoned Issue Event, List issue events — response body — item Issue Type Added Issue Event, List issue events — response body — item Issue Type Changed Issue Event, List issue events — response body — item Issue Type Removed Issue Event, List issue events — response body — item Labeled Issue Event, List issue events — response body — item Locked Issue Event, List issue events — response body — item Milestoned Issue Event, List issue events — response body — item Moved Column in Project Issue Event, List issue events — response body — item Parent-issue Added Issue Event, List issue events — response body — item Parent-issue Removed Issue Event, List issue events — response body — item Removed from Project Issue Event, List issue events — response body — item Renamed Issue Event, List issue events — response body — item Review Dismissed Issue Event, List issue events — response body — item Review Request Removed Issue Event, List issue events — response body — item Review Requested Issue Event, List timeline events for an issue — response body — item State Change Issue Event, List issue events — response body — item Sub-issue Added Issue Event, List issue events — response body — item Sub-issue Removed Issue Event, List timeline events for an issue — response body — item Timeline Assigned Issue Event, List timeline events for an issue — response body — item Timeline Comment Event, List timeline events for an issue — response body — item Timeline Commit Commented Event, List timeline events for an issue — response body — item Timeline Committed Event, List timeline events for an issue — response body — item Timeline Connected Event, List timeline events for an issue — response body — item Timeline Cross Referenced Event, List timeline events for an issue — response body — item Timeline Disconnected Event, List timeline events for an issue — response body — item Timeline Line Commented Event, List timeline events for an issue — response body — item Timeline Reviewed Event, List timeline events for an issue — response body — item Timeline Unassigned Issue Event, List issue events — response body — item Unlabeled Issue Event

List timeline events for an issue — response body — item State Change Issue Event

FieldTypePresenceDescription and constraints
$objectRootState Change Issue Event
actorModelRequired within parentExpand List users — response body — item
commit_idJSONRequired within parent
commit_id (anyOf 1)stringAlternative
commit_id (anyOf 2)nullAlternative
commit_urlJSONRequired within parent
commit_url (anyOf 1)stringAlternative
commit_url (anyOf 2)nullAlternative
created_atstringRequired within parent
eventstringRequired within parent
idJSONRequired within parent
id (anyOf 1)integerAlternative
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
intentModelOptionalExpand Get an issue event — response body — intent
node_idstringRequired within parent
performed_via_github_appModelRequired within parentExpand Get an app — response body
state_reasonJSONOptional
state_reason (anyOf 1)stringAlternative
state_reason (anyOf 2)nullAlternative
urlstringRequired within parent

Referenced models: Get an app — response body, Get an issue event — response body — intent, List users — response body — item

List timeline events for an issue — response body — item Timeline Assigned Issue Event

FieldTypePresenceDescription and constraints
$objectRootTimeline Assigned Issue Event
actorModelRequired within parentExpand List users — response body — item
assigneeModelRequired within parentExpand List users — response body — item
commit_idJSONRequired within parent
commit_id (anyOf 1)stringAlternative
commit_id (anyOf 2)nullAlternative
commit_urlJSONRequired within parent
commit_url (anyOf 1)stringAlternative
commit_url (anyOf 2)nullAlternative
created_atstringRequired within parent
eventstringRequired within parent
idJSONRequired within parent
id (anyOf 1)integerAlternative
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
intentModelOptionalExpand Get an issue event — response body — intent
node_idstringRequired within parent
performed_via_github_appModelRequired within parentExpand Get an app — response body
urlstringRequired within parent

Referenced models: Get an app — response body, Get an issue event — response body — intent, List users — response body — item

List timeline events for an issue — response body — item Timeline Comment Event

FieldTypePresenceDescription and constraints
$objectRootTimeline Comment Event
actorModelRequired within parentExpand List users — response body — item
author_associationstringRequired within parentHow the author is associated with the repository.
Known values: COLLABORATOR, CONTRIBUTOR, FIRST_TIMER, FIRST_TIME_CONTRIBUTOR, MANNEQUIN, MEMBER, NONE, OWNER
bodystringOptionalContents of the issue comment
body_htmlstringOptional
body_textstringOptional
created_atstringRequired within parentFormat: date-time
eventstringRequired within parent
html_urlstringRequired within parentFormat: uri
idJSONRequired within parent
id (anyOf 1)integerAlternativeUnique identifier of the issue comment
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
issue_urlstringRequired within parentFormat: uri
minimizedModelOptionalExpand Get an issue comment — response body — minimized
node_idstringRequired within parent
performed_via_github_appModelOptionalExpand Get an app — response body
pinModelOptionalExpand Get an issue comment — response body — pin
reactionsModelOptionalExpand Get an issue — response body — reactions
updated_atstringRequired within parentFormat: date-time
urlstringRequired within parentURL for the issue comment
Format: uri
userModelRequired within parentExpand List users — response body — item

Referenced models: Get an app — response body, Get an issue comment — response body — minimized, Get an issue comment — response body — pin, Get an issue — response body — reactions, List users — response body — item

List timeline events for an issue — response body — item Timeline Commit Commented Event

FieldTypePresenceDescription and constraints
$objectRootTimeline Commit Commented Event
commentsarrayOptional
comments[]ModelEach itemExpand Get a commit comment — response body
commit_idstringOptional
eventstringOptional
node_idstringOptional

Referenced models: Get a commit comment — response body

List timeline events for an issue — response body — item Timeline Committed Event

FieldTypePresenceDescription and constraints
$objectRootTimeline Committed Event
authorobjectRequired within parentIdentifying information for the git-user
author.datestringRequired within parentTimestamp of the commit
Format: date-time
author.emailstringRequired within parentGit email address of the user
author.namestringRequired within parentName of the git user
committerobjectRequired within parentIdentifying information for the git-user
committer.datestringRequired within parentTimestamp of the commit
Format: date-time
committer.emailstringRequired within parentGit email address of the user
committer.namestringRequired within parentName of the git user
eventstringOptional
html_urlstringRequired within parentFormat: uri
messagestringRequired within parentMessage describing the purpose of the commit
node_idstringRequired within parent
parentsarrayRequired within parent
parents[]objectEach item
parents[].html_urlstringRequired within parentFormat: uri
parents[].shastringRequired within parentSHA for the commit
parents[].urlstringRequired within parentFormat: uri
shastringRequired within parentSHA for the commit
treeobjectRequired within parent
tree.shastringRequired within parentSHA for the commit
tree.urlstringRequired within parentFormat: uri
urlstringRequired within parentFormat: uri
verificationobjectRequired within parent
verification.payloadJSONRequired within parent
verification.payload (anyOf 1)stringAlternative
verification.payload (anyOf 2)nullAlternative
verification.reasonstringRequired within parent
verification.signatureJSONRequired within parent
verification.signature (anyOf 1)stringAlternative
verification.signature (anyOf 2)nullAlternative
verification.verifiedbooleanRequired within parent
verification.verified_atJSONRequired within parent
verification.verified_at (anyOf 1)stringAlternative
verification.verified_at (anyOf 2)nullAlternative

List timeline events for an issue — response body — item Timeline Connected Event

FieldTypePresenceDescription and constraints
$objectRootTimeline Connected Event
actorModelRequired within parentExpand List users — response body — item
commit_idJSONRequired within parent
commit_id (anyOf 1)stringAlternative
commit_id (anyOf 2)nullAlternative
commit_urlJSONRequired within parent
commit_url (anyOf 1)stringAlternative
commit_url (anyOf 2)nullAlternative
created_atstringRequired within parent
eventstringRequired within parent
idJSONRequired within parent
id (anyOf 1)integerAlternative
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
node_idstringRequired within parent
performed_via_github_appModelRequired within parentExpand Get an app — response body
urlstringRequired within parent

Referenced models: Get an app — response body, List users — response body — item

List timeline events for an issue — response body — item Timeline Cross Referenced Event

FieldTypePresenceDescription and constraints
$objectRootTimeline Cross Referenced Event
actorModelOptionalExpand List users — response body — item
created_atstringRequired within parentFormat: date-time
eventstringRequired within parent
sourceobjectRequired within parent
source.issueModelOptionalExpand Get an issue — response body
source.typestringOptional
updated_atstringRequired within parentFormat: date-time

Referenced models: Get an issue — response body, List users — response body — item

List timeline events for an issue — response body — item Timeline Disconnected Event

FieldTypePresenceDescription and constraints
$objectRootTimeline Disconnected Event
actorModelRequired within parentExpand List users — response body — item
commit_idJSONRequired within parent
commit_id (anyOf 1)stringAlternative
commit_id (anyOf 2)nullAlternative
commit_urlJSONRequired within parent
commit_url (anyOf 1)stringAlternative
commit_url (anyOf 2)nullAlternative
created_atstringRequired within parent
eventstringRequired within parent
idJSONRequired within parent
id (anyOf 1)integerAlternative
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
node_idstringRequired within parent
performed_via_github_appModelRequired within parentExpand Get an app — response body
urlstringRequired within parent

Referenced models: Get an app — response body, List users — response body — item

List timeline events for an issue — response body — item Timeline Line Commented Event

FieldTypePresenceDescription and constraints
$objectRootTimeline Line Commented Event
commentsarrayOptional
comments[]ModelEach itemExpand Create a reply for a review comment — response body
eventstringOptional
node_idstringOptional

Referenced models: Create a reply for a review comment — response body

List timeline events for an issue — response body — item Timeline Reviewed Event

FieldTypePresenceDescription and constraints
$objectRootTimeline Reviewed Event
_linksobjectRequired within parent
_links.htmlobjectRequired within parent
_links.html.hrefstringRequired within parent
_links.pull_requestobjectRequired within parent
_links.pull_request.hrefstringRequired within parent
author_associationstringRequired within parentHow the author is associated with the repository.
Known values: COLLABORATOR, CONTRIBUTOR, FIRST_TIMER, FIRST_TIME_CONTRIBUTOR, MANNEQUIN, MEMBER, NONE, OWNER
bodyJSONRequired within parent
body (anyOf 1)stringAlternativeThe text of the review.
body (anyOf 2)nullAlternative
body_htmlstringOptional
body_textstringOptional
commit_idstringRequired within parentA commit SHA for the review.
eventstringRequired within parent
html_urlstringRequired within parentFormat: uri
idJSONRequired within parent
id (anyOf 1)integerAlternativeUnique identifier of the review
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
node_idstringRequired within parent
pull_request_urlstringRequired within parentFormat: uri
statestringRequired within parent
submitted_atstringOptionalFormat: date-time
updated_atJSONOptional
updated_at (anyOf 1)stringAlternativeFormat: date-time
updated_at (anyOf 2)nullAlternative
userModelRequired within parentExpand List users — response body — item

Referenced models: List users — response body — item

List timeline events for an issue — response body — item Timeline Unassigned Issue Event

FieldTypePresenceDescription and constraints
$objectRootTimeline Unassigned Issue Event
actorModelRequired within parentExpand List users — response body — item
assigneeModelRequired within parentExpand List users — response body — item
commit_idJSONRequired within parent
commit_id (anyOf 1)stringAlternative
commit_id (anyOf 2)nullAlternative
commit_urlJSONRequired within parent
commit_url (anyOf 1)stringAlternative
commit_url (anyOf 2)nullAlternative
created_atstringRequired within parent
eventstringRequired within parent
idJSONRequired within parent
id (anyOf 1)integerAlternative
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
node_idstringRequired within parent
performed_via_github_appModelRequired within parentExpand Get an app — response body
urlstringRequired within parent

Referenced models: Get an app — response body, List users — response body — item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.