CommentEntity
A resolved comment entity from GitHub. Can be a comment on an issue, pull request, or discussion.
Properties
Section titled “Properties”commentId
Section titled “commentId”commentId:
number
data:
object
id:
number
Format: int64
Description
Section titled “Description”Unique identifier of the issue comment
Example
Section titled “Example”42node_id
Section titled “node_id”node_id:
string
url:
string
Format: uri
Description
Section titled “Description”URL for the issue comment
Example
Section titled “Example”https://api.github.com/repositories/42/issues/comments/1
optionalbody?:string
Description
Section titled “Description”Contents of the issue comment
Example
Section titled “Example”What version of Safari were you using when you observed this bug?body_text?
Section titled “body_text?”
optionalbody_text?:string
body_html?
Section titled “body_html?”
optionalbody_html?:string
html_url
Section titled “html_url”html_url:
string
Format: uri
user: {
name?:string|null;email?:string|null;login:string;id:number;node_id:string;avatar_url:string;gravatar_id:string|null;url:string;html_url:string;followers_url:string;following_url:string;gists_url:string;starred_url:string;subscriptions_url:string;organizations_url:string;repos_url:string;events_url:string;received_events_url:string;type:string;site_admin:boolean;starred_at?:string;user_view_type?:string; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; }
optionalname?:string|null
email?
Section titled “email?”
optionalemail?:string|null
login:
string
Example
Section titled “Example”octocatid:
number
Format: int64
Example
Section titled “Example”1node_id
Section titled “node_id”node_id:
string
Example
Section titled “Example”MDQ6VXNlcjE=avatar_url
Section titled “avatar_url”avatar_url:
string
Format: uri
Example
Section titled “Example”https://github.com/images/error/octocat_happy.gifgravatar_id
Section titled “gravatar_id”gravatar_id:
string|null
Example
Section titled “Example”41d064eb2195891e12d0413f63227ea7url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocathtml_url
Section titled “html_url”html_url:
string
Format: uri
Example
Section titled “Example”https://github.com/octocatfollowers_url
Section titled “followers_url”followers_url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocat/followersfollowing_url
Section titled “following_url”following_url:
string
Example
Section titled “Example”https://api.github.com/users/octocat/following{/other_user}gists_url
Section titled “gists_url”gists_url:
string
Example
Section titled “Example”https://api.github.com/users/octocat/gists{/gist_id}starred_url
Section titled “starred_url”starred_url:
string
Example
Section titled “Example”https://api.github.com/users/octocat/starred{/owner}{/repo}subscriptions_url
Section titled “subscriptions_url”subscriptions_url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocat/subscriptionsorganizations_url
Section titled “organizations_url”organizations_url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocat/orgsrepos_url
Section titled “repos_url”repos_url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocat/reposevents_url
Section titled “events_url”events_url:
string
Example
Section titled “Example”https://api.github.com/users/octocat/events{/privacy}received_events_url
Section titled “received_events_url”received_events_url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocat/received_eventstype:
string
Example
Section titled “Example”Usersite_admin
Section titled “site_admin”site_admin:
boolean
starred_at?
Section titled “starred_at?”
optionalstarred_at?:string
Example
Section titled “Example”"2020-07-09T00:17:55Z"user_view_type?
Section titled “user_view_type?”
optionaluser_view_type?:string
Example
Section titled “Example”publicnull
created_at
Section titled “created_at”created_at:
string
Format: date-time
Example
Section titled “Example”2011-04-14T16:00:49Zupdated_at
Section titled “updated_at”updated_at:
string
Format: date-time
Example
Section titled “Example”2011-04-14T16:00:49Zissue_url
Section titled “issue_url”issue_url:
string
Format: uri
author_association
Section titled “author_association”author_association:
"COLLABORATOR"|"CONTRIBUTOR"|"FIRST_TIME_CONTRIBUTOR"|"FIRST_TIMER"|"MEMBER"|"OWNER"|"MANNEQUIN"|"NONE"
performed_via_github_app?
Section titled “performed_via_github_app?”
optionalperformed_via_github_app?: {id:number;slug?:string;node_id:string;client_id?:string;owner: {name?:string|null;email?:string|null;login:string;id:number;node_id:string;avatar_url:string;gravatar_id:string|null;url:string;html_url:string;followers_url:string;following_url:string;gists_url:string;starred_url:string;subscriptions_url:string;organizations_url:string;repos_url:string;events_url:string;received_events_url:string;type:string;site_admin:boolean;starred_at?:string;user_view_type?:string; } | {description?:string|null;html_url:string;website_url?:string|null;id:number;node_id:string;name:string;slug:string;created_at:string|null;updated_at:string|null;avatar_url:string; };name:string;description:string|null;external_url:string;html_url:string;created_at:string;updated_at:string;permissions: {[key:string]:string|undefined;issues?:string;checks?:string;metadata?:string;contents?:string;deployments?:string; };events:string[];installations_count?:number; } |null
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ id: number; slug?: string; node_id: string; client_id?: string; owner: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; } | { description?: string | null; html_url: string; website_url?: string | null; id: number; node_id: string; name: string; slug: string; created_at: string | null; updated_at: string | null; avatar_url: string; }; name: string; description: string | null; external_url: string; html_url: string; created_at: string; updated_at: string; permissions: {[key: string]: string | undefined; issues?: string; checks?: string; metadata?: string; contents?: string; deployments?: string; }; events: string[]; installations_count?: number; }
id:
number
Description
Section titled “Description”Unique identifier of the GitHub app
Example
Section titled “Example”37
optionalslug?:string
Description
Section titled “Description”The slug name of the GitHub app
Example
Section titled “Example”probot-ownersnode_id
Section titled “node_id”node_id:
string
Example
Section titled “Example”MDExOkludGVncmF0aW9uMQ==client_id?
Section titled “client_id?”
optionalclient_id?:string
Example
Section titled “Example”"Iv1.25b5d1e65ffc4022"owner: {
name?:string|null;email?:string|null;login:string;id:number;node_id:string;avatar_url:string;gravatar_id:string|null;url:string;html_url:string;followers_url:string;following_url:string;gists_url:string;starred_url:string;subscriptions_url:string;organizations_url:string;repos_url:string;events_url:string;received_events_url:string;type:string;site_admin:boolean;starred_at?:string;user_view_type?:string; } | {description?:string|null;html_url:string;website_url?:string|null;id:number;node_id:string;name:string;slug:string;created_at:string|null;updated_at:string|null;avatar_url:string; }
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; }
optionalname?:string|null
email?
Section titled “email?”
optionalemail?:string|null
login:
string
Example
Section titled “Example”octocatid:
number
Format: int64
Example
Section titled “Example”1node_id
Section titled “node_id”node_id:
string
Example
Section titled “Example”MDQ6VXNlcjE=avatar_url
Section titled “avatar_url”avatar_url:
string
Format: uri
Example
Section titled “Example”https://github.com/images/error/octocat_happy.gifgravatar_id
Section titled “gravatar_id”gravatar_id:
string|null
Example
Section titled “Example”41d064eb2195891e12d0413f63227ea7url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocathtml_url
Section titled “html_url”html_url:
string
Format: uri
Example
Section titled “Example”https://github.com/octocatfollowers_url
Section titled “followers_url”followers_url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocat/followersfollowing_url
Section titled “following_url”following_url:
string
Example
Section titled “Example”https://api.github.com/users/octocat/following{/other_user}gists_url
Section titled “gists_url”gists_url:
string
Example
Section titled “Example”https://api.github.com/users/octocat/gists{/gist_id}starred_url
Section titled “starred_url”starred_url:
string
Example
Section titled “Example”https://api.github.com/users/octocat/starred{/owner}{/repo}subscriptions_url
Section titled “subscriptions_url”subscriptions_url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocat/subscriptionsorganizations_url
Section titled “organizations_url”organizations_url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocat/orgsrepos_url
Section titled “repos_url”repos_url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocat/reposevents_url
Section titled “events_url”events_url:
string
Example
Section titled “Example”https://api.github.com/users/octocat/events{/privacy}received_events_url
Section titled “received_events_url”received_events_url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocat/received_eventstype:
string
Example
Section titled “Example”Usersite_admin
Section titled “site_admin”site_admin:
boolean
starred_at?
Section titled “starred_at?”
optionalstarred_at?:string
Example
Section titled “Example”"2020-07-09T00:17:55Z"user_view_type?
Section titled “user_view_type?”
optionaluser_view_type?:string
Example
Section titled “Example”publicType Literal
Section titled “Type Literal”{ description?: string | null; html_url: string; website_url?: string | null; id: number; node_id: string; name: string; slug: string; created_at: string | null; updated_at: string | null; avatar_url: string; }
description?
Section titled “description?”
optionaldescription?:string|null
Description
Section titled “Description”A short description of the enterprise.
html_url
Section titled “html_url”html_url:
string
Format: uri
Example
Section titled “Example”https://github.com/enterprises/octo-businesswebsite_url?
Section titled “website_url?”
optionalwebsite_url?:string|null
Format: uri
Description
Section titled “Description”The enterprise’s website URL.
id:
number
Description
Section titled “Description”Unique identifier of the enterprise
Example
Section titled “Example”42node_id
Section titled “node_id”node_id:
string
Example
Section titled “Example”MDEwOlJlcG9zaXRvcnkxMjk2MjY5name:
string
Description
Section titled “Description”The name of the enterprise.
Example
Section titled “Example”Octo Businessslug:
string
Description
Section titled “Description”The slug url identifier for the enterprise.
Example
Section titled “Example”octo-businesscreated_at
Section titled “created_at”created_at:
string|null
Format: date-time
Example
Section titled “Example”2019-01-26T19:01:12Zupdated_at
Section titled “updated_at”updated_at:
string|null
Format: date-time
Example
Section titled “Example”2019-01-26T19:14:43Zavatar_url
Section titled “avatar_url”avatar_url:
string
Format: uri
name:
string
Description
Section titled “Description”The name of the GitHub app
Example
Section titled “Example”Probot Ownersdescription
Section titled “description”description:
string|null
Example
Section titled “Example”The description of the app.external_url
Section titled “external_url”external_url:
string
Format: uri
Example
Section titled “Example”https://example.comhtml_url
Section titled “html_url”html_url:
string
Format: uri
Example
Section titled “Example”https://github.com/apps/super-cicreated_at
Section titled “created_at”created_at:
string
Format: date-time
Example
Section titled “Example”2017-07-08T16:18:44-04:00updated_at
Section titled “updated_at”updated_at:
string
Format: date-time
Example
Section titled “Example”2017-07-08T16:18:44-04:00permissions
Section titled “permissions”permissions:
object
Index Signature
Section titled “Index Signature”[key: string]: string | undefined
Description
Section titled “Description”The set of permissions for the GitHub app
Example
Section titled “Example”{ * "issues": "read", * "deployments": "write" * }permissions.issues?
Section titled “permissions.issues?”
optionalissues?:string
permissions.checks?
Section titled “permissions.checks?”
optionalchecks?:string
permissions.metadata?
Section titled “permissions.metadata?”
optionalmetadata?:string
permissions.contents?
Section titled “permissions.contents?”
optionalcontents?:string
permissions.deployments?
Section titled “permissions.deployments?”
optionaldeployments?:string
events
Section titled “events”events:
string[]
Description
Section titled “Description”The list of events for the GitHub app. Note that the installation_target, security_advisory, and meta events are not included because they are global events and not specific to an installation.
Example
Section titled “Example”[ "label", "deployment"]installations_count?
Section titled “installations_count?”
optionalinstallations_count?:number
Description
Section titled “Description”The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.
Example
Section titled “Example”5null
reactions?
Section titled “reactions?”
optionalreactions?:object
reactions.url
Section titled “reactions.url”url:
string
Format: uri
reactions.total_count
Section titled “reactions.total_count”total_count:
number
reactions.+1
Section titled “reactions.+1”+1:
number
reactions.-1
Section titled “reactions.-1”-1:
number
reactions.laugh
Section titled “reactions.laugh”laugh:
number
reactions.confused
Section titled “reactions.confused”confused:
number
reactions.heart
Section titled “reactions.heart”heart:
number
reactions.hooray
Section titled “reactions.hooray”hooray:
number
reactions.eyes
Section titled “reactions.eyes”eyes:
number
reactions.rocket
Section titled “reactions.rocket”rocket:
number
parentNumber
Section titled “parentNumber”parentNumber:
number
parentType
Section titled “parentType”parentType:
"discussion"|"issue"|"pull_request"
type:
"comment"