Github GraphQL API / Repository
A repository contains the content for a project.
Implements
Fields
assignableUsers
(
String: String
String: String
String: String
Int: Int
Int: Int
)
:
UserConnection!
autoMergeAllowed : Boolean!
branchProtectionRules
(
String: String
String: String
Int: Int
Int: Int
)
:
BranchProtectionRuleConnection!
codeOfConduct : CodeOfConduct
collaborators
(
CollaboratorAffiliation: CollaboratorAffiliation
String: String
String: String
String: String
Int: Int
Int: Int
)
:
RepositoryCollaboratorConnection
commitComments
(
String: String
String: String
Int: Int
Int: Int
)
:
CommitCommentConnection!
contactLinks : [RepositoryContactLink!]
createdAt : DateTime!
databaseId : Int
defaultBranchRef : Ref
deleteBranchOnMerge : Boolean!
deployKeys
(
String: String
String: String
Int: Int
Int: Int
)
:
DeployKeyConnection!
deployments
(
String: [String!]
DeploymentOrder: DeploymentOrder
String: String
String: String
Int: Int
Int: Int
)
:
DeploymentConnection!
description : String
descriptionHTML : HTML!
discussion
(
Int: Int!
)
:
Discussion
discussionCategories
(
String: String
String: String
Int: Int
Int: Int
Boolean: Boolean
)
:
DiscussionCategoryConnection!
discussions
(
String: String
String: String
Int: Int
Int: Int
ID: ID
DiscussionOrder: DiscussionOrder
)
:
DiscussionConnection!
diskUsage : Int
environment
(
String: String!
)
:
Environment
environments
(
String: String
String: String
Int: Int
Int: Int
)
:
EnvironmentConnection!
forkCount : Int!
forkingAllowed : Boolean!
forks
(
RepositoryPrivacy: RepositoryPrivacy
RepositoryOrder: RepositoryOrder
RepositoryAffiliation: [RepositoryAffiliation]
RepositoryAffiliation: [RepositoryAffiliation]
Boolean: Boolean
String: String
String: String
Int: Int
Int: Int
)
:
RepositoryConnection!
fundingLinks : [FundingLink!]!
hasIssuesEnabled : Boolean!
hasProjectsEnabled : Boolean!
hasWikiEnabled : Boolean!
homepageUrl : URI
id : ID!
interactionAbility : RepositoryInteractionAbility
isArchived : Boolean!
isBlankIssuesEnabled : Boolean!
isDisabled : Boolean!
isEmpty : Boolean!
isFork : Boolean!
isInOrganization : Boolean!
isLocked : Boolean!
isMirror : Boolean!
isPrivate : Boolean!
isSecurityPolicyEnabled : Boolean
isTemplate : Boolean!
isUserConfigurationRepository : Boolean!
issueOrPullRequest
(
Int: Int!
)
:
IssueOrPullRequest
issueTemplates : [IssueTemplate!]
issues
(
IssueOrder: IssueOrder
String: [String!]
IssueState: [IssueState!]
IssueFilters: IssueFilters
String: String
String: String
Int: Int
Int: Int
)
:
IssueConnection!
label
(
String: String!
)
:
Label
labels
(
LabelOrder: LabelOrder
String: String
String: String
Int: Int
Int: Int
String: String
)
:
LabelConnection
languages
(
String: String
String: String
Int: Int
Int: Int
LanguageOrder: LanguageOrder
)
:
LanguageConnection
latestRelease : Release
licenseInfo : License
lockReason : RepositoryLockReason
mentionableUsers
(
String: String
String: String
String: String
Int: Int
Int: Int
)
:
UserConnection!
mergeCommitAllowed : Boolean!
milestone
(
Int: Int!
)
:
Milestone
milestones
(
String: String
String: String
Int: Int
Int: Int
MilestoneState: [MilestoneState!]
MilestoneOrder: MilestoneOrder
String: String
)
:
MilestoneConnection
mirrorUrl : URI
name : String!
nameWithOwner : String!
object
(
GitObjectID: GitObjectID
String: String
)
:
GitObject
openGraphImageUrl : URI!
owner : RepositoryOwner!
packages
(
String: String
String: String
Int: Int
Int: Int
String: [String]
ID: ID
PackageType: PackageType
PackageOrder: PackageOrder
)
:
PackageConnection!
parent : Repository
pinnedDiscussions
(
String: String
String: String
Int: Int
Int: Int
)
:
PinnedDiscussionConnection!
pinnedIssues
(
String: String
String: String
Int: Int
Int: Int
)
:
PinnedIssueConnection
primaryLanguage : Language
project
(
Int: Int!
)
:
Project
projects
(
ProjectOrder: ProjectOrder
String: String
ProjectState: [ProjectState!]
String: String
String: String
Int: Int
Int: Int
)
:
ProjectConnection!
projectsResourcePath : URI!
projectsUrl : URI!
pullRequest
(
Int: Int!
)
:
PullRequest
pullRequestTemplates : [PullRequestTemplate!]
pullRequests
(
PullRequestState: [PullRequestState!]
String: [String!]
String: String
String: String
IssueOrder: IssueOrder
String: String
String: String
Int: Int
Int: Int
)
:
PullRequestConnection!
pushedAt : DateTime
rebaseMergeAllowed : Boolean!
refs
(
String: String
String: String
String: String
Int: Int
Int: Int
String: String!
OrderDirection: OrderDirection
RefOrder: RefOrder
)
:
RefConnection
release
(
String: String!
)
:
Release
releases
(
String: String
String: String
Int: Int
Int: Int
ReleaseOrder: ReleaseOrder
)
:
ReleaseConnection!
repositoryTopics
(
String: String
String: String
Int: Int
Int: Int
)
:
RepositoryTopicConnection!
resourcePath : URI!
securityPolicyUrl : URI
shortDescriptionHTML
(
Int: Int
)
:
HTML!
squashMergeAllowed : Boolean!
sshUrl : GitSSHRemote!
stargazerCount : Int!
stargazers
(
String: String
String: String
Int: Int
Int: Int
StarOrder: StarOrder
)
:
StargazerConnection!
submodules
(
String: String
String: String
Int: Int
Int: Int
)
:
SubmoduleConnection!
tempCloneToken : String
templateRepository : Repository
updatedAt : DateTime!
url : URI!
usesCustomOpenGraphImage : Boolean!
viewerCanAdminister : Boolean!
viewerCanCreateProjects : Boolean!
viewerCanSubscribe : Boolean!
viewerCanUpdateTopics : Boolean!
viewerDefaultCommitEmail : String
viewerDefaultMergeMethod : PullRequestMergeMethod!
viewerHasStarred : Boolean!
viewerPermission : RepositoryPermission
viewerPossibleCommitEmails : [String!]
viewerSubscription : SubscriptionState
visibility : RepositoryVisibility!
vulnerabilityAlerts
(
String: String
String: String
Int: Int
Int: Int
)
:
RepositoryVulnerabilityAlertConnection
watchers
(
String: String
String: String
Int: Int
Int: Int
)
:
UserConnection!