GitHub v3 REST API

Gist History

object

Gist History

userobject

Simple User

Show Child Parameters
versionstring
committed_atstring(date-time)
change_statusobject
Show Child Parameters
urlstring(uri)
Example

Gist Simple

object

Gist Simple

forksarray[object]DEPRECATED
Show Child Parameters
historyarray[object]DEPRECATED

Gist History

Show Child Parameters
fork_ofobject

Gist

Show Child Parameters
urlstring
forks_urlstring
commits_urlstring
idstring
node_idstring
git_pull_urlstring
git_push_urlstring
html_urlstring
filesobject
publicboolean
created_atstring
updated_atstring
descriptionstring
commentsinteger
userstring
comments_urlstring
ownerobject

Simple User

Show Child Parameters
truncatedboolean
Example

Gist Comment

object

A comment made to a gist.

idintegerrequired

Example:1

node_idstringrequired

Example:MDExOkdpc3RDb21tZW50MQ==

urlstring(uri)required

Example:https://api.github.com/gists/a6db0bec360bb87e9418/comments/1

bodystringrequired

The comment text.

<= 65535 characters

Example:Body of the attachment

userobjectrequired

Simple User

Show Child Parameters
created_atstring(date-time)required

Example:2011-04-18T23:23:56Z

updated_atstring(date-time)required

Example:2011-04-18T23:23:56Z

author_associationstringrequired

How the author is associated with the repository.

Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER

Example:OWNER

Example

Gist Commit

object

Gist Commit

urlstring(uri)required

Example:https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f

versionstringrequired

Example:57a7f021a713b1c5a6a199b54cc514735d2d462f

userobjectrequired

Simple User

Show Child Parameters
change_statusobjectrequired
Show Child Parameters
committed_atstring(date-time)required

Example:2010-04-14T02:15:15Z

Example

Gitignore Template

object

Gitignore Template

namestringrequired

Example:C

sourcestringrequired

Example:# Object files *.o # Libraries *.lib *.a # Shared objects (inc. Windows DLLs) *.dll *.so *.so.* *.dylib # Executables *.exe *.out *.app

Example