Skip to main content

Organizations

Reference documentation for GraphQL schema types in the Organizations category.

In this article

Queries

organization

Query

Lookup a organization by login.

Type: Organization

Arguments for organization

NameDescription

login (String!)

The organization's login.

organizations

Query

A list of organizations.

Type: OrganizationConnection!

Arguments for organizations

NameDescription

after (String)

Returns the elements in the list that come after the specified cursor.

before (String)

Returns the elements in the list that come before the specified cursor.

first (Int)

Returns the first n elements from the list.

last (Int)

Returns the last n elements from the list.

orderBy (OrganizationOrder)

Ordering options for the User's organizations.

Mutations

addVerifiableDomain

Mutation

Adds a verifiable domain to an owning account.

Input fields for addVerifiableDomain

Return fields for addVerifiableDomain

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

domain (VerifiableDomain)

The verifiable domain that was added.

approveVerifiableDomain

Mutation

Approve a verifiable domain for notification delivery.

Input fields for approveVerifiableDomain

Return fields for approveVerifiableDomain

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

domain (VerifiableDomain)

The verifiable domain that was approved.

deleteVerifiableDomain

Mutation

Deletes a verifiable domain.

Input fields for deleteVerifiableDomain

Return fields for deleteVerifiableDomain

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

owner (VerifiableDomainOwner)

The owning account from which the domain was deleted.

followOrganization

Mutation

Follow an organization.

Input fields for followOrganization

Return fields for followOrganization

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

organization (Organization)

The organization that was followed.

regenerateVerifiableDomainToken

Mutation

Regenerates a verifiable domain's verification token.

Input fields for regenerateVerifiableDomainToken

Return fields for regenerateVerifiableDomainToken

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

verificationToken (String)

The verification token that was generated.

removeOutsideCollaborator

Mutation

Removes outside collaborator from all repositories in an organization.

Input fields for removeOutsideCollaborator

Return fields for removeOutsideCollaborator

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

removedUser (User)

The user that was removed as an outside collaborator.

unfollowOrganization

Mutation

Unfollow an organization.

Input fields for unfollowOrganization

Return fields for unfollowOrganization

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

organization (Organization)

The organization that was unfollowed.

updateOrganizationAllowPrivateRepositoryForkingSetting

Mutation

Sets whether private repository forks are enabled for an organization.

Input fields for updateOrganizationAllowPrivateRepositoryForkingSetting

Return fields for updateOrganizationAllowPrivateRepositoryForkingSetting

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

message (String)

A message confirming the result of updating the allow private repository forking setting.

organization (Organization)

The organization with the updated allow private repository forking setting.

updateOrganizationWebCommitSignoffSetting

Mutation

Sets whether contributors are required to sign off on web-based commits for repositories in an organization.

Input fields for updateOrganizationWebCommitSignoffSetting

Return fields for updateOrganizationWebCommitSignoffSetting

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

message (String)

A message confirming the result of updating the web commit signoff setting.

organization (Organization)

The organization with the updated web commit signoff setting.

verifyVerifiableDomain

Mutation

Verify that a verifiable domain has the expected DNS record.

Input fields for verifyVerifiableDomain

Return fields for verifyVerifiableDomain

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

domain (VerifiableDomain)

The verifiable domain that was verified.

Objects

EnterpriseFailedInvitationConnection

Object

The connection type for OrganizationInvitation.

Fields for EnterpriseFailedInvitationConnection

NameDescription

edges ([EnterpriseFailedInvitationEdge])

A list of edges.

nodes ([OrganizationInvitation])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

totalUniqueUserCount (Int!)

Identifies the total count of unique users in the connection.

EnterpriseFailedInvitationEdge

Object

A failed invitation to be a member in an enterprise organization.

Fields for EnterpriseFailedInvitationEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (OrganizationInvitation)

The item at the end of the edge.

EnterpriseOrganizationMembershipConnection

Object

The connection type for Organization.

Fields for EnterpriseOrganizationMembershipConnection

NameDescription

edges ([EnterpriseOrganizationMembershipEdge])

A list of edges.

nodes ([Organization])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

EnterpriseOrganizationMembershipEdge

Object

An enterprise organization that a user is a member of.

Fields for EnterpriseOrganizationMembershipEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Organization)

The item at the end of the edge.

role (EnterpriseUserAccountMembershipRole!)

The role of the user in the enterprise membership.

EnterprisePendingMemberInvitationConnection

Object

The connection type for OrganizationInvitation.

Fields for EnterprisePendingMemberInvitationConnection

NameDescription

edges ([EnterprisePendingMemberInvitationEdge])

A list of edges.

nodes ([OrganizationInvitation])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

totalUniqueUserCount (Int!)

Identifies the total count of unique users in the connection.

EnterprisePendingMemberInvitationEdge

Object

An invitation to be a member in an enterprise organization.

Fields for EnterprisePendingMemberInvitationEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (OrganizationInvitation)

The item at the end of the edge.

MemberFeatureRequestNotification

Object

Represents a member feature request notification.

MemberFeatureRequestNotification Implements

Fields for MemberFeatureRequestNotification

NameDescription

body (String!)

Represents member feature request body containing entity name and the number of feature requests.

id (ID!)

The Node ID of the MemberFeatureRequestNotification object.

title (String!)

Represents member feature request notification title.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

OrgAddBillingManagerAuditEntry

Object

Audit log entry for a org.add_billing_manager.

OrgAddBillingManagerAuditEntry Implements

Fields for OrgAddBillingManagerAuditEntry

NameDescription

action (String!)

The action name.

Warning

action is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actor (AuditEntryActor)

The user who initiated the action.

Warning

actor is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorIp (String)

The IP address of the actor.

Warning

actorIp is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLocation (ActorLocation)

A readable representation of the actor's location.

Warning

actorLocation is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLogin (String)

The username of the user who initiated the action.

Warning

actorLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorResourcePath (URI)

The HTTP path for the actor.

Warning

actorResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorUrl (URI)

The HTTP URL for the actor.

Warning

actorUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

createdAt (PreciseDateTime!)

The time the action was initiated.

Warning

createdAt is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

id (ID!)

The Node ID of the OrgAddBillingManagerAuditEntry object.

invitationEmail (String)

The email address used to invite a billing manager for the organization.

Warning

invitationEmail is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

operationType (OperationType)

The corresponding operation type for the action.

Warning

operationType is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organization (Organization)

The Organization associated with the Audit Entry.

Warning

organization is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationName (String)

The name of the Organization.

Warning

organizationName is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationResourcePath (URI)

The HTTP path for the organization.

Warning

organizationResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationUrl (URI)

The HTTP URL for the organization.

Warning

organizationUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

user (User)

The user affected by the action.

Warning

user is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

Warning

userLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userResourcePath (URI)

The HTTP path for the user.

Warning

userResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userUrl (URI)

The HTTP URL for the user.

Warning

userUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

OrgAddMemberAuditEntry

Object

Audit log entry for a org.add_member.

OrgAddMemberAuditEntry Implements

Fields for OrgAddMemberAuditEntry

NameDescription

action (String!)

The action name.

Warning

action is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actor (AuditEntryActor)

The user who initiated the action.

Warning

actor is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorIp (String)

The IP address of the actor.

Warning

actorIp is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLocation (ActorLocation)

A readable representation of the actor's location.

Warning

actorLocation is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorLogin (String)

The username of the user who initiated the action.

Warning

actorLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorResourcePath (URI)

The HTTP path for the actor.

Warning

actorResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

actorUrl (URI)

The HTTP URL for the actor.

Warning

actorUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

createdAt (PreciseDateTime!)

The time the action was initiated.

Warning

createdAt is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

id (ID!)

The Node ID of the OrgAddMemberAuditEntry object.

operationType (OperationType)

The corresponding operation type for the action.

Warning

operationType is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organization (Organization)

The Organization associated with the Audit Entry.

Warning

organization is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationName (String)

The name of the Organization.

Warning

organizationName is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationResourcePath (URI)

The HTTP path for the organization.

Warning

organizationResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

organizationUrl (URI)

The HTTP URL for the organization.

Warning

organizationUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

permission (OrgAddMemberAuditEntryPermission)

The permission level of the member added to the organization.

Warning

permission is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

user (User)

The user affected by the action.

Warning

user is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userLogin (String)

For actions involving two users, the actor is the initiator and the user is the affected user.

Warning

userLogin is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userResourcePath (URI)

The HTTP path for the user.

Warning

userResourcePath is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

userUrl (URI)

The HTTP URL for the user.

Warning

userUrl is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

Organization

Object

An account on GitHub, with one or more owners, that has repositories, members and teams.

Organization Implements

Fields for Organization

NameDescription

announcementBanner (AnnouncementBanner)

The announcement banner set on this organization, if any. Only visible to members of the organization's enterprise.

anyPinnableItems (Boolean!)

Determine if this repository owner has any items that can be pinned to their profile.

Arguments for anyPinnableItems

archivedAt (DateTime)

Identifies the date and time when the organization was archived.

auditLog (OrganizationAuditEntryConnection!)

Audit log entries of the organization.

Warning

auditLog is deprecated.

The GraphQL audit-log is deprecated. Please use the REST API instead. Removal on 2026-04-01 UTC.

Arguments for auditLog

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (AuditLogOrder)

    Ordering options for the returned audit log entries.

  • query (String)

    The query string to filter audit entries.

avatarUrl (URI!)

A URL pointing to the organization's public avatar.

Arguments for avatarUrl

  • size (Int)

    The size of the resulting square image.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

description (String)

The organization's public profile description.

descriptionHTML (String)

The organization's public profile description rendered to HTML.

domains (VerifiableDomainConnection)

A list of domains owned by the organization.

Arguments for domains

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • isApproved (Boolean)

    Filter by if the domain is approved.

  • isVerified (Boolean)

    Filter by if the domain is verified.

  • last (Int)

    Returns the last n elements from the list.

email (String)

The organization's public email.

enterpriseOwners (OrganizationEnterpriseOwnerConnection!)

A list of owners of the organization's enterprise account.

Arguments for enterpriseOwners

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    The search string to look for.

id (ID!)

The Node ID of the Organization object.

ipAllowListEnabledSetting (IpAllowListEnabledSettingValue!)

The setting value for whether the organization has an IP allow list enabled.

ipAllowListEntries (IpAllowListEntryConnection!)

The IP addresses that are allowed to access resources owned by the organization.

Arguments for ipAllowListEntries

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

ipAllowListForInstalledAppsEnabledSetting (IpAllowListForInstalledAppsEnabledSettingValue!)

The setting value for whether the organization has IP allow list configuration for installed GitHub Apps enabled.

isVerified (Boolean!)

Whether the organization has verified its profile email and website.

issueTypes (IssueTypeConnection)

A list of the organization's issue types.

Arguments for issueTypes

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueTypeOrder)

    Ordering options for issue types returned from the connection.

itemShowcase (ProfileItemShowcase!)

Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.

location (String)

The organization's public profile location.

login (String!)

The organization's login name.

mannequins (MannequinConnection!)

A list of all mannequins for this organization.

Arguments for mannequins

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • login (String)

    Filter mannequins by login.

  • orderBy (MannequinOrder)

    Ordering options for mannequins returned from the connection.

memberStatuses (UserStatusConnection!)

Get the status messages members of this entity have set that are either public or visible only to the organization.

Arguments for memberStatuses

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (UserStatusOrder)

    Ordering options for user statuses returned from the connection.

membersCanForkPrivateRepositories (Boolean!)

Members can fork private repositories in this organization.

membersWithRole (OrganizationMemberConnection!)

A list of users who are members of this organization.

Arguments for membersWithRole

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

name (String)

The organization's public profile name.

newTeamResourcePath (URI!)

The HTTP path creating a new team.

newTeamUrl (URI!)

The HTTP URL creating a new team.

notificationDeliveryRestrictionEnabledSetting (NotificationRestrictionSettingValue!)

Indicates if email notification delivery for this organization is restricted to verified or approved domains.

organizationBillingEmail (String)

The billing email for the organization.

packages (PackageConnection!)

A list of packages under the owner.

Arguments for packages

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • names ([String])

    Find packages by their names.

  • packageType (PackageType)

    Filter registry package by type.

  • repositoryId (ID)

    Find packages in a repository by ID.

pendingMembers (UserConnection!)

A list of users who have been invited to join this organization.

Arguments for pendingMembers

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnableItems (PinnableItemConnection!)

A list of repositories and gists this profile owner can pin to their profile.

Arguments for pinnableItems

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnedItems (PinnableItemConnection!)

A list of repositories and gists this profile owner has pinned to their profile.

Arguments for pinnedItems

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

pinnedItemsRemaining (Int!)

Returns how many more items this profile owner can pin to their profile.

project (Project)

Find project by number.

Warning

project is deprecated.

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

Arguments for project

  • number (Int!)

    The project number to find.

projectV2 (ProjectV2)

Find a project by number.

Arguments for projectV2

  • number (Int!)

    The project number.

projects (ProjectConnection!)

A list of projects under the owner.

Warning

projects is deprecated.

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

Arguments for projects

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (ProjectOrder)

    Ordering options for projects returned from the connection.

  • search (String)

    Query to search projects by, currently only searching by name.

projectsResourcePath (URI!)

The HTTP path listing organization's projects.

projectsUrl (URI!)

The HTTP URL listing organization's projects.

projectsV2 (ProjectV2Connection!)

A list of projects under the owner.

Arguments for projectsV2

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • query (String)

    A project to search for under the owner.

recentProjects (ProjectV2Connection!)

Recent projects that this user has modified in the context of the owner.

Arguments for recentProjects

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

repositories (RepositoryConnection!)

A list of repositories that the user owns.

Arguments for repositories

  • affiliations ([RepositoryAffiliation])

    Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • hasIssuesEnabled (Boolean)

    If non-null, filters repositories according to whether they have issues enabled.

  • isArchived (Boolean)

    If non-null, filters repositories according to whether they are archived and not maintained.

  • isFork (Boolean)

    If non-null, filters repositories according to whether they are forks of another repository.

  • isLocked (Boolean)

    If non-null, filters repositories according to whether they have been locked.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (RepositoryOrder)

    Ordering options for repositories returned from the connection.

  • ownerAffiliations ([RepositoryAffiliation])

    Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.

  • privacy (RepositoryPrivacy)

    If non-null, filters repositories according to privacy. Internal repositories are considered private; consider using the visibility argument if only internal repositories are needed. Cannot be combined with the visibility argument.

  • visibility (RepositoryVisibility)

    If non-null, filters repositories according to visibility. Cannot be combined with the privacy argument.

repository (Repository)

Find Repository.

Arguments for repository

  • followRenames (Boolean)

    Follow repository renames. If disabled, a repository referenced by its old name will return an error.

    The default value is true.

  • name (String!)

    Name of Repository to find.

repositoryDiscussionComments (DiscussionCommentConnection!)

Discussion comments this user has authored.

Arguments for repositoryDiscussionComments

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • onlyAnswers (Boolean)

    Filter discussion comments to only those that were marked as the answer.

    The default value is false.

  • repositoryId (ID)

    Filter discussion comments to only those in a specific repository.

repositoryDiscussions (DiscussionConnection!)

Discussions this user has started.

Arguments for repositoryDiscussions

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • answered (Boolean)

    Filter discussions to only those that have been answered or not. Defaults to including both answered and unanswered discussions.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (DiscussionOrder)

    Ordering options for discussions returned from the connection.

  • repositoryId (ID)

    Filter discussions to only those in a specific repository.

repositoryMigrations (RepositoryMigrationConnection!)

A list of all repository migrations for this organization.

Arguments for repositoryMigrations

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

  • repositoryName (String)

    Filter repository migrations by repository name.