GitHub v3 REST API

Issue Comment

object

Comments provide a way for people to collaborate on an issue.

idintegerrequired

Unique identifier of the issue comment

Example:42

node_idstringrequired
urlstring(uri)required

URL for the issue comment

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

bodystring

Contents of the issue comment

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

body_textstring
body_htmlstring
html_urlstring(uri)required
userobjectrequired

Simple User

Show Child Parameters
created_atstring(date-time)required

Example:2011-04-14T16:00:49Z

updated_atstring(date-time)required

Example:2011-04-14T16:00:49Z

issue_urlstring(uri)required
author_associationstringrequired

How the author is associated with the repository.

Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER

Example:OWNER

performed_via_github_appobject

GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.

Show Child Parameters
reactionsobject
Show Child Parameters
Example

Event

object

Event

idstringrequired
typestringrequired
actorobjectrequired

Actor

Show Child Parameters
repoobjectrequired
Show Child Parameters
orgobject

Actor

Show Child Parameters
payloadobjectrequired
Show Child Parameters
publicbooleanrequired
created_atstring(date-time)required
Example

Link With Type

object

Hypermedia Link with Type

hrefstringrequired
typestringrequired
Example

Feed

object

Feed

timeline_urlstringrequired

Example:https://github.com/timeline

user_urlstringrequired

Example:https://github.com/{user}

current_user_public_urlstring

Example:https://github.com/octocat

current_user_urlstring

Example:https://github.com/octocat.private?token=abc123

current_user_actor_urlstring

Example:https://github.com/octocat.private.actor?token=abc123

current_user_organization_urlstring

Example:https://github.com/octocat-org

current_user_organization_urlsarray[string](uri)

Example:https://github.com/organizations/github/octocat.private.atom?token=abc123

_linksobjectrequired
Show Child Parameters
Example

Base Gist

object

Base Gist

urlstring(uri)required
forks_urlstring(uri)required
commits_urlstring(uri)required
idstringrequired
node_idstringrequired
git_pull_urlstring(uri)required
git_push_urlstring(uri)required
html_urlstring(uri)required
filesobjectrequired
publicbooleanrequired
created_atstring(date-time)required
updated_atstring(date-time)required
descriptionstringrequired
commentsintegerrequired
userobjectrequired

Simple User

Show Child Parameters
comments_urlstring(uri)required
ownerobject

Simple User

Show Child Parameters
truncatedboolean
forksarray
historyarray
Example