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
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.
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
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
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.
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
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.
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.
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.
pinnedItemsRemaining: Int!
Returns how many more items this profile owner can pin to their profile.
project(number: Int!): Project
Find project by number.
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
states: [ProjectState!]
A list of states to filter the projects by.
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.
repository(name: String!): Repository
Find Repository.
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
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
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.
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
userLogins: [String!]
User logins to filter by
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
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.