Github API - Test Config

GistFile [object]

A file in a gist.

Attributes
encodedName 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 file name encoded to remove characters that are invalid in URL paths.

encoding 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 file encoding.

extension 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 file extension from the file name.

isImage Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Indicates if this file is an image.

isTruncated Boolean

Boolean [scalar]

The Boolean scalar type represents true or false.

API:
Github GraphQL API

Whether the file's contents were truncated.

language Language

Language [object]

Represents a given language found in repositories.

Implements
Node
Attributes
color String

The color defined for the current language.

id ID

The Node ID of the Language object

name String

The name of the current language.

API:
Github GraphQL API

The programming language this file is written in.

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 file name.

size 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

The gist file size in bytes.

text 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

UTF8 text data or null if the file is binary

API:
Github GraphQL API