Skip to main content

Gists

Reference documentation for GraphQL schema types in the Gists category.

Objects

Gist

Object

A Gist.

Gist Implements

Fields for Gist

NameDescription

comments (GistCommentConnection!)

A list of comments associated with the gist.

Arguments for comments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

createdAt (DateTime!)

Identifies the date and time when the object was created.

description (String)

The gist description.

files ([GistFile])

The files in this gist.

Arguments for files

  • limit (Int)

    The maximum number of files to return.

    The default value is 10.

forks (GistConnection!)

A list of forks associated with the gist.

Arguments for forks

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.