Reference documentation for GraphQL schema types in the Gists category.
A Gist.
Implements: Node, Starrable, UniformResourceLocatable
Gistcomments (GistCommentConnection!): A list of comments associated with the gist. (Pagination: after, before, first, last)
createdAt (DateTime!): Identifies the date and time when the object was created.
description (String): The gist description.
files ([GistFile]): The files in this gist.
limit (Int): The maximum number of files to return. Default: 10.oid (GitObjectID): The oid of the files to return.forks (GistConnection!): A list of forks associated with the gist.
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!): The Node ID of the Gist object.
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.
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.
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.
Represents a comment on an Gist.
Implements: Comment, Deletable, Minimizable, Node, Updatable, UpdatableComment
GistCommentauthor (Actor): The actor who authored the comment.authorAssociation (CommentAuthorAssociation!): Author's association with the gist.body (String!): Identifies the comment body.bodyHTML (HTML!): The body rendered to HTML.bodyText (String!): The body rendered to text.createdAt (DateTime!): Identifies the date and time when the object was created.createdViaEmail (Boolean!): Check if this comment was created via an email reply.databaseId (Int): Identifies the primary key from the database.editor (Actor): The actor who edited the comment.gist (Gist!): The associated gist.id (ID!): The Node ID of the GistComment object.includesCreatedEdit (Boolean!): Check if this comment was edited and includes an edit with the creation data.isMinimized (Boolean!): Returns whether or not a comment has been minimized.lastEditedAt (DateTime): The moment the editor made the last edit.minimizedReason (String): Returns why the comment was minimized. One of abuse, off-topic,publishedAt (DateTime): Identifies when the comment was published at.updatedAt (DateTime!): Identifies the date and time when the object was last updated.userContentEdits (UserContentEditConnection): A list of edits to this content. (Pagination: after, before, first, last)viewerCanDelete (Boolean!): Check if the current viewer can delete this object.viewerCanMinimize (Boolean!): Check if the current viewer can minimize this object.viewerCanUnminimize (Boolean!): Check if the current viewer can unminimize this object.viewerCanUpdate (Boolean!): Check if the current viewer can update this object.viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!): Reasons why the current viewer can not update this comment.viewerDidAuthor (Boolean!): Did the viewer author this comment.The connection type for GistComment.
GistCommentConnectionedges ([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.An edge in a connection.
GistCommentEdgecursor (String!): A cursor for use in pagination.node (GistComment): The item at the end of the edge.The connection type for Gist.
GistConnectionedges ([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.An edge in a connection.
GistEdgecursor (String!): A cursor for use in pagination.node (Gist): The item at the end of the edge.A file in a gist.
GistFileencodedName (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.
truncate (Int): Optionally truncate the returned file to this length.Ordering options for gist connections.
GistOrderdirection (OrderDirection!): The ordering direction.field (GistOrderField!): The field to order repositories by.Properties by which gist connections can be ordered.
GistOrderFieldCREATED_AT: Order gists by creation time.PUSHED_AT: Order gists by push time.UPDATED_AT: Order gists by update time.The privacy of a Gist.
GistPrivacyALL: Gists that are public and secret.PUBLIC: Public.SECRET: Secret.