Skip to content

Gist

Full gist representation including file contents, commits and forks. Returned by the create, get and update endpoints.

FieldTypeDescription
idstring
slug_urlstring
ownerSimpleUser
titlestring
html_urlstring <uri>
descriptionstring
publicbooleanTrue only when visibility is public.
visibilitystring: public | unlisted | private
like_countinteger
fork_countinteger
clone_urlstring <uri>
ssh_urlstring
topicsstring[]
created_atstring <date-time>
updated_atstring <date-time>
fork_ofGistSimple | nullThe parent gist when this is a fork, otherwise null.
forksGistSimple[]
filesmap<string, GistFile>
commitsGistCommit[]
truncatedboolean