Skip to content

CommentEntity

A resolved comment entity from GitHub. Can be a comment on an issue, pull request, or discussion.

commentId: number


data: object

id: number

Format: int64

Unique identifier of the issue comment

42

node_id: string

url: string

Format: uri

URL for the issue comment

https://api.github.com/repositories/42/issues/comments/1

optional body?: string

Contents of the issue comment

What version of Safari were you using when you observed this bug?

optional body_text?: string

optional body_html?: string

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

{ 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; }

optional name?: string | null

optional email?: string | null

login: string

octocat

id: number

Format: int64

1

node_id: string

MDQ6VXNlcjE=

avatar_url: string

Format: uri

https://github.com/images/error/octocat_happy.gif

gravatar_id: string | null

41d064eb2195891e12d0413f63227ea7

url: string

Format: uri

https://api.github.com/users/octocat

html_url: string

Format: uri

https://github.com/octocat

followers_url: string

Format: uri

https://api.github.com/users/octocat/followers

following_url: string

https://api.github.com/users/octocat/following{/other_user}

gists_url: string

https://api.github.com/users/octocat/gists{/gist_id}

starred_url: string

https://api.github.com/users/octocat/starred{/owner}{/repo}

subscriptions_url: string

Format: uri

https://api.github.com/users/octocat/subscriptions

organizations_url: string

Format: uri

https://api.github.com/users/octocat/orgs

repos_url: string

Format: uri

https://api.github.com/users/octocat/repos

events_url: string

https://api.github.com/users/octocat/events{/privacy}

received_events_url: string

Format: uri

https://api.github.com/users/octocat/received_events

type: string

User

site_admin: boolean

optional starred_at?: string

"2020-07-09T00:17:55Z"

optional user_view_type?: string

public

null

created_at: string

Format: date-time

2011-04-14T16:00:49Z

updated_at: string

Format: date-time

2011-04-14T16:00:49Z

issue_url: string

Format: uri

author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIME_CONTRIBUTOR" | "FIRST_TIMER" | "MEMBER" | "OWNER" | "MANNEQUIN" | "NONE"

optional performed_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

{ 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

Unique identifier of the GitHub app

37

optional slug?: string

The slug name of the GitHub app

probot-owners

node_id: string

MDExOkludGVncmF0aW9uMQ==

optional client_id?: string

"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; }

{ 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; }

optional name?: string | null

optional email?: string | null

login: string

octocat

id: number

Format: int64

1

node_id: string

MDQ6VXNlcjE=

avatar_url: string

Format: uri

https://github.com/images/error/octocat_happy.gif

gravatar_id: string | null

41d064eb2195891e12d0413f63227ea7

url: string

Format: uri

https://api.github.com/users/octocat

html_url: string

Format: uri

https://github.com/octocat

followers_url: string

Format: uri

https://api.github.com/users/octocat/followers

following_url: string

https://api.github.com/users/octocat/following{/other_user}

gists_url: string

https://api.github.com/users/octocat/gists{/gist_id}

starred_url: string

https://api.github.com/users/octocat/starred{/owner}{/repo}

subscriptions_url: string

Format: uri

https://api.github.com/users/octocat/subscriptions

organizations_url: string

Format: uri

https://api.github.com/users/octocat/orgs

repos_url: string

Format: uri

https://api.github.com/users/octocat/repos

events_url: string

https://api.github.com/users/octocat/events{/privacy}

received_events_url: string

Format: uri

https://api.github.com/users/octocat/received_events

type: string

User

site_admin: boolean

optional starred_at?: string

"2020-07-09T00:17:55Z"

optional user_view_type?: string

public

{ 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; }

optional description?: string | null

A short description of the enterprise.

html_url: string

Format: uri

https://github.com/enterprises/octo-business

optional website_url?: string | null

Format: uri

The enterprise’s website URL.

id: number

Unique identifier of the enterprise

42

node_id: string

MDEwOlJlcG9zaXRvcnkxMjk2MjY5

name: string

The name of the enterprise.

Octo Business

slug: string

The slug url identifier for the enterprise.

octo-business

created_at: string | null

Format: date-time

2019-01-26T19:01:12Z

updated_at: string | null

Format: date-time

2019-01-26T19:14:43Z

avatar_url: string

Format: uri

name: string

The name of the GitHub app

Probot Owners

description: string | null

The description of the app.

external_url: string

Format: uri

https://example.com

html_url: string

Format: uri

https://github.com/apps/super-ci

created_at: string

Format: date-time

2017-07-08T16:18:44-04:00

updated_at: string

Format: date-time

2017-07-08T16:18:44-04:00

permissions: object

[key: string]: string | undefined

The set of permissions for the GitHub app

{
* "issues": "read",
* "deployments": "write"
* }

optional issues?: string

optional checks?: string

optional metadata?: string

optional contents?: string

optional deployments?: string

events: string[]

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.

[
"label",
"deployment"
]

optional installations_count?: number

The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.

5

null

optional reactions?: object

url: string

Format: uri

total_count: number

+1: number

-1: number

laugh: number

confused: number

heart: number

hooray: number

eyes: number

rocket: number


parentNumber: number


parentType: "discussion" | "issue" | "pull_request"


type: "comment"