Object GitHub::Gist

A Gist.

Fields

comments(after: String, before: String, first: Int, last: Int): GistCommentConnection!

A list of comments associated with the gist

Args

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(limit: Int = 10, oid: GitObjectID): [GistFile]

The files in this gist.

Args

limit: Int = 10

The maximum number of files to return.

oid: GitObjectID

The oid of the files to return

forks(after: String, before: String, first: Int, last: Int, orderBy: GistOrder): GistConnection!

A list of forks associated with the gist

Args

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.

orderBy: GistOrder

Ordering options for gists returned from the connection

id: ID!

isFork: Boolean!

Identifies if the gist is a fork.

isPublic: Boolean!

Whether the gist is public or not.

name: String!

The gist name.

owner: RepositoryOwner

The gist owner.

pushedAt: DateTime

Identifies when the gist was last pushed to.

resourcePath: URI!

The HTML path to this resource.

stargazers(after: String, before: String, first: Int, last: Int, orderBy: StarOrder): StargazerConnection!

A list of users who have starred this starrable.

Args

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.

orderBy: StarOrder

Order for connection

updatedAt: DateTime!

Identifies the date and time when the object was last updated.

url: URI!

The HTTP URL for this Gist.

viewerHasStarred: Boolean!

Returns a boolean indicating whether the viewing user has starred this starrable.

Uses

GistComment.gist

GistConnection.nodes

GistEdge.node

User.gist

PinnableItem

Node

Starrable

UniformResourceLocatable