Organization
An account on GitHub, with one or more owners, that has repositories, members and teams.
Implements
ActorMemberStatusableNodePackageOwnerProfileOwnerProjectOwnerRegistryPackageOwnerRegistryPackageSearchRepositoryOwnerSponsorableUniformResourceLocatable
Connections
OrganizationAuditEntryConnection!)
Audit log entries of the organization
| Argument | Type | Description |
|---|---|---|
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. The default value is |
query |
String
|
The query string to filter audit entries |
UserStatusConnection!)
Get the status messages members of this entity have set that are either public or visible only to the organization.
| Argument | Type | Description |
|---|---|---|
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. The default value is |
OrganizationMemberConnection!)
A list of users who are members of this organization.
| Argument | Type | Description |
|---|---|---|
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. |
PackageConnection!)
This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see the GitHub Packages preview for more details.
Note: The GraphQL resources under preview cannot be accessed via the Explorer at this time.
A list of packages under the owner.
| Argument | Type | Description |
|---|---|---|
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. |
orderBy |
PackageOrder
|
Ordering of the returned packages. The default value is |
repositoryId |
ID
|
Find packages in a repository by ID. |
UserConnection!)
A list of users who have been invited to join this organization.
| Argument | Type | Description |
|---|---|---|
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. |
PinnableItemConnection!)
A list of repositories and gists this profile owner can pin to their profile.
| Argument | Type | Description |
|---|---|---|
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. |
types |
[PinnableItemType!]
|
Filter the types of pinnable items that are returned. |
PinnableItemConnection!)
A list of repositories and gists this profile owner has pinned to their profile
| Argument | Type | Description |
|---|---|---|
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. |
types |
[PinnableItemType!]
|
Filter the types of pinned items that are returned. |
RepositoryConnection!)
A list of repositories this user has pinned to their profile
| Argument | Type | Description |
|---|---|---|
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. The default value is |
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. |
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. The default value is |
privacy |
RepositoryPrivacy
|
If non-null, filters repositories according to privacy |
ProjectConnection!)
A list of projects under the owner.
| Argument | Type | Description |
|---|---|---|
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. |
states |
[ProjectState!]
|
A list of states to filter the projects by. |
RegistryPackageConnection!)
A list of registry packages under the owner.
| Argument | Type | Description |
|---|---|---|
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
|
Find registry package by name. |
names |
[String]
|
Find registry packages by their names. |
packageType |
RegistryPackageType
|
Filter registry package by type. |
publicOnly |
Boolean
|
Filter registry package by whether it is publicly visible The default value is |
registryPackageType |
String
|
Filter registry package by type (string). |
repositoryId |
ID
|
Find registry packages in a repository. |
RegistryPackageConnection!)
A list of registry packages for a particular search query.
| Argument | Type | Description |
|---|---|---|
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. |
packageType |
RegistryPackageType
|
Filter registry package by type. |
query |
String
|
Find registry package by search query. |
RepositoryConnection!)
A list of repositories that the user owns.
| Argument | Type | Description |
|---|---|---|
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. The default value is |
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. |
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. The default value is |
privacy |
RepositoryPrivacy
|
If non-null, filters repositories according to privacy |
SponsorshipConnection!)
This object's sponsorships as the maintainer.
| Argument | Type | Description |
|---|---|---|
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. |
includePrivate |
Boolean
|
Whether or not to include private sponsorships in the result set The default value is |
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. |
SponsorshipConnection!)
This object's sponsorships as the sponsor.
| Argument | Type | Description |
|---|---|---|
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. |
TeamConnection!)
A list of teams in this organization.
| Argument | Type | Description |
|---|---|---|
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. |
ldapMapped |
Boolean
|
If true, filters teams that are mapped to an LDAP Group (Enterprise only) |
orderBy |
TeamOrder
|
Ordering options for teams returned from the connection |
privacy |
TeamPrivacy
|
If non-null, filters teams according to privacy |
query |
String
|
If non-null, filters teams with query on team name and team slug |
role |
TeamRole
|
If non-null, filters teams according to whether the viewer is an admin or member on team |
rootTeamsOnly |
Boolean
|
If true, restrict to only root teams The default value is |
userLogins |
[String!]
|
User logins to filter by |
Fields
Boolean!)
Determine if this repository owner has any items that can be pinned to their profile.
| Argument | Type | Description |
|---|---|---|
type |
PinnableItemType
|
Filter to only a particular kind of pinnable item. |
URI!)
A URL pointing to the organization's public avatar.
| Argument | Type | Description |
|---|---|---|
size |
Int
|
The size of the resulting square image. |
DateTime!)
Identifies the date and time when the object was created.
Int)
Identifies the primary key from the database.
String)
The organization's public profile description.
String)
The organization's public profile description rendered to HTML.
String)
The organization's public email.
ID!)
Boolean!)
Whether the organization has verified its profile email and website.
ProfileItemShowcase!)
Showcases a selection of repositories and gists that the profile owner has either curated or that have been selected automatically based on popularity.
String)
The organization's public profile location.
String!)
The organization's login name.
String)
The organization's public profile name.
URI!)
The HTTP path creating a new team
URI!)
The HTTP URL creating a new team
String)
The billing email for the organization.
Int!)
Returns how many more items this profile owner can pin to their profile.
Project)
Find project by number.
| Argument | Type | Description |
|---|---|---|
number |
Int!
|
The project number to find. |
URI!)
The HTTP path listing organization's projects
URI!)
The HTTP URL listing organization's projects
Repository)
Find Repository.
| Argument | Type | Description |
|---|---|---|
name |
String!
|
Name of Repository to find. |
Boolean)
When true the organization requires all members, billing managers, and outside collaborators to enable two-factor authentication.
URI!)
The HTTP path for this organization.
OrganizationIdentityProvider)
The Organization's SAML identity providers
SponsorsListing)
The GitHub Sponsors listing for this user.
Team)
Find an organization's team by its slug.
| Argument | Type | Description |
|---|---|---|
slug |
String!
|
The name or slug of the team to find. |
URI!)
The HTTP path listing organization's teams
URI!)
The HTTP URL listing organization's teams
DateTime!)
Identifies the date and time when the object was last updated.
URI!)
The HTTP URL for this organization.
Boolean!)
Organization is adminable by the viewer.
Boolean!)
Can the viewer pin repositories and gists to the profile?
Boolean!)
Can the current viewer create new projects on this owner.
Boolean!)
Viewer can create repositories on this organization
Boolean!)
Viewer can create teams on this organization.
Boolean!)
Viewer is an active member of this organization.
URI)
The organization's public profile URL.