Github API - Test Config

PullRequestChangedFile [object]

A file changed in a pull request.

Attributes
additions 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 additions to the file.

changeType PatchStatus

PatchStatus [enum]

The possible types of patch statuses.

Possible values
ADDED

The file was added. Git status 'A'.

CHANGED

The file's type was changed. Git status 'T'.

COPIED

The file was copied. Git status 'C'.

DELETED

The file was deleted. Git status 'D'.

MODIFIED

The file's contents were changed. Git status 'M'.

RENAMED

The file was renamed. Git status 'R'.

API:
Github GraphQL API

How the file was changed in this PullRequest

deletions 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 deletions to the file.

path 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 path of the file.

viewerViewedState FileViewedState

FileViewedState [enum]

The possible viewed states of a file .

Possible values
DISMISSED

The file has new changes since last viewed.

UNVIEWED

The file has not been marked as viewed.

VIEWED

The file has been marked as viewed.

API:
Github GraphQL API

The state of the file for the viewer.

API:
Github GraphQL API