Object GitHub::Organization

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

Fields

anyPinnableItems(type: PinnableItemType): Boolean!

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

Args

type: PinnableItemType

Filter to only a particular kind of pinnable item.

auditLog(after: String, before: String, first: Int, last: Int, query: String, orderBy: AuditLogOrder = {field: CREATED_AT, direction: DESC}): OrganizationAuditEntryConnection!

Audit log entries of the organization

Args

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 query string to filter audit entries

orderBy: AuditLogOrder = {field: CREATED_AT, direction: DESC}

Ordering options for the returned audit log entries.

avatarUrl(size: Int): URI!

A URL pointing to the organization's public avatar.

Args

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.

email: String

The organization's public email.

id: ID!

ipAllowListEnabledSetting: IpAllowListEnabledSettingValue!

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

ipAllowListEntries(after: String, before: String, first: Int, last: Int, orderBy: IpAllowListEntryOrder = {field: ALLOW_LIST_VALUE, direction: ASC}): IpAllowListEntryConnection!

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

Args

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: IpAllowListEntryOrder = {field: ALLOW_LIST_VALUE, direction: ASC}

Ordering options for IP allow list entries returned.

isVerified: Boolean!

Whether the organization has verified its profile email and website.

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.

memberStatuses(after: String, before: String, first: Int, last: Int, orderBy: UserStatusOrder = {field: UPDATED_AT, direction: DESC}): UserStatusConnection!

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

Args

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 = {field: UPDATED_AT, direction: DESC}

Ordering options for user statuses returned from the connection.

membersWithRole(after: String, before: String, first: Int, last: Int): OrganizationMemberConnection!

A list of users who are members of this organization.

Args

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

organizationBillingEmail: String

The billing email for the organization.

packages(after: String, before: String, first: Int, last: Int, names: [String], repositoryId: ID, packageType: PackageType, orderBy: PackageOrder = {field: CREATED_AT, direction: DESC}): PackageConnection!

A list of packages under the owner.

Args

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.

repositoryId: ID

Find packages in a repository by ID.

packageType: PackageType

Filter registry package by type.

orderBy: PackageOrder = {field: CREATED_AT, direction: DESC}

Ordering of the returned packages.

pendingMembers(after: String, before: String, first: Int, last: Int): UserConnection!

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

Args

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(types: [PinnableItemType!], after: String, before: String, first: Int, last: Int): PinnableItemConnection!

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

Args

types: [PinnableItemType!]

Filter the types of pinnable items that are returned.

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(types: [PinnableItemType!], after: String, before: String, first: Int, last: Int): PinnableItemConnection!

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

Args

types: [PinnableItemType!]

Filter the types of pinned items that are returned.

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(number: Int!): Project

Find project by number.

Args

number: Int!

The project number to find.

projects(orderBy: ProjectOrder, search: String, states: [ProjectState!], after: String, before: String, first: Int, last: Int): ProjectConnection!

A list of projects under the owner.

Args

orderBy: ProjectOrder

Ordering options for projects returned from the connection

search: String

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

states: [ProjectState!]

A list of states to filter the projects by.

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.

projectsResourcePath: URI!

The HTTP path listing organization's projects

projectsUrl: URI!

The HTTP URL listing organization's projects

repositories(privacy: RepositoryPrivacy, orderBy: RepositoryOrder, affiliations: [RepositoryAffiliation], ownerAffiliations: [RepositoryAffiliation] = [OWNER, COLLABORATOR], isLocked: Boolean, after: String, before: String, first: Int, last: Int, isFork: Boolean): RepositoryConnection!

A list of repositories that the user owns.

Args

privacy: RepositoryPrivacy

If non-null, filters repositories according to privacy

orderBy: RepositoryOrder

Ordering options for repositories returned from the connection

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.

ownerAffiliations: [RepositoryAffiliation] = [OWNER, COLLABORATOR]

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.

isLocked: Boolean

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

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.

isFork: Boolean

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

repository(name: String!): Repository

Find Repository.

Args

name: String!

Name of Repository to find.

requiresTwoFactorAuthentication: Boolean

When true the organization requires all members, billing managers, and outside collaborators to enable two-factor authentication.

resourcePath: URI!

The HTTP path for this organization.

samlIdentityProvider: OrganizationIdentityProvider

The Organization's SAML identity providers

sponsorsListing: SponsorsListing

The GitHub Sponsors listing for this user.

sponsorshipsAsMaintainer(after: String, before: String, first: Int, last: Int, includePrivate: Boolean = false, orderBy: SponsorshipOrder): SponsorshipConnection!

This object's sponsorships as the maintainer.

Args

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.

includePrivate: Boolean = false

Whether or not to include private sponsorships in the result set

orderBy: SponsorshipOrder

Ordering options for sponsorships returned from this connection. If left blank, the sponsorships will be ordered based on relevancy to the viewer.

sponsorshipsAsSponsor(after: String, before: String, first: Int, last: Int, orderBy: SponsorshipOrder): SponsorshipConnection!

This object's sponsorships as the sponsor.

Args

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: SponsorshipOrder

Ordering options for sponsorships returned from this connection. If left blank, the sponsorships will be ordered based on relevancy to the viewer.

team(slug: String!): Team

Find an organization's team by its slug.

Args

slug: String!

The name or slug of the team to find.

teams(privacy: TeamPrivacy, role: TeamRole, query: String, userLogins: [String!], orderBy: TeamOrder, ldapMapped: Boolean, rootTeamsOnly: Boolean = false, after: String, before: String, first: Int, last: Int): TeamConnection!

A list of teams in this organization.

Args

privacy: TeamPrivacy

If non-null, filters teams according to privacy

role: TeamRole

If non-null, filters teams according to whether the viewer is an admin or member on team

query: String

If non-null, filters teams with query on team name and team slug

userLogins: [String!]

User logins to filter by

orderBy: TeamOrder

Ordering options for teams returned from the connection

ldapMapped: Boolean

If true, filters teams that are mapped to an LDAP Group (Enterprise only)

rootTeamsOnly: Boolean = false

If true, restrict to only root teams

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.

teamsResourcePath: URI!

The HTTP path listing organization's teams

teamsUrl: URI!

The HTTP URL listing organization's teams

twitterUsername: String

The organization's Twitter username.

updatedAt: DateTime!

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

url: URI!

The HTTP URL for this organization.

viewerCanAdminister: Boolean!

Organization is adminable by the viewer.

viewerCanChangePinnedItems: Boolean!

Can the viewer pin repositories and gists to the profile?

viewerCanCreateProjects: Boolean!

Can the current viewer create new projects on this owner.

viewerCanCreateRepositories: Boolean!

Viewer can create repositories on this organization

viewerCanCreateTeams: Boolean!

Viewer can create teams on this organization.

viewerIsAMember: Boolean!

Viewer is an active member of this organization.

websiteUrl: URI

The organization's public profile URL.

Uses

Commit.onBehalfOf

CreateEnterpriseOrganizationPayload.organization

EnterpriseOrganizationMembershipConnection.nodes

EnterpriseOrganizationMembershipEdge.node

MembersCanDeleteReposClearAuditEntry.organization

MembersCanDeleteReposDisableAuditEntry.organization

MembersCanDeleteReposEnableAuditEntry.organization

OauthApplicationCreateAuditEntry.organization

OrgAddBillingManagerAuditEntry.organization

OrgAddMemberAuditEntry.organization

OrgBlockUserAuditEntry.organization

OrgConfigDisableCollaboratorsOnlyAuditEntry.organization

OrgConfigEnableCollaboratorsOnlyAuditEntry.organization

OrgCreateAuditEntry.organization

OrgDisableOauthAppRestrictionsAuditEntry.organization

OrgDisableSamlAuditEntry.organization

OrgDisableTwoFactorRequirementAuditEntry.organization

OrgEnableOauthAppRestrictionsAuditEntry.organization

OrgEnableSamlAuditEntry.organization

OrgEnableTwoFactorRequirementAuditEntry.organization

OrgInviteMemberAuditEntry.organization

OrgInviteToBusinessAuditEntry.organization

OrgOauthAppAccessApprovedAuditEntry.organization

OrgOauthAppAccessDeniedAuditEntry.organization

OrgOauthAppAccessRequestedAuditEntry.organization

OrgRemoveBillingManagerAuditEntry.organization

OrgRemoveMemberAuditEntry.organization

OrgRemoveOutsideCollaboratorAuditEntry.organization

OrgRestoreMemberAuditEntry.organization

OrgRestoreMemberMembershipOrganizationAuditEntryData.organization

OrgUnblockUserAuditEntry.organization

OrgUpdateDefaultRepositoryPermissionAuditEntry.organization

OrgUpdateMemberAuditEntry.organization

OrgUpdateMemberRepositoryCreationPermissionAuditEntry.organization

OrgUpdateMemberRepositoryInvitationPermissionAuditEntry.organization

OrganizationConnection.nodes

OrganizationEdge.node

OrganizationIdentityProvider.organization

OrganizationInvitation.organization

PermissionSource.organization

PrivateRepositoryForkingDisableAuditEntry.organization

PrivateRepositoryForkingEnableAuditEntry.organization

Query.organization

RemoveEnterpriseOrganizationPayload.organization

RepoAccessAuditEntry.organization

RepoAddMemberAuditEntry.organization

RepoAddTopicAuditEntry.organization

RepoArchivedAuditEntry.organization

RepoChangeMergeSettingAuditEntry.organization

RepoConfigDisableAnonymousGitAccessAuditEntry.organization

RepoConfigDisableCollaboratorsOnlyAuditEntry.organization

RepoConfigDisableContributorsOnlyAuditEntry.organization

RepoConfigDisableSockpuppetDisallowedAuditEntry.organization

RepoConfigEnableAnonymousGitAccessAuditEntry.organization

RepoConfigEnableCollaboratorsOnlyAuditEntry.organization

RepoConfigEnableContributorsOnlyAuditEntry.organization

RepoConfigEnableSockpuppetDisallowedAuditEntry.organization

RepoConfigLockAnonymousGitAccessAuditEntry.organization

RepoConfigUnlockAnonymousGitAccessAuditEntry.organization

RepoCreateAuditEntry.organization

RepoDestroyAuditEntry.organization

RepoRemoveMemberAuditEntry.organization

RepoRemoveTopicAuditEntry.organization

RepositoryVisibilityChangeDisableAuditEntry.organization

RepositoryVisibilityChangeEnableAuditEntry.organization

Team.organization

TeamAddMemberAuditEntry.organization

TeamAddRepositoryAuditEntry.organization

TeamChangeParentTeamAuditEntry.organization

TeamRemoveMemberAuditEntry.organization

TeamRemoveRepositoryAuditEntry.organization

User.organization

UserStatus.organization

OrganizationAuditEntryData.organization

Assignee

AuditEntryActor

IpAllowListOwner

PermissionGranter

SearchResultItem

Sponsor

Actor

MemberStatusable

Node

PackageOwner

ProfileOwner

ProjectOwner

RepositoryOwner

Sponsorable

UniformResourceLocatable