Github API - Test Config

Gist [object]

A Gist.

Implements
Node

Node [interface]

An object with an ID.

Attributes
id ID

ID of the object.

API:
Github GraphQL API
Starrable

Starrable [interface]

Things that can be starred.

Attributes
id ID

The Node ID of the Starrable object

stargazerCount Int

Returns a count of how many stargazers there are on this object

stargazers StargazerConnection

A list of users who have starred this starrable.

viewerHasStarred Boolean

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

API:
Github GraphQL API
UniformResourceLocatable

UniformResourceLocatable [interface]

Represents a type that can be retrieved by a URL.

Attributes
resourcePath URI

The HTML path to this resource.

url URI

The URL to this resource.

API:
Github GraphQL API
Attributes
comments GistCommentConnection

GistCommentConnection [object]

The connection type for GistComment.

Attributes
edges GistCommentEdge []

A list of edges.

nodes GistComment []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of comments associated with the gist

createdAt DateTime

DateTime [scalar]

An ISO-8601 encoded UTC date string.

API:
Github GraphQL API

Identifies the date and time when the object was created.

description String

String [scalar]

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

API:
Github GraphQL API

The gist description.

files GistFile []

GistFile [object]

A file in a gist.

Attributes
encodedName String

The file name encoded to remove characters that are invalid in URL paths.

encoding String

The gist file encoding.

extension String

The file extension from the file name.

isImage Boolean

Indicates if this file is an image.

isTruncated Boolean

Whether the file's contents were truncated.

language Language

The programming language this file is written in.

name String

The gist file name.

size Int

The gist file size in bytes.

text String

UTF8 text data or null if the file is binary

API:
Github GraphQL API

The files in this gist.

forks GistConnection

GistConnection [object]

The connection type for Gist.

Attributes
edges GistEdge []

A list of edges.

nodes Gist []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of forks associated with the gist

id ID

ID [scalar]

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

API:
Github GraphQL API

The Node ID of the Gist object

isFork Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Identifies if the gist is a fork.

isPublic Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Whether the gist is public or not.

name String

String [scalar]

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

API:
Github GraphQL API

The gist name.

owner RepositoryOwner

RepositoryOwner [interface]

Represents an owner of a Repository.

Attributes
avatarUrl URI

A URL pointing to the owner's public avatar.

id ID

The Node ID of the RepositoryOwner object

login String

The username used to login.

repositories RepositoryConnection

A list of repositories that the user owns.

repository Repository

Find Repository.

resourcePath URI

The HTTP URL for the owner.

url URI

The HTTP URL for the owner.

API:
Github GraphQL API

The gist owner.

pushedAt DateTime

DateTime [scalar]

An ISO-8601 encoded UTC date string.

API:
Github GraphQL API

Identifies when the gist was last pushed to.

resourcePath URI

URI [scalar]

An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.

API:
Github GraphQL API

The HTML path to this resource.

stargazerCount Int

Int [scalar]

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

API:
Github GraphQL API

Returns a count of how many stargazers there are on this object

stargazers StargazerConnection

StargazerConnection [object]

The connection type for User.

Attributes
edges StargazerEdge []

A list of edges.

nodes User []

A list of nodes.

pageInfo PageInfo

Information to aid in pagination.

totalCount Int

Identifies the total count of items in the connection.

API:
Github GraphQL API

A list of users who have starred this starrable.

updatedAt DateTime

DateTime [scalar]

An ISO-8601 encoded UTC date string.

API:
Github GraphQL API

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

url URI

URI [scalar]

An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.

API:
Github GraphQL API

The HTTP URL for this Gist.

viewerHasStarred Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

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

API:
Github GraphQL API