Github API - Test Config

GistComment [object]

Represents a comment on an Gist.

Implements
Comment

Comment [interface]

Represents a comment.

Attributes
author Actor

The actor who authored the comment.

authorAssociation CommentAuthorAssociation

Author's association with the subject of the comment.

body String

The body as Markdown.

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.

editor Actor

The actor who edited the comment.

id ID

The Node ID of the Comment object

includesCreatedEdit Boolean

Check if this comment was edited and includes an edit with the creation data

lastEditedAt DateTime

The moment the editor made the last edit

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.

viewerDidAuthor Boolean

Did the viewer author this comment.

API:
Github GraphQL API
Deletable

Deletable [interface]

Entities that can be deleted.

Attributes
viewerCanDelete Boolean

Check if the current viewer can delete this object.

API:
Github GraphQL API
Minimizable

Minimizable [interface]

Entities that can be minimized.

Attributes
isMinimized Boolean

Returns whether or not a comment has been minimized.

minimizedReason String

Returns why the comment was minimized. One of abuse, off-topic,
outdated, resolved, duplicate and spam. Note that the case and
formatting of these values differs from the inputs to the MinimizeComment mutation.

viewerCanMinimize Boolean

Check if the current viewer can minimize this object.

API:
Github GraphQL API
Node

Node [interface]

An object with an ID.

Attributes
id ID

ID of the object.

API:
Github GraphQL API
Updatable

Updatable [interface]

Entities that can be updated.

Attributes
viewerCanUpdate Boolean

Check if the current viewer can update this object.

API:
Github GraphQL API
UpdatableComment

UpdatableComment [interface]

Comments that can be updated.

Attributes
viewerCannotUpdateReasons CommentCannotUpdateReason []

Reasons why the current viewer can not update this comment.

API:
Github GraphQL API
Attributes
author Actor

Actor [interface]

Represents an object which can take actions on GitHub. Typically a User or Bot.

Attributes
avatarUrl URI

A URL pointing to the actor's public avatar.

login String

The username of the actor.

resourcePath URI

The HTTP path for this actor.

url URI

The HTTP URL for this actor.

API:
Github GraphQL API

The actor who authored the comment.

authorAssociation CommentAuthorAssociation

CommentAuthorAssociation [enum]

A comment author association with repository.

Possible values
COLLABORATOR

Author has been invited to collaborate on the repository.

CONTRIBUTOR

Author has previously committed to the repository.

FIRST_TIMER

Author has not previously committed to GitHub.

FIRST_TIME_CONTRIBUTOR

Author has not previously committed to the repository.

MANNEQUIN

Author is a placeholder for an unclaimed user.

MEMBER

Author is a member of the organization that owns the repository.

NONE

Author has no association with the repository.

OWNER

Author is the owner of the repository.

API:
Github GraphQL API

Author's association with the gist.

body 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

Identifies the comment body.

bodyHTML HTML

HTML [scalar]

A string containing HTML code.

API:
Github GraphQL API

The body rendered to HTML.

bodyText 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 body rendered to text.

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.

createdViaEmail Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Check if this comment was created via an email reply.

databaseId 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

Identifies the primary key from the database.

editor Actor

Actor [interface]

Represents an object which can take actions on GitHub. Typically a User or Bot.

Attributes
avatarUrl URI

A URL pointing to the actor's public avatar.

login String

The username of the actor.

resourcePath URI

The HTTP path for this actor.

url URI

The HTTP URL for this actor.

API:
Github GraphQL API

The actor who edited the comment.

gist Gist

Gist [object]

A Gist.

Implements
NodeStarrableUniformResourceLocatable
Attributes

A list of comments associated with the gist

createdAt DateTime

Identifies the date and time when the object was created.

description String

The gist description.

files GistFile []

The files in this gist.

A list of forks associated with the gist

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.

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.

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.

API:
Github GraphQL API

The associated 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 GistComment object

includesCreatedEdit Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Check if this comment was edited and includes an edit with the creation data

isMinimized Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Returns whether or not a comment has been minimized.

lastEditedAt DateTime

DateTime [scalar]

An ISO-8601 encoded UTC date string.

API:
Github GraphQL API

The moment the editor made the last edit

minimizedReason 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

Returns why the comment was minimized. One of abuse, off-topic,
outdated, resolved, duplicate and spam. Note that the case and
formatting of these values differs from the inputs to the MinimizeComment mutation.

publishedAt DateTime

DateTime [scalar]

An ISO-8601 encoded UTC date string.

API:
Github GraphQL API

Identifies when the comment was published at.

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.

userContentEdits UserContentEditConnection

UserContentEditConnection [object]

A list of edits to content.

Attributes

A list of edges.

nodes UserContentEdit []

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 edits to this content.

viewerCanDelete Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Check if the current viewer can delete this object.

viewerCanMinimize Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Check if the current viewer can minimize this object.

viewerCanUpdate Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Check if the current viewer can update this object.

viewerCannotUpdateReasons CommentCannotUpdateReason []

CommentCannotUpdateReason [enum]

The possible errors that will prevent a user from updating a comment.

Possible values
ARCHIVED

Unable to create comment because repository is archived.

DENIED

You cannot update this comment

INSUFFICIENT_ACCESS

You must be the author or have write access to this repository to update this comment.

LOCKED

Unable to create comment because issue is locked.

LOGIN_REQUIRED

You must be logged in to update this comment.

MAINTENANCE

Repository is under maintenance.

VERIFIED_EMAIL_REQUIRED

At least one email address must be verified to update this comment.

API:
Github GraphQL API

Reasons why the current viewer can not update this comment.

viewerDidAuthor Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Did the viewer author this comment.

API:
Github GraphQL API