Github API - Test Config

Comparison [object]

Represents a comparison between two commit revisions.

Implements
Node

Node [interface]

An object with an ID.

Attributes
id ID

ID of the object.

API:
Github GraphQL API
Attributes
aheadBy 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 number of commits ahead of the base branch.

baseTarget GitObject

GitObject [interface]

Represents a Git object.

Attributes
abbreviatedOid String

An abbreviated version of the Git object ID

commitResourcePath URI

The HTTP path for this Git object

commitUrl URI

The HTTP URL for this Git object

id ID

The Node ID of the GitObject object

The Git object ID

repository Repository

The Repository the Git object belongs to

API:
Github GraphQL API

The base revision of this comparison.

behindBy 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 number of commits behind the base branch.

commits ComparisonCommitConnection

ComparisonCommitConnection [object]

The connection type for Commit.

Attributes
authorCount Int

The total count of authors and co-authors across all commits.

edges CommitEdge []

A list of edges.

nodes Commit []

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

The commits which compose this comparison.

headTarget GitObject

GitObject [interface]

Represents a Git object.

Attributes
abbreviatedOid String

An abbreviated version of the Git object ID

commitResourcePath URI

The HTTP path for this Git object

commitUrl URI

The HTTP URL for this Git object

id ID

The Node ID of the GitObject object

The Git object ID

repository Repository

The Repository the Git object belongs to

API:
Github GraphQL API

The head revision of this comparison.

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 Comparison object

status ComparisonStatus

ComparisonStatus [enum]

The status of a git comparison between two refs.

Possible values
AHEAD

The head ref is ahead of the base ref.

BEHIND

The head ref is behind the base ref.

DIVERGED

The head ref is both ahead and behind of the base ref, indicating git history has diverged.

IDENTICAL

The head ref and base ref are identical.

API:
Github GraphQL API

The status of this comparison.

API:
Github GraphQL API