github
Module github
API
Definitions
ballerinax/github Ballerina library
Overview
GitHub is a widely used platform for version control and collaboration, allowing developers to work together on projects from anywhere. It hosts a vast array of both open-source and private projects, providing a suite of development tools for collaborative software development.
The GitHub connector is designed to interface with GitHub's REST API (version 2022-11-28), facilitating programmatic access to GitHub's services. It enables developers to automate tasks, manage repositories, issues, pull requests, and more.
Key Features
- Manage repositories, branches, and collaborators programmatically
- Create, update, and track issues and pull requests
- Automate workflows with GitHub's REST API
- Support for Personal Access Token (PAT) authentication
Setup guide
To use the GitHub Connector, you must have a GitHub account and a Personal Access Token (PAT) for authentication. If you already have a GitHub account, you can integrate the connector with your existing account. If not, you can create a new GitHub account by visiting GitHub's Sign Up page and following the registration process. Once you have a GitHub account, you can proceed to create a PAT.
Step 1: Access GitHub Settings
- Once logged in, click on the profile picture in the top-right corner of the page.
- Select Settings from the dropdown menu.
Step 2: Navigate to Developer Settings
- Scroll down in the sidebar on the left side of the settings page.
- click on Developer settings located near the bottom.
Step 3: Go to Personal Access Tokens
-
Inside Developer Settings find and click on Personal access tokens.
Step 4: Generate a New Token
- Click on the Generate new token button (you might be asked to enter you password again for security purposes).
Step 5: Configure & Generate the Token
-
Note: Give your token a descriptive name so you can remember it's purpose
-
Expiration: Select the duration before the token expires (e.g., 30 days, 60 days, 90 days, custom, or no expiration).
-
Select Scopes: Scopes control access for the token. Choose what you need the token for (e.g., repo access, user data access). For typical repository operations, selecting
repois often sufficient.
Quickstart
To use the GitHub connector in your Ballerina application, modify the .bal file as follows:
Step 1: Import the connector
Import the ballerinax/github package into your Ballerina project.
import ballerinax/github;
Step 2: Instantiate a new connector
Create a github:ConnectionConfig with the obtained PAT and initialize the connector with it.
github:ConnectionConfig gitHubConfig = { auth: { token: authToken } }; github:Client github = check new (gitHubConfig);
Step 3: Invoke the connector operation
Now, utilize the available connector operations.
Get Private Repositories of Authenticated User
github:Repository[] userRepos = check github->/user/repos(visibility = "private", 'type = ());
Create a Private Repository
github:User_repos_body body = { name: "New Test Repo Name", 'private: true, description: "New Test Repo Description" }; github:Repository createdRepo = check github->/user/repos.post(body);
Examples
The GitHub connector provides practical examples illustrating usage in various scenarios. Explore these examples, covering use cases like initializing a new project, creating issues, and managing pull requests.
-
Initialize a New GitHub Project - Create a new repository on GitHub, initialize it with a README file, and add collaborators to the repository.
-
Create and Assign an Issue in GitHub - Create a new issue on GitHub, assign it to a specific user, and add labels.
-
Create and Manage a PullRequest in GitHub - Create a pull request on GitHub, and request changes as necessary.
-
Star Ballerina-Platform Repositories - Fetch all repositories under the
ballerina-platformorganization on GitHub and star each of them
Report Issues
To report bugs, request new features, start new discussions, view project boards, etc., go to the Ballerina library parent repository.
Useful Links
- Chat live with us via our Discord server.
- Post all technical questions on Stack Overflow with the #ballerina tag.
Clients
github: Client
GitHub's v3 REST API.
Constructor
Gets invoked to initialize the connector.
init (ConnectionConfig config, string serviceUrl)- config ConnectionConfig - The configurations to be used when initializing the
connector
- serviceUrl string "https://api.github.com" - URL of the target service
get .
GitHub API Root
get advisories
function get advisories(map<string|string[]> headers, *SecurityAdvisoriesListGlobalAdvisoriesQueries queries) returns GlobalAdvisory[]|errorList global security advisories
Parameters
- queries *SecurityAdvisoriesListGlobalAdvisoriesQueries - Queries to be sent with the request
Return Type
- GlobalAdvisory[]|error - Response
get advisories/[string ghsaId]
function get advisories/[string ghsaId](map<string|string[]> headers) returns GlobalAdvisory|errorGet a global security advisory
Return Type
- GlobalAdvisory|error - Response
get app
function get app(map<string|string[]> headers) returns Integration|errorGet the authenticated app
Return Type
- Integration|error - Response
post app-manifests/[string code]/conversions
function post app\-manifests/[string code]/conversions(map<string|string[]> headers) returns ManifestConversions|errorCreate a GitHub App from a manifest
Return Type
- ManifestConversions|error - Response
get app/hook/config
function get app/hook/config(map<string|string[]> headers) returns WebhookConfig|errorGet a webhook configuration for an app
Return Type
- WebhookConfig|error - Response
patch app/hook/config
function patch app/hook/config(HookConfigBody payload, map<string|string[]> headers) returns WebhookConfig|errorUpdate a webhook configuration for an app
Parameters
- payload HookConfigBody -
Return Type
- WebhookConfig|error - Response
get app/hook/deliveries
function get app/hook/deliveries(map<string|string[]> headers, *AppsListWebhookDeliveriesQueries queries) returns HookDeliveryItem[]|errorList deliveries for an app webhook
Parameters
- queries *AppsListWebhookDeliveriesQueries - Queries to be sent with the request
Return Type
- HookDeliveryItem[]|error - Response
get app/hook/deliveries/[int deliveryId]
function get app/hook/deliveries/[int deliveryId](map<string|string[]> headers) returns HookDelivery|errorGet a delivery for an app webhook
Return Type
- HookDelivery|error - Response
post app/hook/deliveries/[int deliveryId]/attempts
function post app/hook/deliveries/[int deliveryId]/attempts(map<string|string[]> headers) returns record {}|errorRedeliver a delivery for an app webhook
Return Type
- record {}|error - Accepted
get app/installation-requests
function get app/installation\-requests(map<string|string[]> headers, *AppsListInstallationRequestsForAuthenticatedAppQueries queries) returns IntegrationInstallationRequest[]|error?List installation requests for the authenticated app
Parameters
- queries *AppsListInstallationRequestsForAuthenticatedAppQueries - Queries to be sent with the request
Return Type
- IntegrationInstallationRequest[]|error? - List of integration installation requests
get app/installations
function get app/installations(map<string|string[]> headers, *AppsListInstallationsQueries queries) returns Installation[]|errorList installations for the authenticated app
Parameters
- queries *AppsListInstallationsQueries - Queries to be sent with the request
Return Type
- Installation[]|error - The permissions the installation has are included under the permissions key
get app/installations/[int installationId]
function get app/installations/[int installationId](map<string|string[]> headers) returns Installation|errorGet an installation for the authenticated app
Return Type
- Installation|error - Response
delete app/installations/[int installationId]
Delete an installation for the authenticated app
Return Type
- error? - Response
post app/installations/[int installationId]/access_tokens
function post app/installations/[int installationId]/access_tokens(InstallationIdAccessTokensBody payload, map<string|string[]> headers) returns InstallationToken|errorCreate an installation access token for an app
Parameters
- payload InstallationIdAccessTokensBody -
Return Type
- InstallationToken|error - Response
put app/installations/[int installationId]/suspended
function put app/installations/[int installationId]/suspended(map<string|string[]> headers) returns error?Suspend an app installation
Return Type
- error? - Response
delete app/installations/[int installationId]/suspended
function delete app/installations/[int installationId]/suspended(map<string|string[]> headers) returns error?Unsuspend an app installation
Return Type
- error? - Response
delete applications/[string clientId]/grant
function delete applications/[string clientId]/grant(ClientIdGrantBody payload, map<string|string[]> headers) returns error?Delete an app authorization
Parameters
- payload ClientIdGrantBody -
Return Type
- error? - Response
post applications/[string clientId]/token
function post applications/[string clientId]/token(ClientIdTokenBody payload, map<string|string[]> headers) returns Authorization|errorCheck a token
Parameters
- payload ClientIdTokenBody -
Return Type
- Authorization|error - Response
delete applications/[string clientId]/token
function delete applications/[string clientId]/token(ClientIdGrantBody payload, map<string|string[]> headers) returns error?Delete an app token
Parameters
- payload ClientIdGrantBody -
Return Type
- error? - Response
patch applications/[string clientId]/token
function patch applications/[string clientId]/token(ClientIdTokenBody payload, map<string|string[]> headers) returns Authorization|errorReset a token
Parameters
- payload ClientIdTokenBody -
Return Type
- Authorization|error - Response
post applications/[string clientId]/token/scoped
function post applications/[string clientId]/token/scoped(TokenScopedBody payload, map<string|string[]> headers) returns Authorization|errorCreate a scoped access token
Parameters
- payload TokenScopedBody -
Return Type
- Authorization|error - Response
get apps/[string appSlug]
function get apps/[string appSlug](map<string|string[]> headers) returns Integration|errorGet an app
Return Type
- Integration|error - Response
get assignments/[int assignmentId]
function get assignments/[int assignmentId](map<string|string[]> headers) returns ClassroomAssignment|errorGet an assignment
Return Type
- ClassroomAssignment|error - Response
get assignments/[int assignmentId]/accepted_assignments
function get assignments/[int assignmentId]/accepted_assignments(map<string|string[]> headers, *ClassroomListAcceptedAssigmentsForAnAssignmentQueries queries) returns ClassroomAcceptedAssignment[]|errorList accepted assignments for an assignment
Parameters
- queries *ClassroomListAcceptedAssigmentsForAnAssignmentQueries - Queries to be sent with the request
Return Type
- ClassroomAcceptedAssignment[]|error - Response
get assignments/[int assignmentId]/grades
function get assignments/[int assignmentId]/grades(map<string|string[]> headers) returns ClassroomAssignmentGrade[]|errorGet assignment grades
Return Type
- ClassroomAssignmentGrade[]|error - Response
get classrooms
function get classrooms(map<string|string[]> headers, *ClassroomListClassroomsQueries queries) returns SimpleClassroom[]|errorList classrooms
Parameters
- queries *ClassroomListClassroomsQueries - Queries to be sent with the request
Return Type
- SimpleClassroom[]|error - Response
get classrooms/[int classroomId]
Get a classroom
get classrooms/[int classroomId]/assignments
function get classrooms/[int classroomId]/assignments(map<string|string[]> headers, *ClassroomListAssignmentsForAClassroomQueries queries) returns SimpleClassroomAssignment[]|errorList assignments for a classroom
Parameters
- queries *ClassroomListAssignmentsForAClassroomQueries - Queries to be sent with the request
Return Type
- SimpleClassroomAssignment[]|error - Response
get codes_of_conduct
function get codes_of_conduct(map<string|string[]> headers) returns CodeOfConduct[]|error?Get all codes of conduct
Return Type
- CodeOfConduct[]|error? - Response
get codes_of_conduct/[string 'key]
function get codes_of_conduct/[string 'key](map<string|string[]> headers) returns CodeOfConduct|error?Get a code of conduct
Return Type
- CodeOfConduct|error? - Response
get emojis
Get emojis
get enterprises/[string enterprise]/dependabot/alerts
function get enterprises/[string enterprise]/dependabot/alerts(map<string|string[]> headers, *DependabotListAlertsForEnterpriseQueries queries) returns DependabotAlertWithRepository[]|error?List Dependabot alerts for an enterprise
Parameters
- queries *DependabotListAlertsForEnterpriseQueries - Queries to be sent with the request
Return Type
- DependabotAlertWithRepository[]|error? - Response
get enterprises/[string enterprise]/secret-scanning/alerts
function get enterprises/[string enterprise]/secret\-scanning/alerts(map<string|string[]> headers, *SecretScanningListAlertsForEnterpriseQueries queries) returns OrganizationSecretScanningAlert[]|errorList secret scanning alerts for an enterprise
Parameters
- queries *SecretScanningListAlertsForEnterpriseQueries - Queries to be sent with the request
Return Type
- OrganizationSecretScanningAlert[]|error - Response
get events
function get events(map<string|string[]> headers, *ActivityListPublicEventsQueries queries) returns Event[]|error?List public events
Parameters
- queries *ActivityListPublicEventsQueries - Queries to be sent with the request
get feeds
Get feeds
get gists
function get gists(map<string|string[]> headers, *GistsListQueries queries) returns BaseGist[]|error?List gists for the authenticated user
Parameters
- queries *GistsListQueries - Queries to be sent with the request
post gists
Create a gist
Parameters
- payload GistsBody -
Return Type
- GistSimple|error? - Response
get gists/'public
function get gists/'public(map<string|string[]> headers, *GistsListPublicQueries queries) returns BaseGist[]|error?List public gists
Parameters
- queries *GistsListPublicQueries - Queries to be sent with the request
get gists/starred
function get gists/starred(map<string|string[]> headers, *GistsListStarredQueries queries) returns BaseGist[]|error?List starred gists
Parameters
- queries *GistsListStarredQueries - Queries to be sent with the request
get gists/[string gistId]
function get gists/[string gistId](map<string|string[]> headers) returns GistSimple|error?Get a gist
Return Type
- GistSimple|error? - Response
delete gists/[string gistId]
Delete a gist
Return Type
- error? - Response
patch gists/[string gistId]
function patch gists/[string gistId](GistsgistIdBody payload, map<string|string[]> headers) returns GistSimple|errorUpdate a gist
Parameters
- payload GistsgistIdBody -
Return Type
- GistSimple|error - Response
get gists/[string gistId]/comments
function get gists/[string gistId]/comments(map<string|string[]> headers, *GistsListCommentsQueries queries) returns GistComment[]|error?List gist comments
Parameters
- queries *GistsListCommentsQueries - Queries to be sent with the request
Return Type
- GistComment[]|error? - Response
post gists/[string gistId]/comments
function post gists/[string gistId]/comments(GistIdCommentsBody payload, map<string|string[]> headers) returns GistComment|error?Create a gist comment
Parameters
- payload GistIdCommentsBody -
Return Type
- GistComment|error? - Response
get gists/[string gistId]/comments/[int commentId]
function get gists/[string gistId]/comments/[int commentId](map<string|string[]> headers) returns GistComment|error?Get a gist comment
Return Type
- GistComment|error? - Response
delete gists/[string gistId]/comments/[int commentId]
function delete gists/[string gistId]/comments/[int commentId](map<string|string[]> headers) returns error?Delete a gist comment
Return Type
- error? - Response
patch gists/[string gistId]/comments/[int commentId]
function patch gists/[string gistId]/comments/[int commentId](GistIdCommentsBody payload, map<string|string[]> headers) returns GistComment|errorUpdate a gist comment
Parameters
- payload GistIdCommentsBody -
Return Type
- GistComment|error - Response
get gists/[string gistId]/commits
function get gists/[string gistId]/commits(map<string|string[]> headers, *GistsListCommitsQueries queries) returns GistCommit[]|error?List gist commits
Parameters
- queries *GistsListCommitsQueries - Queries to be sent with the request
Return Type
- GistCommit[]|error? - Response
get gists/[string gistId]/forks
function get gists/[string gistId]/forks(map<string|string[]> headers, *GistsListForksQueries queries) returns GistSimple[]|error?List gist forks
Parameters
- queries *GistsListForksQueries - Queries to be sent with the request
Return Type
- GistSimple[]|error? - Response
post gists/[string gistId]/forks
Fork a gist
get gists/[string gistId]/star
Check if a gist is starred
Return Type
- error? - Response if gist is starred
put gists/[string gistId]/star
Star a gist
Return Type
- error? - Response
delete gists/[string gistId]/star
Unstar a gist
Return Type
- error? - Response
get gists/[string gistId]/[string sha]
function get gists/[string gistId]/[string sha](map<string|string[]> headers) returns GistSimple|errorGet a gist revision
Return Type
- GistSimple|error - Response
get gitignore/templates
Get all gitignore templates
get gitignore/templates/[string name]
function get gitignore/templates/[string name](map<string|string[]> headers) returns GitignoreTemplate|error?Get a gitignore template
Return Type
- GitignoreTemplate|error? - Response
get installation/repositories
function get installation/repositories(map<string|string[]> headers, *AppsListReposAccessibleToInstallationQueries queries) returns RepositoryResponse|error?List repositories accessible to the app installation
Parameters
- queries *AppsListReposAccessibleToInstallationQueries - Queries to be sent with the request
Return Type
- RepositoryResponse|error? - Response
delete installation/token
Revoke an installation access token
Return Type
- error? - Response
get issues
function get issues(map<string|string[]> headers, *IssuesListQueries queries) returns Issue[]|error?List issues assigned to the authenticated user
Parameters
- queries *IssuesListQueries - Queries to be sent with the request
get licenses
function get licenses(map<string|string[]> headers, *LicensesGetAllCommonlyUsedQueries queries) returns LicenseSimple[]|error?Get all commonly used licenses
Parameters
- queries *LicensesGetAllCommonlyUsedQueries - Queries to be sent with the request
Return Type
- LicenseSimple[]|error? - Response
get licenses/[string license]
Get a license
post markdown
Render a Markdown document
Parameters
- payload MarkdownBody -
post markdown/raw
Render a Markdown document in raw mode
Parameters
- payload string -
get marketplace_listing/accounts/[int accountId]
function get marketplace_listing/accounts/[int accountId](map<string|string[]> headers) returns MarketplacePurchase|errorGet a subscription plan for an account
Return Type
- MarketplacePurchase|error - Response
get marketplace_listing/plans
function get marketplace_listing/plans(map<string|string[]> headers, *AppsListPlansQueries queries) returns MarketplaceListingPlan[]|errorList plans
Parameters
- queries *AppsListPlansQueries - Queries to be sent with the request
Return Type
- MarketplaceListingPlan[]|error - Response
get marketplace_listing/plans/[int planId]/accounts
function get marketplace_listing/plans/[int planId]/accounts(map<string|string[]> headers, *AppsListAccountsForPlanQueries queries) returns MarketplacePurchase[]|errorList accounts for a plan
Parameters
- queries *AppsListAccountsForPlanQueries - Queries to be sent with the request
Return Type
- MarketplacePurchase[]|error - Response
get marketplace_listing/stubbed/accounts/[int accountId]
function get marketplace_listing/stubbed/accounts/[int accountId](map<string|string[]> headers) returns MarketplacePurchase|errorGet a subscription plan for an account (stubbed)
Return Type
- MarketplacePurchase|error - Response
get marketplace_listing/stubbed/plans
function get marketplace_listing/stubbed/plans(map<string|string[]> headers, *AppsListPlansStubbedQueries queries) returns MarketplaceListingPlan[]|errorList plans (stubbed)
Parameters
- queries *AppsListPlansStubbedQueries - Queries to be sent with the request
Return Type
- MarketplaceListingPlan[]|error - Response
get marketplace_listing/stubbed/plans/[int planId]/accounts
function get marketplace_listing/stubbed/plans/[int planId]/accounts(map<string|string[]> headers, *AppsListAccountsForPlanStubbedQueries queries) returns MarketplacePurchase[]|errorList accounts for a plan (stubbed)
Parameters
- queries *AppsListAccountsForPlanStubbedQueries - Queries to be sent with the request
Return Type
- MarketplacePurchase[]|error - Response
get meta
function get meta(map<string|string[]> headers) returns ApiOverview|error?Get GitHub meta information
Return Type
- ApiOverview|error? - Response
get networks/[string owner]/[string repo]/events
function get networks/[string owner]/[string repo]/events(map<string|string[]> headers, *ActivityListPublicEventsForRepoNetworkQueries queries) returns Event[]|error?List public events for a network of repositories
Parameters
- queries *ActivityListPublicEventsForRepoNetworkQueries - Queries to be sent with the request
get notifications
function get notifications(map<string|string[]> headers, *ActivityListNotificationsForAuthenticatedUserQueries queries) returns NotificationThread[]|error?List notifications for the authenticated user
Parameters
- queries *ActivityListNotificationsForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- NotificationThread[]|error? - Response
put notifications
function put notifications(NotificationsBody payload, map<string|string[]> headers) returns NotificationRead|error?Mark notifications as read
Parameters
- payload NotificationsBody -
Return Type
- NotificationRead|error? - Response
get notifications/threads/[int threadId]
function get notifications/threads/[int threadId](map<string|string[]> headers) returns NotificationThread|error?Get a thread
Return Type
- NotificationThread|error? - Response
patch notifications/threads/[int threadId]
Mark a thread as read
Return Type
- error? - Reset Content
get notifications/threads/[int threadId]/subscription
function get notifications/threads/[int threadId]/subscription(map<string|string[]> headers) returns ThreadSubscription|error?Get a thread subscription for the authenticated user
Return Type
- ThreadSubscription|error? - Response
put notifications/threads/[int threadId]/subscription
function put notifications/threads/[int threadId]/subscription(ThreadIdSubscriptionBody payload, map<string|string[]> headers) returns ThreadSubscription|error?Set a thread subscription
Parameters
- payload ThreadIdSubscriptionBody -
Return Type
- ThreadSubscription|error? - Response
delete notifications/threads/[int threadId]/subscription
function delete notifications/threads/[int threadId]/subscription(map<string|string[]> headers) returns error?Delete a thread subscription
Return Type
- error? - Response
get octocat
function get octocat(map<string|string[]> headers, *MetaGetOctocatQueries queries) returns Response|errorGet Octocat
Parameters
- queries *MetaGetOctocatQueries - Queries to be sent with the request
get organizations
function get organizations(map<string|string[]> headers, *OrgsListQueries queries) returns OrganizationSimple[]|error?List organizations
Parameters
- queries *OrgsListQueries - Queries to be sent with the request
Return Type
- OrganizationSimple[]|error? - Response
get orgs/[string org]
function get orgs/[string org](map<string|string[]> headers) returns OrganizationFull|errorGet an organization
Return Type
- OrganizationFull|error - Response
delete orgs/[string org]
Delete an organization
Return Type
- record {}|error - Accepted
patch orgs/[string org]
function patch orgs/[string org](OrgsorgBody payload, map<string|string[]> headers) returns OrganizationFull|errorUpdate an organization
Parameters
- payload OrgsorgBody -
Return Type
- OrganizationFull|error - Response
get orgs/[string org]/actions/cache/usage
function get orgs/[string org]/actions/cache/usage(map<string|string[]> headers) returns ActionsCacheUsageOrgEnterprise|errorGet GitHub Actions cache usage for an organization
Return Type
- ActionsCacheUsageOrgEnterprise|error - Response
get orgs/[string org]/actions/cache/usage-by-repository
function get orgs/[string org]/actions/cache/usage\-by\-repository(map<string|string[]> headers, *ActionsGetActionsCacheUsageByRepoForOrgQueries queries) returns ActionsCacheUsageByRepositoryResponse|errorList repositories with GitHub Actions cache usage for an organization
Parameters
- queries *ActionsGetActionsCacheUsageByRepoForOrgQueries - Queries to be sent with the request
Return Type
- ActionsCacheUsageByRepositoryResponse|error - Response
get orgs/[string org]/actions/oidc/customization/sub
function get orgs/[string org]/actions/oidc/customization/sub(map<string|string[]> headers) returns OidcCustomSub|errorGet the customization template for an OIDC subject claim for an organization
Return Type
- OidcCustomSub|error - A JSON serialized template for OIDC subject claim customization
put orgs/[string org]/actions/oidc/customization/sub
function put orgs/[string org]/actions/oidc/customization/sub(OidcCustomSub payload, map<string|string[]> headers) returns EmptyObject|errorSet the customization template for an OIDC subject claim for an organization
Parameters
- payload OidcCustomSub -
Return Type
- EmptyObject|error - Empty response
get orgs/[string org]/actions/permissions
function get orgs/[string org]/actions/permissions(map<string|string[]> headers) returns ActionsOrganizationPermissions|errorGet GitHub Actions permissions for an organization
Return Type
- ActionsOrganizationPermissions|error - Response
put orgs/[string org]/actions/permissions
function put orgs/[string org]/actions/permissions(ActionsPermissionsBody payload, map<string|string[]> headers) returns error?Set GitHub Actions permissions for an organization
Parameters
- payload ActionsPermissionsBody -
Return Type
- error? - Response
get orgs/[string org]/actions/permissions/repositories
function get orgs/[string org]/actions/permissions/repositories(map<string|string[]> headers, *ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationQueries queries) returns RepositoryResponse|errorList selected repositories enabled for GitHub Actions in an organization
Parameters
- queries *ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationQueries - Queries to be sent with the request
Return Type
- RepositoryResponse|error - Response
put orgs/[string org]/actions/permissions/repositories
function put orgs/[string org]/actions/permissions/repositories(PermissionsRepositoriesBody payload, map<string|string[]> headers) returns error?Set selected repositories enabled for GitHub Actions in an organization
Parameters
- payload PermissionsRepositoriesBody -
Return Type
- error? - Response
put orgs/[string org]/actions/permissions/repositories/[int repositoryId]
function put orgs/[string org]/actions/permissions/repositories/[int repositoryId](map<string|string[]> headers) returns error?Enable a selected repository for GitHub Actions in an organization
Return Type
- error? - Response
delete orgs/[string org]/actions/permissions/repositories/[int repositoryId]
function delete orgs/[string org]/actions/permissions/repositories/[int repositoryId](map<string|string[]> headers) returns error?Disable a selected repository for GitHub Actions in an organization
Return Type
- error? - Response
get orgs/[string org]/actions/permissions/selected-actions
function get orgs/[string org]/actions/permissions/selected\-actions(map<string|string[]> headers) returns SelectedActions|errorGet allowed actions and reusable workflows for an organization
Return Type
- SelectedActions|error - Response
put orgs/[string org]/actions/permissions/selected-actions
function put orgs/[string org]/actions/permissions/selected\-actions(SelectedActions payload, map<string|string[]> headers) returns error?Set allowed actions and reusable workflows for an organization
Parameters
- payload SelectedActions -
Return Type
- error? - Response
get orgs/[string org]/actions/permissions/workflow
function get orgs/[string org]/actions/permissions/workflow(map<string|string[]> headers) returns ActionsGetDefaultWorkflowPermissions|errorGet default workflow permissions for an organization
Return Type
- ActionsGetDefaultWorkflowPermissions|error - Response
put orgs/[string org]/actions/permissions/workflow
function put orgs/[string org]/actions/permissions/workflow(ActionsSetDefaultWorkflowPermissions payload, map<string|string[]> headers) returns error?Set default workflow permissions for an organization
Parameters
- payload ActionsSetDefaultWorkflowPermissions -
Return Type
- error? - Success response
get orgs/[string org]/actions/runners
function get orgs/[string org]/actions/runners(map<string|string[]> headers, *ActionsListSelfHostedRunnersForOrgQueries queries) returns RunnerResponse|errorList self-hosted runners for an organization
Parameters
- queries *ActionsListSelfHostedRunnersForOrgQueries - Queries to be sent with the request
Return Type
- RunnerResponse|error - Response
get orgs/[string org]/actions/runners/downloads
function get orgs/[string org]/actions/runners/downloads(map<string|string[]> headers) returns RunnerApplication[]|errorList runner applications for an organization
Return Type
- RunnerApplication[]|error - Response
post orgs/[string org]/actions/runners/generate-jitconfig
function post orgs/[string org]/actions/runners/generate\-jitconfig(RunnersGenerateJitconfigBody payload, map<string|string[]> headers) returns JitConfig|errorCreate configuration for a just-in-time runner for an organization
Parameters
- payload RunnersGenerateJitconfigBody -
post orgs/[string org]/actions/runners/registration-token
function post orgs/[string org]/actions/runners/registration\-token(map<string|string[]> headers) returns AuthenticationToken|errorCreate a registration token for an organization
Return Type
- AuthenticationToken|error - Response
post orgs/[string org]/actions/runners/remove-token
function post orgs/[string org]/actions/runners/remove\-token(map<string|string[]> headers) returns AuthenticationToken|errorCreate a remove token for an organization
Return Type
- AuthenticationToken|error - Response
get orgs/[string org]/actions/runners/[int runnerId]
function get orgs/[string org]/actions/runners/[int runnerId](map<string|string[]> headers) returns Runner|errorGet a self-hosted runner for an organization
delete orgs/[string org]/actions/runners/[int runnerId]
function delete orgs/[string org]/actions/runners/[int runnerId](map<string|string[]> headers) returns error?Delete a self-hosted runner from an organization
Return Type
- error? - Response
get orgs/[string org]/actions/runners/[int runnerId]/labels
function get orgs/[string org]/actions/runners/[int runnerId]/labels(map<string|string[]> headers) returns RunnerLabelResponse|errorList labels for a self-hosted runner for an organization
Return Type
- RunnerLabelResponse|error - Response
put orgs/[string org]/actions/runners/[int runnerId]/labels
function put orgs/[string org]/actions/runners/[int runnerId]/labels(RunnerIdLabelsBody payload, map<string|string[]> headers) returns RunnerLabelResponse|errorSet custom labels for a self-hosted runner for an organization
Parameters
- payload RunnerIdLabelsBody -
Return Type
- RunnerLabelResponse|error - Response
post orgs/[string org]/actions/runners/[int runnerId]/labels
function post orgs/[string org]/actions/runners/[int runnerId]/labels(RunnerIdLabelsBody1 payload, map<string|string[]> headers) returns RunnerLabelResponse|errorAdd custom labels to a self-hosted runner for an organization
Parameters
- payload RunnerIdLabelsBody1 -
Return Type
- RunnerLabelResponse|error - Response
delete orgs/[string org]/actions/runners/[int runnerId]/labels
function delete orgs/[string org]/actions/runners/[int runnerId]/labels(map<string|string[]> headers) returns RunnerLabelResponse|errorRemove all custom labels from a self-hosted runner for an organization
Return Type
- RunnerLabelResponse|error - Response
delete orgs/[string org]/actions/runners/[int runnerId]/labels/[string name]
function delete orgs/[string org]/actions/runners/[int runnerId]/labels/[string name](map<string|string[]> headers) returns RunnerLabelResponse|errorRemove a custom label from a self-hosted runner for an organization
Return Type
- RunnerLabelResponse|error - Response
get orgs/[string org]/actions/secrets
function get orgs/[string org]/actions/secrets(map<string|string[]> headers, *ActionsListOrgSecretsQueries queries) returns OrganizationActionsSecretResponse|errorList organization secrets
Parameters
- queries *ActionsListOrgSecretsQueries - Queries to be sent with the request
Return Type
- OrganizationActionsSecretResponse|error - Response
get orgs/[string org]/actions/secrets/public-key
function get orgs/[string org]/actions/secrets/public\-key(map<string|string[]> headers) returns ActionsPublicKey|errorGet an organization public key
Return Type
- ActionsPublicKey|error - Response
get orgs/[string org]/actions/secrets/[string secretName]
function get orgs/[string org]/actions/secrets/[string secretName](map<string|string[]> headers) returns OrganizationActionsSecret|errorGet an organization secret
Return Type
- OrganizationActionsSecret|error - Response
put orgs/[string org]/actions/secrets/[string secretName]
function put orgs/[string org]/actions/secrets/[string secretName](SecretssecretNameBody payload, map<string|string[]> headers) returns EmptyObject|error?Create or update an organization secret
Parameters
- payload SecretssecretNameBody -
Return Type
- EmptyObject|error? - Response when creating a secret
delete orgs/[string org]/actions/secrets/[string secretName]
function delete orgs/[string org]/actions/secrets/[string secretName](map<string|string[]> headers) returns error?Delete an organization secret
Return Type
- error? - Response
get orgs/[string org]/actions/secrets/[string secretName]/repositories
function get orgs/[string org]/actions/secrets/[string secretName]/repositories(map<string|string[]> headers, *ActionsListSelectedReposForOrgSecretQueries queries) returns MinimalRepositoryResponse|errorList selected repositories for an organization secret
Parameters
- queries *ActionsListSelectedReposForOrgSecretQueries - Queries to be sent with the request
Return Type
- MinimalRepositoryResponse|error - Response
put orgs/[string org]/actions/secrets/[string secretName]/repositories
function put orgs/[string org]/actions/secrets/[string secretName]/repositories(SecretNameRepositoriesBody payload, map<string|string[]> headers) returns error?Set selected repositories for an organization secret
Parameters
- payload SecretNameRepositoriesBody -
Return Type
- error? - Response
put orgs/[string org]/actions/secrets/[string secretName]/repositories/[int repositoryId]
function put orgs/[string org]/actions/secrets/[string secretName]/repositories/[int repositoryId](map<string|string[]> headers) returns error?Add selected repository to an organization secret
Return Type
- error? - No Content when repository was added to the selected list
delete orgs/[string org]/actions/secrets/[string secretName]/repositories/[int repositoryId]
function delete orgs/[string org]/actions/secrets/[string secretName]/repositories/[int repositoryId](map<string|string[]> headers) returns error?Remove selected repository from an organization secret
Return Type
- error? - Response when repository was removed from the selected list
get orgs/[string org]/actions/variables
function get orgs/[string org]/actions/variables(map<string|string[]> headers, *ActionsListOrgVariablesQueries queries) returns OrganizationActionsVariableResponse|errorList organization variables
Parameters
- queries *ActionsListOrgVariablesQueries - Queries to be sent with the request
Return Type
- OrganizationActionsVariableResponse|error - Response
post orgs/[string org]/actions/variables
function post orgs/[string org]/actions/variables(ActionsVariablesBody payload, map<string|string[]> headers) returns EmptyObject|errorCreate an organization variable
Parameters
- payload ActionsVariablesBody -
Return Type
- EmptyObject|error - Response when creating a variable
get orgs/[string org]/actions/variables/[string name]
function get orgs/[string org]/actions/variables/[string name](map<string|string[]> headers) returns OrganizationActionsVariable|errorGet an organization variable
Return Type
- OrganizationActionsVariable|error - Response
delete orgs/[string org]/actions/variables/[string name]
function delete orgs/[string org]/actions/variables/[string name](map<string|string[]> headers) returns error?Delete an organization variable
Return Type
- error? - Response
patch orgs/[string org]/actions/variables/[string name]
function patch orgs/[string org]/actions/variables/[string name](VariablesnameBody payload, map<string|string[]> headers) returns error?Update an organization variable
Parameters
- payload VariablesnameBody -
Return Type
- error? - Response
get orgs/[string org]/actions/variables/[string name]/repositories
function get orgs/[string org]/actions/variables/[string name]/repositories(map<string|string[]> headers, *ActionsListSelectedReposForOrgVariableQueries queries) returns MinimalRepositoryResponse|errorList selected repositories for an organization variable
Parameters
- queries *ActionsListSelectedReposForOrgVariableQueries - Queries to be sent with the request
Return Type
- MinimalRepositoryResponse|error - Response
put orgs/[string org]/actions/variables/[string name]/repositories
function put orgs/[string org]/actions/variables/[string name]/repositories(NameRepositoriesBody payload, map<string|string[]> headers) returns error?Set selected repositories for an organization variable
Parameters
- payload NameRepositoriesBody -
Return Type
- error? - Response
put orgs/[string org]/actions/variables/[string name]/repositories/[int repositoryId]
function put orgs/[string org]/actions/variables/[string name]/repositories/[int repositoryId](map<string|string[]> headers) returns error?Add selected repository to an organization variable
Return Type
- error? - Response
delete orgs/[string org]/actions/variables/[string name]/repositories/[int repositoryId]
function delete orgs/[string org]/actions/variables/[string name]/repositories/[int repositoryId](map<string|string[]> headers) returns error?Remove selected repository from an organization variable
Return Type
- error? - Response
get orgs/[string org]/blocks
function get orgs/[string org]/blocks(map<string|string[]> headers, *OrgsListBlockedUsersQueries queries) returns SimpleUser[]|errorList users blocked by an organization
Parameters
- queries *OrgsListBlockedUsersQueries - Queries to be sent with the request
Return Type
- SimpleUser[]|error - Response
get orgs/[string org]/blocks/[string username]
function get orgs/[string org]/blocks/[string username](map<string|string[]> headers) returns error?Check if a user is blocked by an organization
Return Type
- error? - If the user is blocked
put orgs/[string org]/blocks/[string username]
function put orgs/[string org]/blocks/[string username](map<string|string[]> headers) returns error?Block a user from an organization
Return Type
- error? - Response
delete orgs/[string org]/blocks/[string username]
function delete orgs/[string org]/blocks/[string username](map<string|string[]> headers) returns error?Unblock a user from an organization
Return Type
- error? - Response
get orgs/[string org]/code-scanning/alerts
function get orgs/[string org]/code\-scanning/alerts(map<string|string[]> headers, *CodeScanningListAlertsForOrgQueries queries) returns CodeScanningOrganizationAlertItems[]|errorList secret scanning alerts for an organization
Parameters
- queries *CodeScanningListAlertsForOrgQueries - Queries to be sent with the request
Return Type
- CodeScanningOrganizationAlertItems[]|error - Response
get orgs/[string org]/codespaces
function get orgs/[string org]/codespaces(map<string|string[]> headers, *CodespacesListInOrganizationQueries queries) returns CodespaceResponse|error?List codespaces for the organization
Parameters
- queries *CodespacesListInOrganizationQueries - Queries to be sent with the request
Return Type
- CodespaceResponse|error? - Response
put orgs/[string org]/codespaces/access
function put orgs/[string org]/codespaces/access(CodespacesAccessBody payload, map<string|string[]> headers) returns error?Manage access control for organization codespaces
Parameters
- payload CodespacesAccessBody -
Return Type
- error? - Response when successfully modifying permissions
Deprecated
post orgs/[string org]/codespaces/access/selected_users
function post orgs/[string org]/codespaces/access/selected_users(AccessSelectedUsersBody payload, map<string|string[]> headers) returns error?Add users to Codespaces access for an organization
Parameters
- payload AccessSelectedUsersBody -
Return Type
- error? - Response when successfully modifying permissions
Deprecated
delete orgs/[string org]/codespaces/access/selected_users
function delete orgs/[string org]/codespaces/access/selected_users(AccessSelectedUsersBody1 payload, map<string|string[]> headers) returns error?Remove users from Codespaces access for an organization
Parameters
- payload AccessSelectedUsersBody1 -
Return Type
- error? - Response when successfully modifying permissions
Deprecated
get orgs/[string org]/codespaces/secrets
function get orgs/[string org]/codespaces/secrets(map<string|string[]> headers, *CodespacesListOrgSecretsQueries queries) returns CodespacesOrgSecretResponse|errorList organization secrets
Parameters
- queries *CodespacesListOrgSecretsQueries - Queries to be sent with the request
Return Type
- CodespacesOrgSecretResponse|error - Response
get orgs/[string org]/codespaces/secrets/public-key
function get orgs/[string org]/codespaces/secrets/public\-key(map<string|string[]> headers) returns CodespacesPublicKey|errorGet an organization public key
Return Type
- CodespacesPublicKey|error - Response
get orgs/[string org]/codespaces/secrets/[string secretName]
function get orgs/[string org]/codespaces/secrets/[string secretName](map<string|string[]> headers) returns CodespacesOrgSecret|errorGet an organization secret
Return Type
- CodespacesOrgSecret|error - Response
put orgs/[string org]/codespaces/secrets/[string secretName]
function put orgs/[string org]/codespaces/secrets/[string secretName](SecretssecretNameBody1 payload, map<string|string[]> headers) returns EmptyObject|error?Create or update an organization secret
Parameters
- payload SecretssecretNameBody1 -
Return Type
- EmptyObject|error? - Response when creating a secret
delete orgs/[string org]/codespaces/secrets/[string secretName]
function delete orgs/[string org]/codespaces/secrets/[string secretName](map<string|string[]> headers) returns error?Delete an organization secret
Return Type
- error? - Response
get orgs/[string org]/codespaces/secrets/[string secretName]/repositories
function get orgs/[string org]/codespaces/secrets/[string secretName]/repositories(map<string|string[]> headers, *CodespacesListSelectedReposForOrgSecretQueries queries) returns MinimalRepositoryResponse|errorList selected repositories for an organization secret
Parameters
- queries *CodespacesListSelectedReposForOrgSecretQueries - Queries to be sent with the request
Return Type
- MinimalRepositoryResponse|error - Response
put orgs/[string org]/codespaces/secrets/[string secretName]/repositories
function put orgs/[string org]/codespaces/secrets/[string secretName]/repositories(SecretNameRepositoriesBody1 payload, map<string|string[]> headers) returns error?Set selected repositories for an organization secret
Parameters
- payload SecretNameRepositoriesBody1 -
Return Type
- error? - Response
put orgs/[string org]/codespaces/secrets/[string secretName]/repositories/[int repositoryId]
function put orgs/[string org]/codespaces/secrets/[string secretName]/repositories/[int repositoryId](map<string|string[]> headers) returns error?Add selected repository to an organization secret
Return Type
- error? - No Content when repository was added to the selected list
delete orgs/[string org]/codespaces/secrets/[string secretName]/repositories/[int repositoryId]
function delete orgs/[string org]/codespaces/secrets/[string secretName]/repositories/[int repositoryId](map<string|string[]> headers) returns error?Remove selected repository from an organization secret
Return Type
- error? - Response when repository was removed from the selected list
get orgs/[string org]/copilot/billing
function get orgs/[string org]/copilot/billing(map<string|string[]> headers) returns CopilotOrganizationDetails|errorGet Copilot for Business seat information and settings for an organization
Return Type
get orgs/[string org]/copilot/billing/seats
function get orgs/[string org]/copilot/billing/seats(map<string|string[]> headers, *CopilotListCopilotSeatsQueries queries) returns CopilotSeatDetailsResponse|errorList all Copilot for Business seat assignments for an organization
Parameters
- queries *CopilotListCopilotSeatsQueries - Queries to be sent with the request
Return Type
- CopilotSeatDetailsResponse|error - Response
post orgs/[string org]/copilot/billing/selected_teams
function post orgs/[string org]/copilot/billing/selected_teams(BillingSelectedTeamsBody payload, map<string|string[]> headers) returns CopilotSeatCreated|errorAdd teams to the Copilot for Business subscription for an organization
Parameters
- payload BillingSelectedTeamsBody -
Return Type
- CopilotSeatCreated|error - OK
delete orgs/[string org]/copilot/billing/selected_teams
function delete orgs/[string org]/copilot/billing/selected_teams(BillingSelectedTeamsBody1 payload, map<string|string[]> headers) returns CopilotSeatCancelled|errorRemove teams from the Copilot for Business subscription for an organization
Parameters
- payload BillingSelectedTeamsBody1 -
Return Type
post orgs/[string org]/copilot/billing/selected_users
function post orgs/[string org]/copilot/billing/selected_users(BillingSelectedUsersBody payload, map<string|string[]> headers) returns CopilotSeatCreated|errorAdd users to the Copilot for Business subscription for an organization
Parameters
- payload BillingSelectedUsersBody -
Return Type
- CopilotSeatCreated|error - OK
delete orgs/[string org]/copilot/billing/selected_users
function delete orgs/[string org]/copilot/billing/selected_users(BillingSelectedUsersBody1 payload, map<string|string[]> headers) returns CopilotSeatCancelled|errorRemove users from the Copilot for Business subscription for an organization
Parameters
- payload BillingSelectedUsersBody1 -
Return Type
get orgs/[string org]/dependabot/alerts
function get orgs/[string org]/dependabot/alerts(map<string|string[]> headers, *DependabotListAlertsForOrgQueries queries) returns DependabotAlertWithRepository[]|error?List Dependabot alerts for an organization
Parameters
- queries *DependabotListAlertsForOrgQueries - Queries to be sent with the request
Return Type
- DependabotAlertWithRepository[]|error? - Response
get orgs/[string org]/dependabot/secrets
function get orgs/[string org]/dependabot/secrets(map<string|string[]> headers, *DependabotListOrgSecretsQueries queries) returns OrganizationDependabotSecretResponse|errorList organization secrets
Parameters
- queries *DependabotListOrgSecretsQueries - Queries to be sent with the request
Return Type
- OrganizationDependabotSecretResponse|error - Response
get orgs/[string org]/dependabot/secrets/public-key
function get orgs/[string org]/dependabot/secrets/public\-key(map<string|string[]> headers) returns DependabotPublicKey|errorGet an organization public key
Return Type
- DependabotPublicKey|error - Response
get orgs/[string org]/dependabot/secrets/[string secretName]
function get orgs/[string org]/dependabot/secrets/[string secretName](map<string|string[]> headers) returns OrganizationDependabotSecret|errorGet an organization secret
Return Type
- OrganizationDependabotSecret|error - Response
put orgs/[string org]/dependabot/secrets/[string secretName]
function put orgs/[string org]/dependabot/secrets/[string secretName](SecretssecretNameBody2 payload, map<string|string[]> headers) returns EmptyObject|error?Create or update an organization secret
Parameters
- payload SecretssecretNameBody2 -
Return Type
- EmptyObject|error? - Response when creating a secret
delete orgs/[string org]/dependabot/secrets/[string secretName]
function delete orgs/[string org]/dependabot/secrets/[string secretName](map<string|string[]> headers) returns error?Delete an organization secret
Return Type
- error? - Response
get orgs/[string org]/dependabot/secrets/[string secretName]/repositories
function get orgs/[string org]/dependabot/secrets/[string secretName]/repositories(map<string|string[]> headers, *DependabotListSelectedReposForOrgSecretQueries queries) returns MinimalRepositoryResponse|errorList selected repositories for an organization secret
Parameters
- queries *DependabotListSelectedReposForOrgSecretQueries - Queries to be sent with the request
Return Type
- MinimalRepositoryResponse|error - Response
put orgs/[string org]/dependabot/secrets/[string secretName]/repositories
function put orgs/[string org]/dependabot/secrets/[string secretName]/repositories(SecretNameRepositoriesBody2 payload, map<string|string[]> headers) returns error?Set selected repositories for an organization secret
Parameters
- payload SecretNameRepositoriesBody2 -
Return Type
- error? - Response
put orgs/[string org]/dependabot/secrets/[string secretName]/repositories/[int repositoryId]
function put orgs/[string org]/dependabot/secrets/[string secretName]/repositories/[int repositoryId](map<string|string[]> headers) returns error?Add selected repository to an organization secret
Return Type
- error? - No Content when repository was added to the selected list
delete orgs/[string org]/dependabot/secrets/[string secretName]/repositories/[int repositoryId]
function delete orgs/[string org]/dependabot/secrets/[string secretName]/repositories/[int repositoryId](map<string|string[]> headers) returns error?Remove selected repository from an organization secret
Return Type
- error? - Response when repository was removed from the selected list
get orgs/[string org]/docker/conflicts
function get orgs/[string org]/docker/conflicts(map<string|string[]> headers) returns Package[]|errorGet list of conflicting packages during Docker migration for organization
get orgs/[string org]/events
function get orgs/[string org]/events(map<string|string[]> headers, *ActivityListPublicOrgEventsQueries queries) returns Event[]|errorList public organization events
Parameters
- queries *ActivityListPublicOrgEventsQueries - Queries to be sent with the request
get orgs/[string org]/failed_invitations
function get orgs/[string org]/failed_invitations(map<string|string[]> headers, *OrgsListFailedInvitationsQueries queries) returns OrganizationInvitation[]|errorList failed organization invitations
Parameters
- queries *OrgsListFailedInvitationsQueries - Queries to be sent with the request
Return Type
- OrganizationInvitation[]|error - Response
get orgs/[string org]/hooks
function get orgs/[string org]/hooks(map<string|string[]> headers, *OrgsListWebhooksQueries queries) returns OrgHook[]|errorList organization webhooks
Parameters
- queries *OrgsListWebhooksQueries - Queries to be sent with the request
post orgs/[string org]/hooks
function post orgs/[string org]/hooks(OrgHooksBody payload, map<string|string[]> headers) returns OrgHook|errorCreate an organization webhook
Parameters
- payload OrgHooksBody -
get orgs/[string org]/hooks/[int hookId]
function get orgs/[string org]/hooks/[int hookId](map<string|string[]> headers) returns OrgHook|errorGet an organization webhook
delete orgs/[string org]/hooks/[int hookId]
Delete an organization webhook
Return Type
- error? - Response
patch orgs/[string org]/hooks/[int hookId]
function patch orgs/[string org]/hooks/[int hookId](HookshookIdBody payload, map<string|string[]> headers) returns OrgHook|errorUpdate an organization webhook
Parameters
- payload HookshookIdBody -
get orgs/[string org]/hooks/[int hookId]/config
function get orgs/[string org]/hooks/[int hookId]/config(map<string|string[]> headers) returns WebhookConfig|errorGet a webhook configuration for an organization
Return Type
- WebhookConfig|error - Response
patch orgs/[string org]/hooks/[int hookId]/config
function patch orgs/[string org]/hooks/[int hookId]/config(HookConfigBody payload, map<string|string[]> headers) returns WebhookConfig|errorUpdate a webhook configuration for an organization
Parameters
- payload HookConfigBody -
Return Type
- WebhookConfig|error - Response
get orgs/[string org]/hooks/[int hookId]/deliveries
function get orgs/[string org]/hooks/[int hookId]/deliveries(map<string|string[]> headers, *OrgsListWebhookDeliveriesQueries queries) returns HookDeliveryItem[]|errorList deliveries for an organization webhook
Parameters
- queries *OrgsListWebhookDeliveriesQueries - Queries to be sent with the request
Return Type
- HookDeliveryItem[]|error - Response
get orgs/[string org]/hooks/[int hookId]/deliveries/[int deliveryId]
function get orgs/[string org]/hooks/[int hookId]/deliveries/[int deliveryId](map<string|string[]> headers) returns HookDelivery|errorGet a webhook delivery for an organization webhook
Return Type
- HookDelivery|error - Response
post orgs/[string org]/hooks/[int hookId]/deliveries/[int deliveryId]/attempts
function post orgs/[string org]/hooks/[int hookId]/deliveries/[int deliveryId]/attempts(map<string|string[]> headers) returns record {}|errorRedeliver a delivery for an organization webhook
Return Type
- record {}|error - Accepted
post orgs/[string org]/hooks/[int hookId]/pings
function post orgs/[string org]/hooks/[int hookId]/pings(map<string|string[]> headers) returns error?Ping an organization webhook
Return Type
- error? - Response
get orgs/[string org]/installation
function get orgs/[string org]/installation(map<string|string[]> headers) returns Installation|errorGet an organization installation for the authenticated app
Return Type
- Installation|error - Response
get orgs/[string org]/installations
function get orgs/[string org]/installations(map<string|string[]> headers, *OrgsListAppInstallationsQueries queries) returns InstallationResponse|errorList app installations for an organization
Parameters
- queries *OrgsListAppInstallationsQueries - Queries to be sent with the request
Return Type
- InstallationResponse|error - Response
get orgs/[string org]/interaction-limits
function get orgs/[string org]/interaction\-limits(map<string|string[]> headers) returns InteractionLimitResponseAny|errorGet interaction restrictions for an organization
Return Type
- InteractionLimitResponseAny|error - Response
put orgs/[string org]/interaction-limits
function put orgs/[string org]/interaction\-limits(InteractionLimit payload, map<string|string[]> headers) returns InteractionLimitResponse|errorSet interaction restrictions for an organization
Parameters
- payload InteractionLimit -
Return Type
- InteractionLimitResponse|error - Response
delete orgs/[string org]/interaction-limits
Remove interaction restrictions for an organization
Return Type
- error? - Response
get orgs/[string org]/invitations
function get orgs/[string org]/invitations(map<string|string[]> headers, *OrgsListPendingInvitationsQueries queries) returns OrganizationInvitation[]|errorList pending organization invitations
Parameters
- queries *OrgsListPendingInvitationsQueries - Queries to be sent with the request
Return Type
- OrganizationInvitation[]|error - Response
post orgs/[string org]/invitations
function post orgs/[string org]/invitations(OrgInvitationsBody payload, map<string|string[]> headers) returns OrganizationInvitation|errorCreate an organization invitation
Parameters
- payload OrgInvitationsBody -
Return Type
- OrganizationInvitation|error - Response
delete orgs/[string org]/invitations/[int invitationId]
function delete orgs/[string org]/invitations/[int invitationId](map<string|string[]> headers) returns error?Cancel an organization invitation
Return Type
- error? - Response
get orgs/[string org]/invitations/[int invitationId]/teams
function get orgs/[string org]/invitations/[int invitationId]/teams(map<string|string[]> headers, *OrgsListInvitationTeamsQueries queries) returns Team[]|errorList organization invitation teams
Parameters
- queries *OrgsListInvitationTeamsQueries - Queries to be sent with the request
get orgs/[string org]/issues
function get orgs/[string org]/issues(map<string|string[]> headers, *IssuesListForOrgQueries queries) returns Issue[]|errorList organization issues assigned to the authenticated user
Parameters
- queries *IssuesListForOrgQueries - Queries to be sent with the request
get orgs/[string org]/members
function get orgs/[string org]/members(map<string|string[]> headers, *OrgsListMembersQueries queries) returns SimpleUser[]|errorList organization members
Parameters
- queries *OrgsListMembersQueries - Queries to be sent with the request
Return Type
- SimpleUser[]|error - Response
get orgs/[string org]/members/[string username]
function get orgs/[string org]/members/[string username](map<string|string[]> headers) returns error?Check organization membership for a user
Return Type
- error? - Response if requester is an organization member and user is a member
delete orgs/[string org]/members/[string username]
function delete orgs/[string org]/members/[string username](map<string|string[]> headers) returns error?Remove an organization member
Return Type
- error? - Response
get orgs/[string org]/members/[string username]/codespaces
function get orgs/[string org]/members/[string username]/codespaces(map<string|string[]> headers, *CodespacesGetCodespacesForUserInOrgQueries queries) returns CodespaceResponse|error?List codespaces for a user in organization
Parameters
- queries *CodespacesGetCodespacesForUserInOrgQueries - Queries to be sent with the request
Return Type
- CodespaceResponse|error? - Response
delete orgs/[string org]/members/[string username]/codespaces/[string codespaceName]
function delete orgs/[string org]/members/[string username]/codespaces/[string codespaceName](map<string|string[]> headers) returns record {}|error?Delete a codespace from the organization
Return Type
- record {}|error? - Accepted
post orgs/[string org]/members/[string username]/codespaces/[string codespaceName]/stop
function post orgs/[string org]/members/[string username]/codespaces/[string codespaceName]/stop(map<string|string[]> headers) returns Codespace|error?Stop a codespace for an organization user
get orgs/[string org]/members/[string username]/copilot
function get orgs/[string org]/members/[string username]/copilot(map<string|string[]> headers) returns CopilotSeatDetails|errorGet Copilot for Business seat assignment details for a user
Return Type
- CopilotSeatDetails|error - The user's GitHub Copilot seat details, including usage
get orgs/[string org]/memberships/[string username]
function get orgs/[string org]/memberships/[string username](map<string|string[]> headers) returns OrgMembership|errorGet organization membership for a user
Return Type
- OrgMembership|error - Response
put orgs/[string org]/memberships/[string username]
function put orgs/[string org]/memberships/[string username](MembershipsusernameBody payload, map<string|string[]> headers) returns OrgMembership|errorSet organization membership for a user
Parameters
- payload MembershipsusernameBody -
Return Type
- OrgMembership|error - Response
delete orgs/[string org]/memberships/[string username]
function delete orgs/[string org]/memberships/[string username](map<string|string[]> headers) returns error?Remove organization membership for a user
Return Type
- error? - Response
get orgs/[string org]/migrations
function get orgs/[string org]/migrations(map<string|string[]> headers, *MigrationsListForOrgQueries queries) returns Migration[]|errorList organization migrations
Parameters
- queries *MigrationsListForOrgQueries - Queries to be sent with the request
post orgs/[string org]/migrations
function post orgs/[string org]/migrations(OrgMigrationsBody payload, map<string|string[]> headers) returns Migration|errorStart an organization migration
Parameters
- payload OrgMigrationsBody -
get orgs/[string org]/migrations/[int migrationId]
function get orgs/[string org]/migrations/[int migrationId](map<string|string[]> headers, *MigrationsGetStatusForOrgQueries queries) returns Migration|errorGet an organization migration status
Parameters
- queries *MigrationsGetStatusForOrgQueries - Queries to be sent with the request
Return Type
get orgs/[string org]/migrations/[int migrationId]/archive
function get orgs/[string org]/migrations/[int migrationId]/archive(map<string|string[]> headers) returns error?Download an organization migration archive
Return Type
- error? - Response
delete orgs/[string org]/migrations/[int migrationId]/archive
function delete orgs/[string org]/migrations/[int migrationId]/archive(map<string|string[]> headers) returns error?Delete an organization migration archive
Return Type
- error? - Response
delete orgs/[string org]/migrations/[int migrationId]/repos/[string repoName]/'lock
function delete orgs/[string org]/migrations/[int migrationId]/repos/[string repoName]/'lock(map<string|string[]> headers) returns error?Unlock an organization repository
Return Type
- error? - Response
get orgs/[string org]/migrations/[int migrationId]/repositories
function get orgs/[string org]/migrations/[int migrationId]/repositories(map<string|string[]> headers, *MigrationsListReposForOrgQueries queries) returns MinimalRepository[]|errorList repositories in an organization migration
Parameters
- queries *MigrationsListReposForOrgQueries - Queries to be sent with the request
Return Type
- MinimalRepository[]|error - Response
get orgs/[string org]/outside_collaborators
function get orgs/[string org]/outside_collaborators(map<string|string[]> headers, *OrgsListOutsideCollaboratorsQueries queries) returns SimpleUser[]|errorList outside collaborators for an organization
Parameters
- queries *OrgsListOutsideCollaboratorsQueries - Queries to be sent with the request
Return Type
- SimpleUser[]|error - Response
put orgs/[string org]/outside_collaborators/[string username]
function put orgs/[string org]/outside_collaborators/[string username](OutsideCollaboratorsusernameBody payload, map<string|string[]> headers) returns record {||}|error?Convert an organization member to outside collaborator
Parameters
- payload OutsideCollaboratorsusernameBody -
Return Type
- record {||}|error? - User is getting converted asynchronously
delete orgs/[string org]/outside_collaborators/[string username]
function delete orgs/[string org]/outside_collaborators/[string username](map<string|string[]> headers) returns error?Remove outside collaborator from an organization
Return Type
- error? - Response
get orgs/[string org]/packages
function get orgs/[string org]/packages(map<string|string[]> headers, *PackagesListPackagesForOrganizationQueries queries) returns Package[]|errorList packages for an organization
Parameters
- queries *PackagesListPackagesForOrganizationQueries - Queries to be sent with the request
get orgs/[string org]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]
function get orgs/[string org]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName](map<string|string[]> headers) returns Package|errorGet a package for an organization
delete orgs/[string org]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]
function delete orgs/[string org]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName](map<string|string[]> headers) returns error?Delete a package for an organization
Return Type
- error? - Response
post orgs/[string org]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/restore
function post orgs/[string org]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/restore(map<string|string[]> headers, *PackagesRestorePackageForOrgQueries queries) returns error?Restore a package for an organization
Parameters
- queries *PackagesRestorePackageForOrgQueries - Queries to be sent with the request
Return Type
- error? - Response
get orgs/[string org]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions
function get orgs/[string org]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions(map<string|string[]> headers, *PackagesGetAllPackageVersionsForPackageOwnedByOrgQueries queries) returns PackageVersion[]|errorList package versions for a package owned by an organization
Parameters
- queries *PackagesGetAllPackageVersionsForPackageOwnedByOrgQueries - Queries to be sent with the request
Return Type
- PackageVersion[]|error - Response
get orgs/[string org]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId]
function get orgs/[string org]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId](map<string|string[]> headers) returns PackageVersion|errorGet a package version for an organization
Return Type
- PackageVersion|error - Response
delete orgs/[string org]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId]
function delete orgs/[string org]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId](map<string|string[]> headers) returns error?Delete package version for an organization
Return Type
- error? - Response
post orgs/[string org]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId]/restore
function post orgs/[string org]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId]/restore(map<string|string[]> headers) returns error?Restore package version for an organization
Return Type
- error? - Response
get orgs/[string org]/personal-access-token-requests
function get orgs/[string org]/personal\-access\-token\-requests(map<string|string[]> headers, *OrgsListPatGrantRequestsQueries queries) returns OrganizationProgrammaticAccessGrantRequest[]|errorList requests to access organization resources with fine-grained personal access tokens
Parameters
- queries *OrgsListPatGrantRequestsQueries - Queries to be sent with the request
Return Type
- OrganizationProgrammaticAccessGrantRequest[]|error - Internal Error
post orgs/[string org]/personal-access-token-requests
function post orgs/[string org]/personal\-access\-token\-requests(OrgPersonalAccessTokenRequestsBody payload, map<string|string[]> headers) returns record {}|errorReview requests to access organization resources with fine-grained personal access tokens
Parameters
- payload OrgPersonalAccessTokenRequestsBody -
Return Type
- record {}|error - Internal Error
post orgs/[string org]/personal-access-token-requests/[int patRequestId]
function post orgs/[string org]/personal\-access\-token\-requests/[int patRequestId](PersonalAccessTokenRequestspatRequestIdBody payload, map<string|string[]> headers) returns error?Update the access a fine-grained personal access token has to organization resources
Parameters
Return Type
- error? - Internal Error
get orgs/[string org]/personal-access-token-requests/[int patRequestId]/repositories
function get orgs/[string org]/personal\-access\-token\-requests/[int patRequestId]/repositories(map<string|string[]> headers, *OrgsListPatGrantRequestRepositoriesQueries queries) returns MinimalRepository[]|errorList repositories a fine-grained personal access token has access to
Parameters
- queries *OrgsListPatGrantRequestRepositoriesQueries - Queries to be sent with the request
Return Type
- MinimalRepository[]|error - Internal Error
get orgs/[string org]/personal-access-tokens
function get orgs/[string org]/personal\-access\-tokens(map<string|string[]> headers, *OrgsListPatGrantsQueries queries) returns OrganizationProgrammaticAccessGrant[]|errorList fine-grained personal access tokens with access to organization resources
Parameters
- queries *OrgsListPatGrantsQueries - Queries to be sent with the request
Return Type
- OrganizationProgrammaticAccessGrant[]|error - Internal Error
post orgs/[string org]/personal-access-tokens
function post orgs/[string org]/personal\-access\-tokens(OrgPersonalAccessTokensBody payload, map<string|string[]> headers) returns record {}|errorUpdate the access to organization resources via fine-grained personal access tokens
Parameters
- payload OrgPersonalAccessTokensBody -
Return Type
- record {}|error - Internal Error
post orgs/[string org]/personal-access-tokens/[int patId]
function post orgs/[string org]/personal\-access\-tokens/[int patId](PersonalAccessTokenspatIdBody payload, map<string|string[]> headers) returns error?Update the access a fine-grained personal access token has to organization resources
Parameters
- payload PersonalAccessTokenspatIdBody -
Return Type
- error? - Internal Error
get orgs/[string org]/personal-access-tokens/[int patId]/repositories
function get orgs/[string org]/personal\-access\-tokens/[int patId]/repositories(map<string|string[]> headers, *OrgsListPatGrantRepositoriesQueries queries) returns MinimalRepository[]|errorList repositories a fine-grained personal access token has access to
Parameters
- queries *OrgsListPatGrantRepositoriesQueries - Queries to be sent with the request
Return Type
- MinimalRepository[]|error - Internal Error
get orgs/[string org]/projects
function get orgs/[string org]/projects(map<string|string[]> headers, *ProjectsListForOrgQueries queries) returns Project[]|errorList organization projects
Parameters
- queries *ProjectsListForOrgQueries - Queries to be sent with the request
post orgs/[string org]/projects
function post orgs/[string org]/projects(OrgProjectsBody payload, map<string|string[]> headers) returns Project|errorCreate an organization project
Parameters
- payload OrgProjectsBody -
get orgs/[string org]/public_members
function get orgs/[string org]/public_members(map<string|string[]> headers, *OrgsListPublicMembersQueries queries) returns SimpleUser[]|errorList public organization members
Parameters
- queries *OrgsListPublicMembersQueries - Queries to be sent with the request
Return Type
- SimpleUser[]|error - Response
get orgs/[string org]/public_members/[string username]
function get orgs/[string org]/public_members/[string username](map<string|string[]> headers) returns error?Check public organization membership for a user
Return Type
- error? - Response if user is a public member
put orgs/[string org]/public_members/[string username]
function put orgs/[string org]/public_members/[string username](map<string|string[]> headers) returns error?Set public organization membership for the authenticated user
Return Type
- error? - Response
delete orgs/[string org]/public_members/[string username]
function delete orgs/[string org]/public_members/[string username](map<string|string[]> headers) returns error?Remove public organization membership for the authenticated user
Return Type
- error? - Response
get orgs/[string org]/repos
function get orgs/[string org]/repos(map<string|string[]> headers, *ReposListForOrgQueries queries) returns MinimalRepository[]|errorList organization repositories
Parameters
- queries *ReposListForOrgQueries - Queries to be sent with the request
Return Type
- MinimalRepository[]|error - Response
post orgs/[string org]/repos
function post orgs/[string org]/repos(OrgReposBody payload, map<string|string[]> headers) returns Repository|errorCreate an organization repository
Parameters
- payload OrgReposBody -
Return Type
- Repository|error - Response
get orgs/[string org]/rulesets
function get orgs/[string org]/rulesets(map<string|string[]> headers, *ReposGetOrgRulesetsQueries queries) returns RepositoryRuleset[]|errorGet all organization repository rulesets
Parameters
- queries *ReposGetOrgRulesetsQueries - Queries to be sent with the request
Return Type
- RepositoryRuleset[]|error - Response
post orgs/[string org]/rulesets
function post orgs/[string org]/rulesets(OrgRulesetsBody payload, map<string|string[]> headers) returns RepositoryRuleset|errorCreate an organization repository ruleset
Parameters
- payload OrgRulesetsBody - Request body
Return Type
- RepositoryRuleset|error - Response
get orgs/[string org]/rulesets/rule-suites
function get orgs/[string org]/rulesets/rule\-suites(map<string|string[]> headers, *ReposGetOrgRuleSuitesQueries queries) returns RuleSuites|errorList organization rule suites
Parameters
- queries *ReposGetOrgRuleSuitesQueries - Queries to be sent with the request
Return Type
- RuleSuites|error - Response
get orgs/[string org]/rulesets/rule-suites/[int ruleSuiteId]
function get orgs/[string org]/rulesets/rule\-suites/[int ruleSuiteId](map<string|string[]> headers) returns RuleSuite|errorGet an organization rule suite
get orgs/[string org]/rulesets/[int rulesetId]
function get orgs/[string org]/rulesets/[int rulesetId](map<string|string[]> headers) returns RepositoryRuleset|errorGet an organization repository ruleset
Return Type
- RepositoryRuleset|error - Response
put orgs/[string org]/rulesets/[int rulesetId]
function put orgs/[string org]/rulesets/[int rulesetId](RulesetsrulesetIdBody payload, map<string|string[]> headers) returns RepositoryRuleset|errorUpdate an organization repository ruleset
Parameters
- payload RulesetsrulesetIdBody - Request body
Return Type
- RepositoryRuleset|error - Response
delete orgs/[string org]/rulesets/[int rulesetId]
function delete orgs/[string org]/rulesets/[int rulesetId](map<string|string[]> headers) returns error?Delete an organization repository ruleset
Return Type
- error? - Response
get orgs/[string org]/secret-scanning/alerts
function get orgs/[string org]/secret\-scanning/alerts(map<string|string[]> headers, *SecretScanningListAlertsForOrgQueries queries) returns OrganizationSecretScanningAlert[]|errorList secret scanning alerts for an organization
Parameters
- queries *SecretScanningListAlertsForOrgQueries - Queries to be sent with the request
Return Type
- OrganizationSecretScanningAlert[]|error - Response
get orgs/[string org]/security-advisories
function get orgs/[string org]/security\-advisories(map<string|string[]> headers, *SecurityAdvisoriesListOrgRepositoryAdvisoriesQueries queries) returns RepositoryAdvisory[]|errorList repository security advisories for an organization
Parameters
- queries *SecurityAdvisoriesListOrgRepositoryAdvisoriesQueries - Queries to be sent with the request
Return Type
- RepositoryAdvisory[]|error - Response
get orgs/[string org]/security-managers
function get orgs/[string org]/security\-managers(map<string|string[]> headers) returns TeamSimple[]|errorList security manager teams
Return Type
- TeamSimple[]|error - Response
put orgs/[string org]/security-managers/teams/[string teamSlug]
function put orgs/[string org]/security\-managers/teams/[string teamSlug](map<string|string[]> headers) returns error?Add a security manager team
Return Type
- error? - Response
delete orgs/[string org]/security-managers/teams/[string teamSlug]
function delete orgs/[string org]/security\-managers/teams/[string teamSlug](map<string|string[]> headers) returns error?Remove a security manager team
Return Type
- error? - Response
get orgs/[string org]/settings/billing/actions
function get orgs/[string org]/settings/billing/actions(map<string|string[]> headers) returns ActionsBillingUsage|errorGet GitHub Actions billing for an organization
Return Type
- ActionsBillingUsage|error - Response
get orgs/[string org]/settings/billing/packages
function get orgs/[string org]/settings/billing/packages(map<string|string[]> headers) returns PackagesBillingUsage|errorGet GitHub Packages billing for an organization
Return Type
- PackagesBillingUsage|error - Response
get orgs/[string org]/settings/billing/shared-storage
function get orgs/[string org]/settings/billing/shared\-storage(map<string|string[]> headers) returns CombinedBillingUsage|errorGet shared storage billing for an organization
Return Type
- CombinedBillingUsage|error - Response
get orgs/[string org]/teams
function get orgs/[string org]/teams(map<string|string[]> headers, *TeamsListQueries queries) returns Team[]|errorList teams
Parameters
- queries *TeamsListQueries - Queries to be sent with the request
post orgs/[string org]/teams
function post orgs/[string org]/teams(OrgTeamsBody payload, map<string|string[]> headers) returns TeamFull|errorCreate a team
Parameters
- payload OrgTeamsBody -
get orgs/[string org]/teams/[string teamSlug]
function get orgs/[string org]/teams/[string teamSlug](map<string|string[]> headers) returns TeamFull|errorGet a team by name
delete orgs/[string org]/teams/[string teamSlug]
function delete orgs/[string org]/teams/[string teamSlug](map<string|string[]> headers) returns error?Delete a team
Return Type
- error? - Response
patch orgs/[string org]/teams/[string teamSlug]
function patch orgs/[string org]/teams/[string teamSlug](TeamsteamSlugBody payload, map<string|string[]> headers) returns TeamFull|errorUpdate a team
Parameters
- payload TeamsteamSlugBody -
get orgs/[string org]/teams/[string teamSlug]/discussions
function get orgs/[string org]/teams/[string teamSlug]/discussions(map<string|string[]> headers, *TeamsListDiscussionsInOrgQueries queries) returns TeamDiscussion[]|errorList discussions
Parameters
- queries *TeamsListDiscussionsInOrgQueries - Queries to be sent with the request
Return Type
- TeamDiscussion[]|error - Response
post orgs/[string org]/teams/[string teamSlug]/discussions
function post orgs/[string org]/teams/[string teamSlug]/discussions(TeamSlugDiscussionsBody payload, map<string|string[]> headers) returns TeamDiscussion|errorCreate a discussion
Parameters
- payload TeamSlugDiscussionsBody -
Return Type
- TeamDiscussion|error - Response
get orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]
function get orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber](map<string|string[]> headers) returns TeamDiscussion|errorGet a discussion
Return Type
- TeamDiscussion|error - Response
delete orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]
function delete orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber](map<string|string[]> headers) returns error?Delete a discussion
Return Type
- error? - Response
patch orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]
function patch orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber](DiscussionsdiscussionNumberBody payload, map<string|string[]> headers) returns TeamDiscussion|errorUpdate a discussion
Parameters
- payload DiscussionsdiscussionNumberBody -
Return Type
- TeamDiscussion|error - Response
get orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments
function get orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments(map<string|string[]> headers, *TeamsListDiscussionCommentsInOrgQueries queries) returns TeamDiscussionComment[]|errorList discussion comments
Parameters
- queries *TeamsListDiscussionCommentsInOrgQueries - Queries to be sent with the request
Return Type
- TeamDiscussionComment[]|error - Response
post orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments
function post orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments(DiscussionNumberCommentsBody payload, map<string|string[]> headers) returns TeamDiscussionComment|errorCreate a discussion comment
Parameters
- payload DiscussionNumberCommentsBody -
Return Type
- TeamDiscussionComment|error - Response
get orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments/[int commentNumber]
function get orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments/[int commentNumber](map<string|string[]> headers) returns TeamDiscussionComment|errorGet a discussion comment
Return Type
- TeamDiscussionComment|error - Response
delete orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments/[int commentNumber]
function delete orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments/[int commentNumber](map<string|string[]> headers) returns error?Delete a discussion comment
Return Type
- error? - Response
patch orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments/[int commentNumber]
function patch orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments/[int commentNumber](DiscussionNumberCommentsBody payload, map<string|string[]> headers) returns TeamDiscussionComment|errorUpdate a discussion comment
Parameters
- payload DiscussionNumberCommentsBody -
Return Type
- TeamDiscussionComment|error - Response
get orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments/[int commentNumber]/reactions
function get orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments/[int commentNumber]/reactions(map<string|string[]> headers, *ReactionsListForTeamDiscussionCommentInOrgQueries queries) returns Reaction[]|errorList reactions for a team discussion comment
Parameters
- queries *ReactionsListForTeamDiscussionCommentInOrgQueries - Queries to be sent with the request
post orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments/[int commentNumber]/reactions
function post orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments/[int commentNumber]/reactions(CommentNumberReactionsBody payload, map<string|string[]> headers) returns Reaction|errorCreate reaction for a team discussion comment
Parameters
- payload CommentNumberReactionsBody -
Return Type
delete orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments/[int commentNumber]/reactions/[int reactionId]
function delete orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/comments/[int commentNumber]/reactions/[int reactionId](map<string|string[]> headers) returns error?Delete team discussion comment reaction
Return Type
- error? - Response
get orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/reactions
function get orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/reactions(map<string|string[]> headers, *ReactionsListForTeamDiscussionInOrgQueries queries) returns Reaction[]|errorList reactions for a team discussion
Parameters
- queries *ReactionsListForTeamDiscussionInOrgQueries - Queries to be sent with the request
post orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/reactions
function post orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/reactions(DiscussionNumberReactionsBody payload, map<string|string[]> headers) returns Reaction|errorCreate reaction for a team discussion
Parameters
- payload DiscussionNumberReactionsBody -
delete orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/reactions/[int reactionId]
function delete orgs/[string org]/teams/[string teamSlug]/discussions/[int discussionNumber]/reactions/[int reactionId](map<string|string[]> headers) returns error?Delete team discussion reaction
Return Type
- error? - Response
get orgs/[string org]/teams/[string teamSlug]/invitations
function get orgs/[string org]/teams/[string teamSlug]/invitations(map<string|string[]> headers, *TeamsListPendingInvitationsInOrgQueries queries) returns OrganizationInvitation[]|errorList pending team invitations
Parameters
- queries *TeamsListPendingInvitationsInOrgQueries - Queries to be sent with the request
Return Type
- OrganizationInvitation[]|error - Response
get orgs/[string org]/teams/[string teamSlug]/members
function get orgs/[string org]/teams/[string teamSlug]/members(map<string|string[]> headers, *TeamsListMembersInOrgQueries queries) returns SimpleUser[]|errorList team members
Parameters
- queries *TeamsListMembersInOrgQueries - Queries to be sent with the request
Return Type
- SimpleUser[]|error - Response
get orgs/[string org]/teams/[string teamSlug]/memberships/[string username]
function get orgs/[string org]/teams/[string teamSlug]/memberships/[string username](map<string|string[]> headers) returns TeamMembership|errorGet team membership for a user
Return Type
- TeamMembership|error - Response
put orgs/[string org]/teams/[string teamSlug]/memberships/[string username]
function put orgs/[string org]/teams/[string teamSlug]/memberships/[string username](MembershipsusernameBody1 payload, map<string|string[]> headers) returns TeamMembership|errorAdd or update team membership for a user
Parameters
- payload MembershipsusernameBody1 -
Return Type
- TeamMembership|error - Response
delete orgs/[string org]/teams/[string teamSlug]/memberships/[string username]
function delete orgs/[string org]/teams/[string teamSlug]/memberships/[string username](map<string|string[]> headers) returns error?Remove team membership for a user
Return Type
- error? - Response
get orgs/[string org]/teams/[string teamSlug]/projects
function get orgs/[string org]/teams/[string teamSlug]/projects(map<string|string[]> headers, *TeamsListProjectsInOrgQueries queries) returns TeamProject[]|errorList team projects
Parameters
- queries *TeamsListProjectsInOrgQueries - Queries to be sent with the request
Return Type
- TeamProject[]|error - Response
get orgs/[string org]/teams/[string teamSlug]/projects/[int projectId]
function get orgs/[string org]/teams/[string teamSlug]/projects/[int projectId](map<string|string[]> headers) returns TeamProject|errorCheck team permissions for a project
Return Type
- TeamProject|error - Response
put orgs/[string org]/teams/[string teamSlug]/projects/[int projectId]
function put orgs/[string org]/teams/[string teamSlug]/projects/[int projectId](ProjectsprojectIdBody payload, map<string|string[]> headers) returns error?Add or update team project permissions
Parameters
- payload ProjectsprojectIdBody -
Return Type
- error? - Response
delete orgs/[string org]/teams/[string teamSlug]/projects/[int projectId]
function delete orgs/[string org]/teams/[string teamSlug]/projects/[int projectId](map<string|string[]> headers) returns error?Remove a project from a team
Return Type
- error? - Response
get orgs/[string org]/teams/[string teamSlug]/repos
function get orgs/[string org]/teams/[string teamSlug]/repos(map<string|string[]> headers, *TeamsListReposInOrgQueries queries) returns MinimalRepository[]|errorList team repositories
Parameters
- queries *TeamsListReposInOrgQueries - Queries to be sent with the request
Return Type
- MinimalRepository[]|error - Response
get orgs/[string org]/teams/[string teamSlug]/repos/[string owner]/[string repo]
function get orgs/[string org]/teams/[string teamSlug]/repos/[string owner]/[string repo](map<string|string[]> headers) returns TeamRepository|error?Check team permissions for a repository
Return Type
- TeamRepository|error? - Alternative response with repository permissions
put orgs/[string org]/teams/[string teamSlug]/repos/[string owner]/[string repo]
function put orgs/[string org]/teams/[string teamSlug]/repos/[string owner]/[string repo](OwnerrepoBody payload, map<string|string[]> headers) returns error?Add or update team repository permissions
Parameters
- payload OwnerrepoBody -
Return Type
- error? - Response
delete orgs/[string org]/teams/[string teamSlug]/repos/[string owner]/[string repo]
function delete orgs/[string org]/teams/[string teamSlug]/repos/[string owner]/[string repo](map<string|string[]> headers) returns error?Remove a repository from a team
Return Type
- error? - Response
get orgs/[string org]/teams/[string teamSlug]/teams
function get orgs/[string org]/teams/[string teamSlug]/teams(map<string|string[]> headers, *TeamsListChildInOrgQueries queries) returns Team[]|errorList child teams
Parameters
- queries *TeamsListChildInOrgQueries - Queries to be sent with the request
post orgs/[string org]/["dependency_graph"|"dependabot_alerts"|"dependabot_security_updates"|"advanced_security"|"code_scanning_default_setup"|"secret_scanning"|"secret_scanning_push_protection" securityProduct]/["enable_all"|"disable_all" enablement]
function post orgs/[string org]/["dependency_graph"|"dependabot_alerts"|"dependabot_security_updates"|"advanced_security"|"code_scanning_default_setup"|"secret_scanning"|"secret_scanning_push_protection" securityProduct]/["enable_all"|"disable_all" enablement](SecurityProductenablementBody payload, map<string|string[]> headers) returns error?Enable or disable a security feature for an organization
Parameters
- payload SecurityProductenablementBody -
Return Type
- error? - Action started
get projects/columns/cards/[int cardId]
function get projects/columns/cards/[int cardId](map<string|string[]> headers) returns ProjectCard|error?Get a project card
Return Type
- ProjectCard|error? - Response
delete projects/columns/cards/[int cardId]
Delete a project card
Return Type
- error? - Response
patch projects/columns/cards/[int cardId]
function patch projects/columns/cards/[int cardId](CardscardIdBody payload, map<string|string[]> headers) returns ProjectCard|error?Update an existing project card
Parameters
- payload CardscardIdBody -
Return Type
- ProjectCard|error? - Response
post projects/columns/cards/[int cardId]/moves
function post projects/columns/cards/[int cardId]/moves(CardIdMovesBody payload, map<string|string[]> headers) returns record {||}|error?Move a project card
Parameters
- payload CardIdMovesBody -
Return Type
- record {||}|error? - Response
get projects/columns/[int columnId]
function get projects/columns/[int columnId](map<string|string[]> headers) returns ProjectColumn|error?Get a project column
Return Type
- ProjectColumn|error? - Response
delete projects/columns/[int columnId]
Delete a project column
Return Type
- error? - Response
patch projects/columns/[int columnId]
function patch projects/columns/[int columnId](ColumnscolumnIdBody payload, map<string|string[]> headers) returns ProjectColumn|error?Update an existing project column
Parameters
- payload ColumnscolumnIdBody -
Return Type
- ProjectColumn|error? - Response
get projects/columns/[int columnId]/cards
function get projects/columns/[int columnId]/cards(map<string|string[]> headers, *ProjectsListCardsQueries queries) returns ProjectCard[]|error?List project cards
Parameters
- queries *ProjectsListCardsQueries - Queries to be sent with the request
Return Type
- ProjectCard[]|error? - Response
post projects/columns/[int columnId]/cards
function post projects/columns/[int columnId]/cards(ColumnIdCardsBody payload, map<string|string[]> headers) returns ProjectCard|error?Create a project card
Parameters
- payload ColumnIdCardsBody -
Return Type
- ProjectCard|error? - Response
post projects/columns/[int columnId]/moves
function post projects/columns/[int columnId]/moves(ColumnIdMovesBody payload, map<string|string[]> headers) returns record {||}|error?Move a project column
Parameters
- payload ColumnIdMovesBody -
Return Type
- record {||}|error? - Response
get projects/[int projectId]
Get a project
delete projects/[int projectId]
Delete a project
Return Type
- error? - Delete Success
patch projects/[int projectId]
function patch projects/[int projectId](ProjectsprojectIdBody1 payload, map<string|string[]> headers) returns Project|error?Update a project
Parameters
- payload ProjectsprojectIdBody1 -
get projects/[int projectId]/collaborators
function get projects/[int projectId]/collaborators(map<string|string[]> headers, *ProjectsListCollaboratorsQueries queries) returns SimpleUser[]|error?List project collaborators
Parameters
- queries *ProjectsListCollaboratorsQueries - Queries to be sent with the request
Return Type
- SimpleUser[]|error? - Response
put projects/[int projectId]/collaborators/[string username]
function put projects/[int projectId]/collaborators/[string username](CollaboratorsusernameBody payload, map<string|string[]> headers) returns error?Add project collaborator
Parameters
- payload CollaboratorsusernameBody -
Return Type
- error? - Response
delete projects/[int projectId]/collaborators/[string username]
function delete projects/[int projectId]/collaborators/[string username](map<string|string[]> headers) returns error?Remove user as a collaborator
Return Type
- error? - Response
get projects/[int projectId]/collaborators/[string username]/permission
function get projects/[int projectId]/collaborators/[string username]/permission(map<string|string[]> headers) returns ProjectCollaboratorPermission|error?Get project permission for a user
Return Type
- ProjectCollaboratorPermission|error? - Response
get projects/[int projectId]/columns
function get projects/[int projectId]/columns(map<string|string[]> headers, *ProjectsListColumnsQueries queries) returns ProjectColumn[]|error?List project columns
Parameters
- queries *ProjectsListColumnsQueries - Queries to be sent with the request
Return Type
- ProjectColumn[]|error? - Response
post projects/[int projectId]/columns
function post projects/[int projectId]/columns(ColumnscolumnIdBody payload, map<string|string[]> headers) returns ProjectColumn|error?Create a project column
Parameters
- payload ColumnscolumnIdBody -
Return Type
- ProjectColumn|error? - Response
get rate_limit
function get rate_limit(map<string|string[]> headers) returns RateLimitOverview|error?Get rate limit status for the authenticated user
Return Type
- RateLimitOverview|error? - Response
get repos/[string owner]/[string repo]
function get repos/[string owner]/[string repo](map<string|string[]> headers) returns FullRepository|errorGet a repository
Return Type
- FullRepository|error - Response
delete repos/[string owner]/[string repo]
Delete a repository
Return Type
- error? - Response
patch repos/[string owner]/[string repo]
function patch repos/[string owner]/[string repo](OwnerrepoBody1 payload, map<string|string[]> headers) returns FullRepository|errorUpdate a repository
Parameters
- payload OwnerrepoBody1 -
Return Type
- FullRepository|error - Response
get repos/[string owner]/[string repo]/actions/artifacts
function get repos/[string owner]/[string repo]/actions/artifacts(map<string|string[]> headers, *ActionsListArtifactsForRepoQueries queries) returns ArtifactResponse|errorList artifacts for a repository
Parameters
- queries *ActionsListArtifactsForRepoQueries - Queries to be sent with the request
Return Type
- ArtifactResponse|error - Response
get repos/[string owner]/[string repo]/actions/artifacts/[int artifactId]
function get repos/[string owner]/[string repo]/actions/artifacts/[int artifactId](map<string|string[]> headers) returns Artifact|errorGet an artifact
delete repos/[string owner]/[string repo]/actions/artifacts/[int artifactId]
function delete repos/[string owner]/[string repo]/actions/artifacts/[int artifactId](map<string|string[]> headers) returns error?Delete an artifact
Return Type
- error? - Response
get repos/[string owner]/[string repo]/actions/artifacts/[int artifactId]/[string archiveFormat]
function get repos/[string owner]/[string repo]/actions/artifacts/[int artifactId]/[string archiveFormat](map<string|string[]> headers) returns error?Download an artifact
Return Type
- error? - Response
get repos/[string owner]/[string repo]/actions/cache/usage
function get repos/[string owner]/[string repo]/actions/cache/usage(map<string|string[]> headers) returns ActionsCacheUsageByRepository|errorGet GitHub Actions cache usage for a repository
Return Type
- ActionsCacheUsageByRepository|error - Response
get repos/[string owner]/[string repo]/actions/caches
function get repos/[string owner]/[string repo]/actions/caches(map<string|string[]> headers, *ActionsGetActionsCacheListQueries queries) returns ActionsCacheList|errorList GitHub Actions caches for a repository
Parameters
- queries *ActionsGetActionsCacheListQueries - Queries to be sent with the request
Return Type
- ActionsCacheList|error - Response
delete repos/[string owner]/[string repo]/actions/caches
function delete repos/[string owner]/[string repo]/actions/caches(map<string|string[]> headers, *ActionsDeleteActionsCacheByKeyQueries queries) returns ActionsCacheList|errorDelete GitHub Actions caches for a repository (using a cache key)
Parameters
- queries *ActionsDeleteActionsCacheByKeyQueries - Queries to be sent with the request
Return Type
- ActionsCacheList|error - Response
delete repos/[string owner]/[string repo]/actions/caches/[int cacheId]
function delete repos/[string owner]/[string repo]/actions/caches/[int cacheId](map<string|string[]> headers) returns error?Delete a GitHub Actions cache for a repository (using a cache ID)
Return Type
- error? - Response
get repos/[string owner]/[string repo]/actions/jobs/[int jobId]
function get repos/[string owner]/[string repo]/actions/jobs/[int jobId](map<string|string[]> headers) returns Job|errorGet a job for a workflow run
get repos/[string owner]/[string repo]/actions/jobs/[int jobId]/logs
function get repos/[string owner]/[string repo]/actions/jobs/[int jobId]/logs(map<string|string[]> headers) returns error?Download job logs for a workflow run
Return Type
- error? - Response
post repos/[string owner]/[string repo]/actions/jobs/[int jobId]/rerun
function post repos/[string owner]/[string repo]/actions/jobs/[int jobId]/rerun(JobIdRerunBody payload, map<string|string[]> headers) returns EmptyObject|errorRe-run a job from a workflow run
Parameters
- payload JobIdRerunBody -
Return Type
- EmptyObject|error - Response
get repos/[string owner]/[string repo]/actions/oidc/customization/sub
function get repos/[string owner]/[string repo]/actions/oidc/customization/sub(map<string|string[]> headers) returns OidcCustomSubRepo|errorGet the customization template for an OIDC subject claim for a repository
Return Type
- OidcCustomSubRepo|error - Status response
put repos/[string owner]/[string repo]/actions/oidc/customization/sub
function put repos/[string owner]/[string repo]/actions/oidc/customization/sub(ActionsOIDCSubjectCustomizationForARepository payload, map<string|string[]> headers) returns EmptyObject|errorSet the customization template for an OIDC subject claim for a repository
Parameters
Return Type
- EmptyObject|error - Empty response
get repos/[string owner]/[string repo]/actions/organization-secrets
function get repos/[string owner]/[string repo]/actions/organization\-secrets(map<string|string[]> headers, *ActionsListRepoOrganizationSecretsQueries queries) returns ActionsSecretResponse|errorList repository organization secrets
Parameters
- queries *ActionsListRepoOrganizationSecretsQueries - Queries to be sent with the request
Return Type
- ActionsSecretResponse|error - Response
get repos/[string owner]/[string repo]/actions/organization-variables
function get repos/[string owner]/[string repo]/actions/organization\-variables(map<string|string[]> headers, *ActionsListRepoOrganizationVariablesQueries queries) returns ActionsVariableResponse|errorList repository organization variables
Parameters
- queries *ActionsListRepoOrganizationVariablesQueries - Queries to be sent with the request
Return Type
- ActionsVariableResponse|error - Response
get repos/[string owner]/[string repo]/actions/permissions
function get repos/[string owner]/[string repo]/actions/permissions(map<string|string[]> headers) returns ActionsRepositoryPermissions|errorGet GitHub Actions permissions for a repository
Return Type
- ActionsRepositoryPermissions|error - Response
put repos/[string owner]/[string repo]/actions/permissions
function put repos/[string owner]/[string repo]/actions/permissions(ActionsPermissionsBody1 payload, map<string|string[]> headers) returns error?Set GitHub Actions permissions for a repository
Parameters
- payload ActionsPermissionsBody1 -
Return Type
- error? - Response
get repos/[string owner]/[string repo]/actions/permissions/access
function get repos/[string owner]/[string repo]/actions/permissions/access(map<string|string[]> headers) returns ActionsWorkflowAccessToRepository|errorGet the level of access for workflows outside of the repository
Return Type
- ActionsWorkflowAccessToRepository|error - Response
put repos/[string owner]/[string repo]/actions/permissions/access
function put repos/[string owner]/[string repo]/actions/permissions/access(ActionsWorkflowAccessToRepository payload, map<string|string[]> headers) returns error?Set the level of access for workflows outside of the repository
Parameters
- payload ActionsWorkflowAccessToRepository -
Return Type
- error? - Response
get repos/[string owner]/[string repo]/actions/permissions/selected-actions
function get repos/[string owner]/[string repo]/actions/permissions/selected\-actions(map<string|string[]> headers) returns SelectedActions|errorGet allowed actions and reusable workflows for a repository
Return Type
- SelectedActions|error - Response
put repos/[string owner]/[string repo]/actions/permissions/selected-actions
function put repos/[string owner]/[string repo]/actions/permissions/selected\-actions(SelectedActions payload, map<string|string[]> headers) returns error?Set allowed actions and reusable workflows for a repository
Parameters
- payload SelectedActions -
Return Type
- error? - Response
get repos/[string owner]/[string repo]/actions/permissions/workflow
function get repos/[string owner]/[string repo]/actions/permissions/workflow(map<string|string[]> headers) returns ActionsGetDefaultWorkflowPermissions|errorGet default workflow permissions for a repository
Return Type
- ActionsGetDefaultWorkflowPermissions|error - Response
put repos/[string owner]/[string repo]/actions/permissions/workflow
function put repos/[string owner]/[string repo]/actions/permissions/workflow(ActionsSetDefaultWorkflowPermissions payload, map<string|string[]> headers) returns error?Set default workflow permissions for a repository
Parameters
- payload ActionsSetDefaultWorkflowPermissions -
Return Type
- error? - Success response
get repos/[string owner]/[string repo]/actions/runners
function get repos/[string owner]/[string repo]/actions/runners(map<string|string[]> headers, *ActionsListSelfHostedRunnersForRepoQueries queries) returns RunnerResponse|errorList self-hosted runners for a repository
Parameters
- queries *ActionsListSelfHostedRunnersForRepoQueries - Queries to be sent with the request
Return Type
- RunnerResponse|error - Response
get repos/[string owner]/[string repo]/actions/runners/downloads
function get repos/[string owner]/[string repo]/actions/runners/downloads(map<string|string[]> headers) returns RunnerApplication[]|errorList runner applications for a repository
Return Type
- RunnerApplication[]|error - Response
post repos/[string owner]/[string repo]/actions/runners/generate-jitconfig
function post repos/[string owner]/[string repo]/actions/runners/generate\-jitconfig(RunnersGenerateJitconfigBody payload, map<string|string[]> headers) returns JitConfig|errorCreate configuration for a just-in-time runner for a repository
Parameters
- payload RunnersGenerateJitconfigBody -
post repos/[string owner]/[string repo]/actions/runners/registration-token
function post repos/[string owner]/[string repo]/actions/runners/registration\-token(map<string|string[]> headers) returns AuthenticationToken|errorCreate a registration token for a repository
Return Type
- AuthenticationToken|error - Response
post repos/[string owner]/[string repo]/actions/runners/remove-token
function post repos/[string owner]/[string repo]/actions/runners/remove\-token(map<string|string[]> headers) returns AuthenticationToken|errorCreate a remove token for a repository
Return Type
- AuthenticationToken|error - Response
get repos/[string owner]/[string repo]/actions/runners/[int runnerId]
function get repos/[string owner]/[string repo]/actions/runners/[int runnerId](map<string|string[]> headers) returns Runner|errorGet a self-hosted runner for a repository
delete repos/[string owner]/[string repo]/actions/runners/[int runnerId]
function delete repos/[string owner]/[string repo]/actions/runners/[int runnerId](map<string|string[]> headers) returns error?Delete a self-hosted runner from a repository
Return Type
- error? - Response
get repos/[string owner]/[string repo]/actions/runners/[int runnerId]/labels
function get repos/[string owner]/[string repo]/actions/runners/[int runnerId]/labels(map<string|string[]> headers) returns RunnerLabelResponse|errorList labels for a self-hosted runner for a repository
Return Type
- RunnerLabelResponse|error - Response
put repos/[string owner]/[string repo]/actions/runners/[int runnerId]/labels
function put repos/[string owner]/[string repo]/actions/runners/[int runnerId]/labels(RunnerIdLabelsBody payload, map<string|string[]> headers) returns RunnerLabelResponse|errorSet custom labels for a self-hosted runner for a repository
Parameters
- payload RunnerIdLabelsBody -
Return Type
- RunnerLabelResponse|error - Response
post repos/[string owner]/[string repo]/actions/runners/[int runnerId]/labels
function post repos/[string owner]/[string repo]/actions/runners/[int runnerId]/labels(RunnerIdLabelsBody1 payload, map<string|string[]> headers) returns RunnerLabelResponse|errorAdd custom labels to a self-hosted runner for a repository
Parameters
- payload RunnerIdLabelsBody1 -
Return Type
- RunnerLabelResponse|error - Response
delete repos/[string owner]/[string repo]/actions/runners/[int runnerId]/labels
function delete repos/[string owner]/[string repo]/actions/runners/[int runnerId]/labels(map<string|string[]> headers) returns RunnerLabelResponse|errorRemove all custom labels from a self-hosted runner for a repository
Return Type
- RunnerLabelResponse|error - Response
delete repos/[string owner]/[string repo]/actions/runners/[int runnerId]/labels/[string name]
function delete repos/[string owner]/[string repo]/actions/runners/[int runnerId]/labels/[string name](map<string|string[]> headers) returns RunnerLabelResponse|errorRemove a custom label from a self-hosted runner for a repository
Return Type
- RunnerLabelResponse|error - Response
get repos/[string owner]/[string repo]/actions/runs
function get repos/[string owner]/[string repo]/actions/runs(map<string|string[]> headers, *ActionsListWorkflowRunsForRepoQueries queries) returns WorkflowRunResponse|errorList workflow runs for a repository
Parameters
- queries *ActionsListWorkflowRunsForRepoQueries - Queries to be sent with the request
Return Type
- WorkflowRunResponse|error - Response
get repos/[string owner]/[string repo]/actions/runs/[int runId]
function get repos/[string owner]/[string repo]/actions/runs/[int runId](map<string|string[]> headers, *ActionsGetWorkflowRunQueries queries) returns WorkflowRun|errorGet a workflow run
Parameters
- queries *ActionsGetWorkflowRunQueries - Queries to be sent with the request
Return Type
- WorkflowRun|error - Response
delete repos/[string owner]/[string repo]/actions/runs/[int runId]
function delete repos/[string owner]/[string repo]/actions/runs/[int runId](map<string|string[]> headers) returns error?Delete a workflow run
Return Type
- error? - Response
get repos/[string owner]/[string repo]/actions/runs/[int runId]/approvals
function get repos/[string owner]/[string repo]/actions/runs/[int runId]/approvals(map<string|string[]> headers) returns EnvironmentApprovals[]|errorGet the review history for a workflow run
Return Type
- EnvironmentApprovals[]|error - Response
post repos/[string owner]/[string repo]/actions/runs/[int runId]/approve
function post repos/[string owner]/[string repo]/actions/runs/[int runId]/approve(map<string|string[]> headers) returns EmptyObject|errorApprove a workflow run for a fork pull request
Return Type
- EmptyObject|error - Response
get repos/[string owner]/[string repo]/actions/runs/[int runId]/artifacts
function get repos/[string owner]/[string repo]/actions/runs/[int runId]/artifacts(map<string|string[]> headers, *ActionsListWorkflowRunArtifactsQueries queries) returns ArtifactResponse|errorList workflow run artifacts
Parameters
- queries *ActionsListWorkflowRunArtifactsQueries - Queries to be sent with the request
Return Type
- ArtifactResponse|error - Response
get repos/[string owner]/[string repo]/actions/runs/[int runId]/attempts/[int attemptNumber]
function get repos/[string owner]/[string repo]/actions/runs/[int runId]/attempts/[int attemptNumber](map<string|string[]> headers, *ActionsGetWorkflowRunAttemptQueries queries) returns WorkflowRun|errorGet a workflow run attempt
Parameters
- queries *ActionsGetWorkflowRunAttemptQueries - Queries to be sent with the request
Return Type
- WorkflowRun|error - Response
get repos/[string owner]/[string repo]/actions/runs/[int runId]/attempts/[int attemptNumber]/jobs
function get repos/[string owner]/[string repo]/actions/runs/[int runId]/attempts/[int attemptNumber]/jobs(map<string|string[]> headers, *ActionsListJobsForWorkflowRunAttemptQueries queries) returns JobResponse|errorList jobs for a workflow run attempt
Parameters
- queries *ActionsListJobsForWorkflowRunAttemptQueries - Queries to be sent with the request
Return Type
- JobResponse|error - Response
get repos/[string owner]/[string repo]/actions/runs/[int runId]/attempts/[int attemptNumber]/logs
function get repos/[string owner]/[string repo]/actions/runs/[int runId]/attempts/[int attemptNumber]/logs(map<string|string[]> headers) returns error?Download workflow run attempt logs
Return Type
- error? - Response
post repos/[string owner]/[string repo]/actions/runs/[int runId]/cancel
function post repos/[string owner]/[string repo]/actions/runs/[int runId]/cancel(map<string|string[]> headers) returns EmptyObject|errorCancel a workflow run
Return Type
- EmptyObject|error - Response
post repos/[string owner]/[string repo]/actions/runs/[int runId]/deployment_protection_rule
function post repos/[string owner]/[string repo]/actions/runs/[int runId]/deployment_protection_rule(RunIdDeploymentProtectionRuleBody payload, map<string|string[]> headers) returns error?Review custom deployment protection rules for a workflow run
Parameters
- payload RunIdDeploymentProtectionRuleBody -
Return Type
- error? - Response
post repos/[string owner]/[string repo]/actions/runs/[int runId]/force-cancel
function post repos/[string owner]/[string repo]/actions/runs/[int runId]/force\-cancel(map<string|string[]> headers) returns EmptyObject|errorForce cancel a workflow run
Return Type
- EmptyObject|error - Response
get repos/[string owner]/[string repo]/actions/runs/[int runId]/jobs
function get repos/[string owner]/[string repo]/actions/runs/[int runId]/jobs(map<string|string[]> headers, *ActionsListJobsForWorkflowRunQueries queries) returns JobResponse|errorList jobs for a workflow run
Parameters
- queries *ActionsListJobsForWorkflowRunQueries - Queries to be sent with the request
Return Type
- JobResponse|error - Response
get repos/[string owner]/[string repo]/actions/runs/[int runId]/logs
function get repos/[string owner]/[string repo]/actions/runs/[int runId]/logs(map<string|string[]> headers) returns error?Download workflow run logs
Return Type
- error? - Response
delete repos/[string owner]/[string repo]/actions/runs/[int runId]/logs
function delete repos/[string owner]/[string repo]/actions/runs/[int runId]/logs(map<string|string[]> headers) returns error?Delete workflow run logs
Return Type
- error? - Response
get repos/[string owner]/[string repo]/actions/runs/[int runId]/pending_deployments
function get repos/[string owner]/[string repo]/actions/runs/[int runId]/pending_deployments(map<string|string[]> headers) returns PendingDeployment[]|errorGet pending deployments for a workflow run
Return Type
- PendingDeployment[]|error - Response
post repos/[string owner]/[string repo]/actions/runs/[int runId]/pending_deployments
function post repos/[string owner]/[string repo]/actions/runs/[int runId]/pending_deployments(RunIdPendingDeploymentsBody payload, map<string|string[]> headers) returns Deployment[]|errorReview pending deployments for a workflow run
Parameters
- payload RunIdPendingDeploymentsBody -
Return Type
- Deployment[]|error - Response
post repos/[string owner]/[string repo]/actions/runs/[int runId]/rerun
function post repos/[string owner]/[string repo]/actions/runs/[int runId]/rerun(JobIdRerunBody payload, map<string|string[]> headers) returns EmptyObject|errorRe-run a workflow
Parameters
- payload JobIdRerunBody -
Return Type
- EmptyObject|error - Response
post repos/[string owner]/[string repo]/actions/runs/[int runId]/rerun-failed-jobs
function post repos/[string owner]/[string repo]/actions/runs/[int runId]/rerun\-failed\-jobs(JobIdRerunBody payload, map<string|string[]> headers) returns EmptyObject|errorRe-run failed jobs from a workflow run
Parameters
- payload JobIdRerunBody -
Return Type
- EmptyObject|error - Response
get repos/[string owner]/[string repo]/actions/runs/[int runId]/timing
function get repos/[string owner]/[string repo]/actions/runs/[int runId]/timing(map<string|string[]> headers) returns WorkflowRunUsage|errorGet workflow run usage
Return Type
- WorkflowRunUsage|error - Response
get repos/[string owner]/[string repo]/actions/secrets
function get repos/[string owner]/[string repo]/actions/secrets(map<string|string[]> headers, *ActionsListRepoSecretsQueries queries) returns ActionsSecretResponse|errorList repository secrets
Parameters
- queries *ActionsListRepoSecretsQueries - Queries to be sent with the request
Return Type
- ActionsSecretResponse|error - Response
get repos/[string owner]/[string repo]/actions/secrets/public-key
function get repos/[string owner]/[string repo]/actions/secrets/public\-key(map<string|string[]> headers) returns ActionsPublicKey|errorGet a repository public key
Return Type
- ActionsPublicKey|error - Response
get repos/[string owner]/[string repo]/actions/secrets/[string secretName]
function get repos/[string owner]/[string repo]/actions/secrets/[string secretName](map<string|string[]> headers) returns ActionsSecret|errorGet a repository secret
Return Type
- ActionsSecret|error - Response
put repos/[string owner]/[string repo]/actions/secrets/[string secretName]
function put repos/[string owner]/[string repo]/actions/secrets/[string secretName](SecretssecretNameBody3 payload, map<string|string[]> headers) returns EmptyObject|error?Create or update a repository secret
Parameters
- payload SecretssecretNameBody3 -
Return Type
- EmptyObject|error? - Response when creating a secret
delete repos/[string owner]/[string repo]/actions/secrets/[string secretName]
function delete repos/[string owner]/[string repo]/actions/secrets/[string secretName](map<string|string[]> headers) returns error?Delete a repository secret
Return Type
- error? - Response
get repos/[string owner]/[string repo]/actions/variables
function get repos/[string owner]/[string repo]/actions/variables(map<string|string[]> headers, *ActionsListRepoVariablesQueries queries) returns ActionsVariableResponse|errorList repository variables
Parameters
- queries *ActionsListRepoVariablesQueries - Queries to be sent with the request
Return Type
- ActionsVariableResponse|error - Response
post repos/[string owner]/[string repo]/actions/variables
function post repos/[string owner]/[string repo]/actions/variables(ActionsVariablesBody1 payload, map<string|string[]> headers) returns EmptyObject|errorCreate a repository variable
Parameters
- payload ActionsVariablesBody1 -
Return Type
- EmptyObject|error - Response
get repos/[string owner]/[string repo]/actions/variables/[string name]
function get repos/[string owner]/[string repo]/actions/variables/[string name](map<string|string[]> headers) returns ActionsVariable|errorGet a repository variable
Return Type
- ActionsVariable|error - Response
delete repos/[string owner]/[string repo]/actions/variables/[string name]
function delete repos/[string owner]/[string repo]/actions/variables/[string name](map<string|string[]> headers) returns error?Delete a repository variable
Return Type
- error? - Response
patch repos/[string owner]/[string repo]/actions/variables/[string name]
function patch repos/[string owner]/[string repo]/actions/variables/[string name](VariablesnameBody1 payload, map<string|string[]> headers) returns error?Update a repository variable
Parameters
- payload VariablesnameBody1 -
Return Type
- error? - Response
get repos/[string owner]/[string repo]/actions/workflows
function get repos/[string owner]/[string repo]/actions/workflows(map<string|string[]> headers, *ActionsListRepoWorkflowsQueries queries) returns WorkflowResponse|errorList repository workflows
Parameters
- queries *ActionsListRepoWorkflowsQueries - Queries to be sent with the request
Return Type
- WorkflowResponse|error - Response
get repos/[string owner]/[string repo]/actions/workflows/[workflowId workflowId]
function get repos/[string owner]/[string repo]/actions/workflows/[workflowId workflowId](map<string|string[]> headers) returns Workflow|errorGet a workflow
put repos/[string owner]/[string repo]/actions/workflows/[workflowId workflowId]/disable
function put repos/[string owner]/[string repo]/actions/workflows/[workflowId workflowId]/disable(map<string|string[]> headers) returns error?Disable a workflow
Return Type
- error? - Response
post repos/[string owner]/[string repo]/actions/workflows/[workflowId workflowId]/dispatches
function post repos/[string owner]/[string repo]/actions/workflows/[workflowId workflowId]/dispatches(WorkflowIdDispatchesBody payload, map<string|string[]> headers) returns error?Create a workflow dispatch event
Parameters
- payload WorkflowIdDispatchesBody -
Return Type
- error? - Response
put repos/[string owner]/[string repo]/actions/workflows/[workflowId workflowId]/enable
function put repos/[string owner]/[string repo]/actions/workflows/[workflowId workflowId]/enable(map<string|string[]> headers) returns error?Enable a workflow
Return Type
- error? - Response
get repos/[string owner]/[string repo]/actions/workflows/[workflowId workflowId]/runs
function get repos/[string owner]/[string repo]/actions/workflows/[workflowId workflowId]/runs(map<string|string[]> headers, *ActionsListWorkflowRunsQueries queries) returns WorkflowRunResponse|errorList workflow runs for a workflow
Parameters
- queries *ActionsListWorkflowRunsQueries - Queries to be sent with the request
Return Type
- WorkflowRunResponse|error - Response
get repos/[string owner]/[string repo]/actions/workflows/[workflowId workflowId]/timing
function get repos/[string owner]/[string repo]/actions/workflows/[workflowId workflowId]/timing(map<string|string[]> headers) returns WorkflowUsage|errorGet workflow usage
Return Type
- WorkflowUsage|error - Response
get repos/[string owner]/[string repo]/activity
function get repos/[string owner]/[string repo]/activity(map<string|string[]> headers, *ReposListActivitiesQueries queries) returns Activity[]|errorList repository activities
Parameters
- queries *ReposListActivitiesQueries - Queries to be sent with the request
get repos/[string owner]/[string repo]/assignees
function get repos/[string owner]/[string repo]/assignees(map<string|string[]> headers, *IssuesListAssigneesQueries queries) returns SimpleUser[]|errorList assignees
Parameters
- queries *IssuesListAssigneesQueries - Queries to be sent with the request
Return Type
- SimpleUser[]|error - Response
get repos/[string owner]/[string repo]/assignees/[string assignee]
function get repos/[string owner]/[string repo]/assignees/[string assignee](map<string|string[]> headers) returns error?Check if a user can be assigned
Return Type
- error? - If the assignee can be assigned to issues in the repository, a 204 header with no content is returned
get repos/[string owner]/[string repo]/autolinks
function get repos/[string owner]/[string repo]/autolinks(map<string|string[]> headers, *ReposListAutolinksQueries queries) returns Autolink[]|errorList all autolinks of a repository
Parameters
- queries *ReposListAutolinksQueries - Queries to be sent with the request
post repos/[string owner]/[string repo]/autolinks
function post repos/[string owner]/[string repo]/autolinks(RepoAutolinksBody payload, map<string|string[]> headers) returns Autolink|errorCreate an autolink reference for a repository
Parameters
- payload RepoAutolinksBody -
get repos/[string owner]/[string repo]/autolinks/[int autolinkId]
function get repos/[string owner]/[string repo]/autolinks/[int autolinkId](map<string|string[]> headers) returns Autolink|errorGet an autolink reference of a repository
delete repos/[string owner]/[string repo]/autolinks/[int autolinkId]
function delete repos/[string owner]/[string repo]/autolinks/[int autolinkId](map<string|string[]> headers) returns error?Delete an autolink reference from a repository
Return Type
- error? - Response
get repos/[string owner]/[string repo]/automated-security-fixes
function get repos/[string owner]/[string repo]/automated\-security\-fixes(map<string|string[]> headers) returns CheckAutomatedSecurityFixes|errorCheck if automated security fixes are enabled for a repository
Return Type
- CheckAutomatedSecurityFixes|error - Response if dependabot is enabled
put repos/[string owner]/[string repo]/automated-security-fixes
function put repos/[string owner]/[string repo]/automated\-security\-fixes(map<string|string[]> headers) returns error?Enable automated security fixes
Return Type
- error? - Response
delete repos/[string owner]/[string repo]/automated-security-fixes
function delete repos/[string owner]/[string repo]/automated\-security\-fixes(map<string|string[]> headers) returns error?Disable automated security fixes
Return Type
- error? - Response
get repos/[string owner]/[string repo]/branches
function get repos/[string owner]/[string repo]/branches(map<string|string[]> headers, *ReposListBranchesQueries queries) returns ShortBranch[]|errorList branches
Parameters
- queries *ReposListBranchesQueries - Queries to be sent with the request
Return Type
- ShortBranch[]|error - Response
get repos/[string owner]/[string repo]/branches/[string branch]
function get repos/[string owner]/[string repo]/branches/[string branch](map<string|string[]> headers) returns BranchWithProtection|errorGet a branch
Return Type
- BranchWithProtection|error - Response
get repos/[string owner]/[string repo]/branches/[string branch]/protection
function get repos/[string owner]/[string repo]/branches/[string branch]/protection(map<string|string[]> headers) returns BranchProtection|errorGet branch protection
Return Type
- BranchProtection|error - Response
put repos/[string owner]/[string repo]/branches/[string branch]/protection
function put repos/[string owner]/[string repo]/branches/[string branch]/protection(BranchProtectionBody payload, map<string|string[]> headers) returns ProtectedBranch|errorUpdate branch protection
Parameters
- payload BranchProtectionBody -
Return Type
- ProtectedBranch|error - Response
delete repos/[string owner]/[string repo]/branches/[string branch]/protection
function delete repos/[string owner]/[string repo]/branches/[string branch]/protection(map<string|string[]> headers) returns error?Delete branch protection
Return Type
- error? - Response
get repos/[string owner]/[string repo]/branches/[string branch]/protection/enforce_admins
function get repos/[string owner]/[string repo]/branches/[string branch]/protection/enforce_admins(map<string|string[]> headers) returns ProtectedBranchAdminEnforced|errorGet admin branch protection
Return Type
- ProtectedBranchAdminEnforced|error - Response
post repos/[string owner]/[string repo]/branches/[string branch]/protection/enforce_admins
function post repos/[string owner]/[string repo]/branches/[string branch]/protection/enforce_admins(map<string|string[]> headers) returns ProtectedBranchAdminEnforced|errorSet admin branch protection
Return Type
- ProtectedBranchAdminEnforced|error - Response
delete repos/[string owner]/[string repo]/branches/[string branch]/protection/enforce_admins
function delete repos/[string owner]/[string repo]/branches/[string branch]/protection/enforce_admins(map<string|string[]> headers) returns error?Delete admin branch protection
Return Type
- error? - Response
get repos/[string owner]/[string repo]/branches/[string branch]/protection/required_pull_request_reviews
function get repos/[string owner]/[string repo]/branches/[string branch]/protection/required_pull_request_reviews(map<string|string[]> headers) returns ProtectedBranchPullRequestReview|errorGet pull request review protection
Return Type
- ProtectedBranchPullRequestReview|error - Response
delete repos/[string owner]/[string repo]/branches/[string branch]/protection/required_pull_request_reviews
function delete repos/[string owner]/[string repo]/branches/[string branch]/protection/required_pull_request_reviews(map<string|string[]> headers) returns error?Delete pull request review protection
Return Type
- error? - Response
patch repos/[string owner]/[string repo]/branches/[string branch]/protection/required_pull_request_reviews
function patch repos/[string owner]/[string repo]/branches/[string branch]/protection/required_pull_request_reviews(ProtectionRequiredPullRequestReviewsBody payload, map<string|string[]> headers) returns ProtectedBranchPullRequestReview|errorUpdate pull request review protection
Parameters
- payload ProtectionRequiredPullRequestReviewsBody -
Return Type
- ProtectedBranchPullRequestReview|error - Response
get repos/[string owner]/[string repo]/branches/[string branch]/protection/required_signatures
function get repos/[string owner]/[string repo]/branches/[string branch]/protection/required_signatures(map<string|string[]> headers) returns ProtectedBranchAdminEnforced|errorGet commit signature protection
Return Type
- ProtectedBranchAdminEnforced|error - Response
post repos/[string owner]/[string repo]/branches/[string branch]/protection/required_signatures
function post repos/[string owner]/[string repo]/branches/[string branch]/protection/required_signatures(map<string|string[]> headers) returns ProtectedBranchAdminEnforced|errorCreate commit signature protection
Return Type
- ProtectedBranchAdminEnforced|error - Response
delete repos/[string owner]/[string repo]/branches/[string branch]/protection/required_signatures
function delete repos/[string owner]/[string repo]/branches/[string branch]/protection/required_signatures(map<string|string[]> headers) returns error?Delete commit signature protection
Return Type
- error? - Response
get repos/[string owner]/[string repo]/branches/[string branch]/protection/required_status_checks
function get repos/[string owner]/[string repo]/branches/[string branch]/protection/required_status_checks(map<string|string[]> headers) returns StatusCheckPolicy|errorGet status checks protection
Return Type
- StatusCheckPolicy|error - Response
delete repos/[string owner]/[string repo]/branches/[string branch]/protection/required_status_checks
function delete repos/[string owner]/[string repo]/branches/[string branch]/protection/required_status_checks(map<string|string[]> headers) returns error?Remove status check protection
Return Type
- error? - Response
patch repos/[string owner]/[string repo]/branches/[string branch]/protection/required_status_checks
function patch repos/[string owner]/[string repo]/branches/[string branch]/protection/required_status_checks(ProtectionRequiredStatusChecksBody payload, map<string|string[]> headers) returns StatusCheckPolicy|errorUpdate status check protection
Parameters
- payload ProtectionRequiredStatusChecksBody -
Return Type
- StatusCheckPolicy|error - Response
get repos/[string owner]/[string repo]/branches/[string branch]/protection/required_status_checks/contexts
function get repos/[string owner]/[string repo]/branches/[string branch]/protection/required_status_checks/contexts(map<string|string[]> headers) returns string[]|errorGet all status check contexts
put repos/[string owner]/[string repo]/branches/[string branch]/protection/required_status_checks/contexts
function put repos/[string owner]/[string repo]/branches/[string branch]/protection/required_status_checks/contexts(RequiredStatusChecksContextsBody payload, map<string|string[]> headers) returns string[]|errorSet status check contexts
Parameters
- payload RequiredStatusChecksContextsBody -
post repos/[string owner]/[string repo]/branches/[string branch]/protection/required_status_checks/contexts
function post repos/[string owner]/[string repo]/branches/[string branch]/protection/required_status_checks/contexts(RequiredStatusChecksContextsBody1 payload, map<string|string[]> headers) returns string[]|errorAdd status check contexts
Parameters
- payload RequiredStatusChecksContextsBody1 -
delete repos/[string owner]/[string repo]/branches/[string branch]/protection/required_status_checks/contexts
function delete repos/[string owner]/[string repo]/branches/[string branch]/protection/required_status_checks/contexts(RequiredStatusChecksContextsBody2 payload, map<string|string[]> headers) returns string[]|errorRemove status check contexts
Parameters
- payload RequiredStatusChecksContextsBody2 -
get repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions
function get repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions(map<string|string[]> headers) returns BranchRestrictionPolicy|errorGet access restrictions
Return Type
- BranchRestrictionPolicy|error - Response
delete repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions
function delete repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions(map<string|string[]> headers) returns error?Delete access restrictions
Return Type
- error? - Response
get repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/apps
function get repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/apps(map<string|string[]> headers) returns Integration[]|errorGet apps with access to the protected branch
Return Type
- Integration[]|error - Response
put repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/apps
function put repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/apps(RestrictionsAppsBody payload, map<string|string[]> headers) returns Integration[]|errorSet app access restrictions
Parameters
- payload RestrictionsAppsBody -
Return Type
- Integration[]|error - Response
post repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/apps
function post repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/apps(RestrictionsAppsBody payload, map<string|string[]> headers) returns Integration[]|errorAdd app access restrictions
Parameters
- payload RestrictionsAppsBody -
Return Type
- Integration[]|error - Response
delete repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/apps
function delete repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/apps(RestrictionsAppsBody payload, map<string|string[]> headers) returns Integration[]|errorRemove app access restrictions
Parameters
- payload RestrictionsAppsBody -
Return Type
- Integration[]|error - Response
get repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/teams
function get repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/teams(map<string|string[]> headers) returns Team[]|errorGet teams with access to the protected branch
put repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/teams
function put repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/teams(RestrictionsTeamsBody payload, map<string|string[]> headers) returns Team[]|errorSet team access restrictions
Parameters
- payload RestrictionsTeamsBody -
post repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/teams
function post repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/teams(RestrictionsTeamsBody payload, map<string|string[]> headers) returns Team[]|errorAdd team access restrictions
Parameters
- payload RestrictionsTeamsBody -
delete repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/teams
function delete repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/teams(RestrictionsTeamsBody payload, map<string|string[]> headers) returns Team[]|errorRemove team access restrictions
Parameters
- payload RestrictionsTeamsBody -
get repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/users
function get repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/users(map<string|string[]> headers) returns SimpleUser[]|errorGet users with access to the protected branch
Return Type
- SimpleUser[]|error - Response
put repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/users
function put repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/users(RestrictionsUsersBody payload, map<string|string[]> headers) returns SimpleUser[]|errorSet user access restrictions
Parameters
- payload RestrictionsUsersBody -
Return Type
- SimpleUser[]|error - Response
post repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/users
function post repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/users(RestrictionsUsersBody payload, map<string|string[]> headers) returns SimpleUser[]|errorAdd user access restrictions
Parameters
- payload RestrictionsUsersBody -
Return Type
- SimpleUser[]|error - Response
delete repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/users
function delete repos/[string owner]/[string repo]/branches/[string branch]/protection/restrictions/users(RestrictionsUsersBody payload, map<string|string[]> headers) returns SimpleUser[]|errorRemove user access restrictions
Parameters
- payload RestrictionsUsersBody -
Return Type
- SimpleUser[]|error - Response
post repos/[string owner]/[string repo]/branches/[string branch]/rename
function post repos/[string owner]/[string repo]/branches/[string branch]/rename(BranchRenameBody payload, map<string|string[]> headers) returns BranchWithProtection|errorRename a branch
Parameters
- payload BranchRenameBody -
Return Type
- BranchWithProtection|error - Response
post repos/[string owner]/[string repo]/check-runs
function post repos/[string owner]/[string repo]/check\-runs(RepoCheckRunsBody payload, map<string|string[]> headers) returns CheckRun|errorCreate a check run
Parameters
- payload RepoCheckRunsBody -
get repos/[string owner]/[string repo]/check-runs/[int checkRunId]
function get repos/[string owner]/[string repo]/check\-runs/[int checkRunId](map<string|string[]> headers) returns CheckRun|errorGet a repository security advisory
patch repos/[string owner]/[string repo]/check-runs/[int checkRunId]
function patch repos/[string owner]/[string repo]/check\-runs/[int checkRunId](CheckRunscheckRunIdBody payload, map<string|string[]> headers) returns CheckRun|errorUpdate a repository security advisory
Parameters
- payload CheckRunscheckRunIdBody -
get repos/[string owner]/[string repo]/check-runs/[int checkRunId]/annotations
function get repos/[string owner]/[string repo]/check\-runs/[int checkRunId]/annotations(map<string|string[]> headers, *ChecksListAnnotationsQueries queries) returns CheckAnnotation[]|errorList check run annotations
Parameters
- queries *ChecksListAnnotationsQueries - Queries to be sent with the request
Return Type
- CheckAnnotation[]|error - Response
post repos/[string owner]/[string repo]/check-runs/[int checkRunId]/rerequest
function post repos/[string owner]/[string repo]/check\-runs/[int checkRunId]/rerequest(map<string|string[]> headers) returns EmptyObject|errorRerequest a check suite
Return Type
- EmptyObject|error - Response
post repos/[string owner]/[string repo]/check-suites
function post repos/[string owner]/[string repo]/check\-suites(RepoCheckSuitesBody payload, map<string|string[]> headers) returns CheckSuite|errorCreate a check suite
Parameters
- payload RepoCheckSuitesBody -
Return Type
- CheckSuite|error - Response when the suite already exists
patch repos/[string owner]/[string repo]/check-suites/preferences
function patch repos/[string owner]/[string repo]/check\-suites/preferences(CheckSuitesPreferencesBody payload, map<string|string[]> headers) returns CheckSuitePreference|errorUpdate repository preferences for check suites
Parameters
- payload CheckSuitesPreferencesBody -
Return Type
- CheckSuitePreference|error - Response
get repos/[string owner]/[string repo]/check-suites/[int checkSuiteId]
function get repos/[string owner]/[string repo]/check\-suites/[int checkSuiteId](map<string|string[]> headers) returns CheckSuite|errorGet a repository security advisory
Return Type
- CheckSuite|error - Response
get repos/[string owner]/[string repo]/check-suites/[int checkSuiteId]/check-runs
function get repos/[string owner]/[string repo]/check\-suites/[int checkSuiteId]/check\-runs(map<string|string[]> headers, *ChecksListForSuiteQueries queries) returns CheckRunResponse|errorList check runs in a check suite
Parameters
- queries *ChecksListForSuiteQueries - Queries to be sent with the request
Return Type
- CheckRunResponse|error - Response
post repos/[string owner]/[string repo]/check-suites/[int checkSuiteId]/rerequest
function post repos/[string owner]/[string repo]/check\-suites/[int checkSuiteId]/rerequest(map<string|string[]> headers) returns EmptyObject|errorRerequest a check suite
Return Type
- EmptyObject|error - Response
get repos/[string owner]/[string repo]/code-scanning/alerts
function get repos/[string owner]/[string repo]/code\-scanning/alerts(map<string|string[]> headers, *CodeScanningListAlertsForRepoQueries queries) returns CodeScanningAlertItems[]|error?List secret scanning alerts for a repository
Parameters
- queries *CodeScanningListAlertsForRepoQueries - Queries to be sent with the request
Return Type
- CodeScanningAlertItems[]|error? - Response
get repos/[string owner]/[string repo]/code-scanning/alerts/[AlertNumber alertNumber]
function get repos/[string owner]/[string repo]/code\-scanning/alerts/[AlertNumber alertNumber](map<string|string[]> headers) returns CodeScanningAlert|error?Get a secret scanning alert
Return Type
- CodeScanningAlert|error? - Response
patch repos/[string owner]/[string repo]/code-scanning/alerts/[AlertNumber alertNumber]
function patch repos/[string owner]/[string repo]/code\-scanning/alerts/[AlertNumber alertNumber](AlertsalertNumberBody payload, map<string|string[]> headers) returns CodeScanningAlert|errorUpdate a secret scanning alert
Parameters
- payload AlertsalertNumberBody -
Return Type
- CodeScanningAlert|error - Response
get repos/[string owner]/[string repo]/code-scanning/alerts/[AlertNumber alertNumber]/instances
function get repos/[string owner]/[string repo]/code\-scanning/alerts/[AlertNumber alertNumber]/instances(map<string|string[]> headers, *CodeScanningListAlertInstancesQueries queries) returns CodeScanningAlertInstance[]|errorList instances of a code scanning alert
Parameters
- queries *CodeScanningListAlertInstancesQueries - Queries to be sent with the request
Return Type
- CodeScanningAlertInstance[]|error - Response
get repos/[string owner]/[string repo]/code-scanning/analyses
function get repos/[string owner]/[string repo]/code\-scanning/analyses(map<string|string[]> headers, *CodeScanningListRecentAnalysesQueries queries) returns CodeScanningAnalysis[]|errorList code scanning analyses for a repository
Parameters
- queries *CodeScanningListRecentAnalysesQueries - Queries to be sent with the request
Return Type
- CodeScanningAnalysis[]|error - Response
get repos/[string owner]/[string repo]/code-scanning/analyses/[int analysisId]
function get repos/[string owner]/[string repo]/code\-scanning/analyses/[int analysisId](map<string|string[]> headers) returns CodeScanningAnalysis|errorGet a code scanning analysis for a repository
Return Type
- CodeScanningAnalysis|error - Response
delete repos/[string owner]/[string repo]/code-scanning/analyses/[int analysisId]
function delete repos/[string owner]/[string repo]/code\-scanning/analyses/[int analysisId](map<string|string[]> headers, *CodeScanningDeleteAnalysisQueries queries) returns CodeScanningAnalysisDeletion|errorDelete a code scanning analysis from a repository
Parameters
- queries *CodeScanningDeleteAnalysisQueries - Queries to be sent with the request
Return Type
- CodeScanningAnalysisDeletion|error - Response
get repos/[string owner]/[string repo]/code-scanning/codeql/databases
function get repos/[string owner]/[string repo]/code\-scanning/codeql/databases(map<string|string[]> headers) returns CodeScanningCodeqlDatabase[]|errorList CodeQL databases for a repository
Return Type
- CodeScanningCodeqlDatabase[]|error - Response
get repos/[string owner]/[string repo]/code-scanning/codeql/databases/[string language]
function get repos/[string owner]/[string repo]/code\-scanning/codeql/databases/[string language](map<string|string[]> headers) returns CodeScanningCodeqlDatabase|error?Get a CodeQL database for a repository
Return Type
- CodeScanningCodeqlDatabase|error? - Response
get repos/[string owner]/[string repo]/code-scanning/default-setup
function get repos/[string owner]/[string repo]/code\-scanning/default\-setup(map<string|string[]> headers) returns CodeScanningDefaultSetup|errorGet a code scanning default setup configuration
Return Type
- CodeScanningDefaultSetup|error - Response
patch repos/[string owner]/[string repo]/code-scanning/default-setup
function patch repos/[string owner]/[string repo]/code\-scanning/default\-setup(CodeScanningDefaultSetupUpdate payload, map<string|string[]> headers) returns EmptyObject|CodeScanningDefaultSetupUpdateResponse|errorUpdate a code scanning default setup configuration
Parameters
- payload CodeScanningDefaultSetupUpdate -
Return Type
post repos/[string owner]/[string repo]/code-scanning/sarifs
function post repos/[string owner]/[string repo]/code\-scanning/sarifs(CodeScanningSarifsBody payload, map<string|string[]> headers) returns CodeScanningSarifsReceipt|errorUpload an analysis as SARIF data
Parameters
- payload CodeScanningSarifsBody -
Return Type
- CodeScanningSarifsReceipt|error - Response
get repos/[string owner]/[string repo]/code-scanning/sarifs/[string sarifId]
function get repos/[string owner]/[string repo]/code\-scanning/sarifs/[string sarifId](map<string|string[]> headers) returns CodeScanningSarifsStatus|errorGet information about a SARIF upload
Return Type
- CodeScanningSarifsStatus|error - Response
get repos/[string owner]/[string repo]/codeowners/errors
function get repos/[string owner]/[string repo]/codeowners/errors(map<string|string[]> headers, *ReposCodeownersErrorsQueries queries) returns CodeownersErrors|errorList CODEOWNERS errors
Parameters
- queries *ReposCodeownersErrorsQueries - Queries to be sent with the request
Return Type
- CodeownersErrors|error - Response
get repos/[string owner]/[string repo]/codespaces
function get repos/[string owner]/[string repo]/codespaces(map<string|string[]> headers, *CodespacesListInRepositoryForAuthenticatedUserQueries queries) returns CodespaceResponse|errorList codespaces in a repository for the authenticated user
Parameters
- queries *CodespacesListInRepositoryForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- CodespaceResponse|error - Response
post repos/[string owner]/[string repo]/codespaces
function post repos/[string owner]/[string repo]/codespaces(RepoCodespacesBody payload, map<string|string[]> headers) returns Codespace|errorCreate a codespace in a repository
Parameters
- payload RepoCodespacesBody -
get repos/[string owner]/[string repo]/codespaces/devcontainers
function get repos/[string owner]/[string repo]/codespaces/devcontainers(map<string|string[]> headers, *CodespacesListDevcontainersInRepositoryForAuthenticatedUserQueries queries) returns DevcontainersResponse|errorList devcontainer configurations in a repository for the authenticated user
Parameters
- queries *CodespacesListDevcontainersInRepositoryForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- DevcontainersResponse|error - Response
get repos/[string owner]/[string repo]/codespaces/machines
function get repos/[string owner]/[string repo]/codespaces/machines(map<string|string[]> headers, *CodespacesRepoMachinesForAuthenticatedUserQueries queries) returns CodespaceMachineResponse|error?List available machine types for a repository
Parameters
- queries *CodespacesRepoMachinesForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- CodespaceMachineResponse|error? - Response
get repos/[string owner]/[string repo]/codespaces/'new
function get repos/[string owner]/[string repo]/codespaces/'new(map<string|string[]> headers, *CodespacesPreFlightWithRepoForAuthenticatedUserQueries queries) returns CodespaceDefaultResponse|errorGet default attributes for a codespace
Parameters
- queries *CodespacesPreFlightWithRepoForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- CodespaceDefaultResponse|error - Response when a user is able to create codespaces from the repository
get repos/[string owner]/[string repo]/codespaces/permissions_check
function get repos/[string owner]/[string repo]/codespaces/permissions_check(map<string|string[]> headers, *CodespacesCheckPermissionsForDevcontainerQueries queries) returns CodespacesPermissionsCheckForDevcontainer|errorCheck if permissions defined by a devcontainer have been accepted by the authenticated user
Parameters
- queries *CodespacesCheckPermissionsForDevcontainerQueries - Queries to be sent with the request
Return Type
- CodespacesPermissionsCheckForDevcontainer|error - Response when the permission check is successful
get repos/[string owner]/[string repo]/codespaces/secrets
function get repos/[string owner]/[string repo]/codespaces/secrets(map<string|string[]> headers, *CodespacesListRepoSecretsQueries queries) returns RepoCodespacesSecretResponse|errorList repository secrets
Parameters
- queries *CodespacesListRepoSecretsQueries - Queries to be sent with the request
Return Type
- RepoCodespacesSecretResponse|error - Response
get repos/[string owner]/[string repo]/codespaces/secrets/public-key
function get repos/[string owner]/[string repo]/codespaces/secrets/public\-key(map<string|string[]> headers) returns CodespacesPublicKey|errorGet a repository public key
Return Type
- CodespacesPublicKey|error - Response
get repos/[string owner]/[string repo]/codespaces/secrets/[string secretName]
function get repos/[string owner]/[string repo]/codespaces/secrets/[string secretName](map<string|string[]> headers) returns RepoCodespacesSecret|errorGet a repository secret
Return Type
- RepoCodespacesSecret|error - Response
put repos/[string owner]/[string repo]/codespaces/secrets/[string secretName]
function put repos/[string owner]/[string repo]/codespaces/secrets/[string secretName](SecretssecretNameBody4 payload, map<string|string[]> headers) returns EmptyObject|error?Create or update a repository secret
Parameters
- payload SecretssecretNameBody4 -
Return Type
- EmptyObject|error? - Response when creating a secret
delete repos/[string owner]/[string repo]/codespaces/secrets/[string secretName]
function delete repos/[string owner]/[string repo]/codespaces/secrets/[string secretName](map<string|string[]> headers) returns error?Delete a repository secret
Return Type
- error? - Response
get repos/[string owner]/[string repo]/collaborators
function get repos/[string owner]/[string repo]/collaborators(map<string|string[]> headers, *ReposListCollaboratorsQueries queries) returns Collaborator[]|errorList repository collaborators
Parameters
- queries *ReposListCollaboratorsQueries - Queries to be sent with the request
Return Type
- Collaborator[]|error - Response
get repos/[string owner]/[string repo]/collaborators/[string username]
function get repos/[string owner]/[string repo]/collaborators/[string username](map<string|string[]> headers) returns error?Check if a user is a repository collaborator
Return Type
- error? - Response if user is a collaborator
put repos/[string owner]/[string repo]/collaborators/[string username]
function put repos/[string owner]/[string repo]/collaborators/[string username](CollaboratorsusernameBody1 payload, map<string|string[]> headers) returns RepositoryInvitation|error?Add a repository collaborator
Parameters
- payload CollaboratorsusernameBody1 -
Return Type
- RepositoryInvitation|error? - Response when a new invitation is created
delete repos/[string owner]/[string repo]/collaborators/[string username]
function delete repos/[string owner]/[string repo]/collaborators/[string username](map<string|string[]> headers) returns error?Remove a repository collaborator
Return Type
- error? - No Content when collaborator was removed from the repository
get repos/[string owner]/[string repo]/collaborators/[string username]/permission
function get repos/[string owner]/[string repo]/collaborators/[string username]/permission(map<string|string[]> headers) returns RepositoryCollaboratorPermission|errorGet repository permissions for a user
Return Type
- RepositoryCollaboratorPermission|error - if user has admin permissions
get repos/[string owner]/[string repo]/comments
function get repos/[string owner]/[string repo]/comments(map<string|string[]> headers, *ReposListCommitCommentsForRepoQueries queries) returns CommitComment[]|errorList commit comments for a repository
Parameters
- queries *ReposListCommitCommentsForRepoQueries - Queries to be sent with the request
Return Type
- CommitComment[]|error - Response
get repos/[string owner]/[string repo]/comments/[int commentId]
function get repos/[string owner]/[string repo]/comments/[int commentId](map<string|string[]> headers) returns CommitComment|errorGet a commit comment
Return Type
- CommitComment|error - Response
delete repos/[string owner]/[string repo]/comments/[int commentId]
function delete repos/[string owner]/[string repo]/comments/[int commentId](map<string|string[]> headers) returns error?Delete a commit comment
Return Type
- error? - Response
patch repos/[string owner]/[string repo]/comments/[int commentId]
function patch repos/[string owner]/[string repo]/comments/[int commentId](CommentscommentIdBody payload, map<string|string[]> headers) returns CommitComment|errorUpdate a commit comment
Parameters
- payload CommentscommentIdBody -
Return Type
- CommitComment|error - Response
get repos/[string owner]/[string repo]/comments/[int commentId]/reactions
function get repos/[string owner]/[string repo]/comments/[int commentId]/reactions(map<string|string[]> headers, *ReactionsListForCommitCommentQueries queries) returns Reaction[]|errorList reactions for a commit comment
Parameters
- queries *ReactionsListForCommitCommentQueries - Queries to be sent with the request
post repos/[string owner]/[string repo]/comments/[int commentId]/reactions
function post repos/[string owner]/[string repo]/comments/[int commentId]/reactions(CommentIdReactionsBody payload, map<string|string[]> headers) returns Reaction|errorCreate reaction for a commit comment
Parameters
- payload CommentIdReactionsBody -
delete repos/[string owner]/[string repo]/comments/[int commentId]/reactions/[int reactionId]
function delete repos/[string owner]/[string repo]/comments/[int commentId]/reactions/[int reactionId](map<string|string[]> headers) returns error?Delete a commit comment reaction
Return Type
- error? - Response
get repos/[string owner]/[string repo]/commits
function get repos/[string owner]/[string repo]/commits(map<string|string[]> headers, *ReposListCommitsQueries queries) returns Commit[]|errorList commits
Parameters
- queries *ReposListCommitsQueries - Queries to be sent with the request
get repos/[string owner]/[string repo]/commits/[string commitSha]/branches-where-head
function get repos/[string owner]/[string repo]/commits/[string commitSha]/branches\-where\-head(map<string|string[]> headers) returns BranchShort[]|errorList branches for HEAD commit
Return Type
- BranchShort[]|error - Response
get repos/[string owner]/[string repo]/commits/[string commitSha]/comments
function get repos/[string owner]/[string repo]/commits/[string commitSha]/comments(map<string|string[]> headers, *ReposListCommentsForCommitQueries queries) returns CommitComment[]|errorList commit comments
Parameters
- queries *ReposListCommentsForCommitQueries - Queries to be sent with the request
Return Type
- CommitComment[]|error - Response
post repos/[string owner]/[string repo]/commits/[string commitSha]/comments
function post repos/[string owner]/[string repo]/commits/[string commitSha]/comments(CommitShaCommentsBody payload, map<string|string[]> headers) returns CommitComment|errorCreate a commit comment
Parameters
- payload CommitShaCommentsBody -
Return Type
- CommitComment|error - Response
get repos/[string owner]/[string repo]/commits/[string commitSha]/pulls
function get repos/[string owner]/[string repo]/commits/[string commitSha]/pulls(map<string|string[]> headers, *ReposListPullRequestsAssociatedWithCommitQueries queries) returns PullRequestSimple[]|errorList pull requests associated with a commit
Parameters
- queries *ReposListPullRequestsAssociatedWithCommitQueries - Queries to be sent with the request
Return Type
- PullRequestSimple[]|error - Response
get repos/[string owner]/[string repo]/commits/[string ref]
function get repos/[string owner]/[string repo]/commits/[string ref](map<string|string[]> headers, *ReposGetCommitQueries queries) returns Commit|errorGet a commit
Parameters
- queries *ReposGetCommitQueries - Queries to be sent with the request
get repos/[string owner]/[string repo]/commits/[string ref]/check-runs
function get repos/[string owner]/[string repo]/commits/[string ref]/check\-runs(map<string|string[]> headers, *ChecksListForRefQueries queries) returns CheckRunResponse|errorList check runs for a Git reference
Parameters
- queries *ChecksListForRefQueries - Queries to be sent with the request
Return Type
- CheckRunResponse|error - Response
get repos/[string owner]/[string repo]/commits/[string ref]/check-suites
function get repos/[string owner]/[string repo]/commits/[string ref]/check\-suites(map<string|string[]> headers, *ChecksListSuitesForRefQueries queries) returns CheckSuiteResponse|errorList check suites for a Git reference
Parameters
- queries *ChecksListSuitesForRefQueries - Queries to be sent with the request
Return Type
- CheckSuiteResponse|error - Response
get repos/[string owner]/[string repo]/commits/[string ref]/status
function get repos/[string owner]/[string repo]/commits/[string ref]/status(map<string|string[]> headers, *ReposGetCombinedStatusForRefQueries queries) returns CombinedCommitStatus|errorGet the combined status for a specific reference
Parameters
- queries *ReposGetCombinedStatusForRefQueries - Queries to be sent with the request
Return Type
- CombinedCommitStatus|error - Response
get repos/[string owner]/[string repo]/commits/[string ref]/statuses
function get repos/[string owner]/[string repo]/commits/[string ref]/statuses(map<string|string[]> headers, *ReposListCommitStatusesForRefQueries queries) returns Status[]|errorList commit statuses for a reference
Parameters
- queries *ReposListCommitStatusesForRefQueries - Queries to be sent with the request
get repos/[string owner]/[string repo]/community/profile
function get repos/[string owner]/[string repo]/community/profile(map<string|string[]> headers) returns CommunityProfile|errorGet community profile metrics
Return Type
- CommunityProfile|error - Response
get repos/[string owner]/[string repo]/compare/[string basehead]
function get repos/[string owner]/[string repo]/compare/[string basehead](map<string|string[]> headers, *ReposCompareCommitsQueries queries) returns CommitComparison|errorCompare two commits
Parameters
- queries *ReposCompareCommitsQueries - Queries to be sent with the request
Return Type
- CommitComparison|error - Response
get repos/[string owner]/[string repo]/contents/[string path]
function get repos/[string owner]/[string repo]/contents/[string path](map<string|string[]> headers, *ReposGetContentQueries queries) returns InlineResponse200|error?Get repository content
Parameters
- queries *ReposGetContentQueries - Queries to be sent with the request
Return Type
- InlineResponse200|error? - Response
put repos/[string owner]/[string repo]/contents/[string path]
function put repos/[string owner]/[string repo]/contents/[string path](ContentspathBody payload, map<string|string[]> headers) returns FileCommit|errorCreate or update file contents
Parameters
- payload ContentspathBody -
Return Type
- FileCommit|error - Response
delete repos/[string owner]/[string repo]/contents/[string path]
function delete repos/[string owner]/[string repo]/contents/[string path](ContentspathBody1 payload, map<string|string[]> headers) returns FileCommit|errorDelete a file
Parameters
- payload ContentspathBody1 -
Return Type
- FileCommit|error - Response
get repos/[string owner]/[string repo]/contributors
function get repos/[string owner]/[string repo]/contributors(map<string|string[]> headers, *ReposListContributorsQueries queries) returns Contributor[]|error?List repository contributors
Parameters
- queries *ReposListContributorsQueries - Queries to be sent with the request
Return Type
- Contributor[]|error? - If repository contains content
get repos/[string owner]/[string repo]/dependabot/alerts
function get repos/[string owner]/[string repo]/dependabot/alerts(map<string|string[]> headers, *DependabotListAlertsForRepoQueries queries) returns DependabotAlert[]|error?List Dependabot alerts for a repository
Parameters
- queries *DependabotListAlertsForRepoQueries - Queries to be sent with the request
Return Type
- DependabotAlert[]|error? - Response
get repos/[string owner]/[string repo]/dependabot/alerts/[AlertNumber alertNumber]
function get repos/[string owner]/[string repo]/dependabot/alerts/[AlertNumber alertNumber](map<string|string[]> headers) returns DependabotAlert|error?Get a Dependabot alert
Return Type
- DependabotAlert|error? - Response
patch repos/[string owner]/[string repo]/dependabot/alerts/[AlertNumber alertNumber]
function patch repos/[string owner]/[string repo]/dependabot/alerts/[AlertNumber alertNumber](AlertsalertNumberBody1 payload, map<string|string[]> headers) returns DependabotAlert|errorUpdate a Dependabot alert
Parameters
- payload AlertsalertNumberBody1 -
Return Type
- DependabotAlert|error - Response
get repos/[string owner]/[string repo]/dependabot/secrets
function get repos/[string owner]/[string repo]/dependabot/secrets(map<string|string[]> headers, *DependabotListRepoSecretsQueries queries) returns DependabotSecretResponse|errorList repository secrets
Parameters
- queries *DependabotListRepoSecretsQueries - Queries to be sent with the request
Return Type
- DependabotSecretResponse|error - Response
get repos/[string owner]/[string repo]/dependabot/secrets/public-key
function get repos/[string owner]/[string repo]/dependabot/secrets/public\-key(map<string|string[]> headers) returns DependabotPublicKey|errorGet a repository public key
Return Type
- DependabotPublicKey|error - Response
get repos/[string owner]/[string repo]/dependabot/secrets/[string secretName]
function get repos/[string owner]/[string repo]/dependabot/secrets/[string secretName](map<string|string[]> headers) returns DependabotSecret|errorGet a repository secret
Return Type
- DependabotSecret|error - Response
put repos/[string owner]/[string repo]/dependabot/secrets/[string secretName]
function put repos/[string owner]/[string repo]/dependabot/secrets/[string secretName](SecretssecretNameBody5 payload, map<string|string[]> headers) returns EmptyObject|error?Create or update a repository secret
Parameters
- payload SecretssecretNameBody5 -
Return Type
- EmptyObject|error? - Response when creating a secret
delete repos/[string owner]/[string repo]/dependabot/secrets/[string secretName]
function delete repos/[string owner]/[string repo]/dependabot/secrets/[string secretName](map<string|string[]> headers) returns error?Delete a repository secret
Return Type
- error? - Response
get repos/[string owner]/[string repo]/dependency-graph/compare/[string basehead]
function get repos/[string owner]/[string repo]/dependency\-graph/compare/[string basehead](map<string|string[]> headers, *DependencyGraphDiffRangeQueries queries) returns DependencyGraphDiff|errorGet a diff of the dependencies between commits
Parameters
- queries *DependencyGraphDiffRangeQueries - Queries to be sent with the request
Return Type
- DependencyGraphDiff|error - Response
get repos/[string owner]/[string repo]/dependency-graph/sbom
function get repos/[string owner]/[string repo]/dependency\-graph/sbom(map<string|string[]> headers) returns DependencyGraphSpdxSbom|errorExport a software bill of materials (SBOM) for a repository.
Return Type
- DependencyGraphSpdxSbom|error - Response
post repos/[string owner]/[string repo]/dependency-graph/snapshots
function post repos/[string owner]/[string repo]/dependency\-graph/snapshots(Snapshot payload, map<string|string[]> headers) returns SnapshotResponse|errorCreate a snapshot of dependencies for a repository
Parameters
- payload Snapshot -
Return Type
- SnapshotResponse|error - Response
get repos/[string owner]/[string repo]/deployments
function get repos/[string owner]/[string repo]/deployments(map<string|string[]> headers, *ReposListDeploymentsQueries queries) returns Deployment[]|errorList deployments
Parameters
- queries *ReposListDeploymentsQueries - Queries to be sent with the request
Return Type
- Deployment[]|error - Response
post repos/[string owner]/[string repo]/deployments
function post repos/[string owner]/[string repo]/deployments(RepoDeploymentsBody payload, map<string|string[]> headers) returns Deployment|MergedBranchResponse|errorCreate a deployment
Parameters
- payload RepoDeploymentsBody -
Return Type
- Deployment|MergedBranchResponse|error - Response
get repos/[string owner]/[string repo]/deployments/[int deploymentId]
function get repos/[string owner]/[string repo]/deployments/[int deploymentId](map<string|string[]> headers) returns Deployment|errorGet a deployment
Return Type
- Deployment|error - Response
delete repos/[string owner]/[string repo]/deployments/[int deploymentId]
function delete repos/[string owner]/[string repo]/deployments/[int deploymentId](map<string|string[]> headers) returns error?Delete a deployment
Return Type
- error? - Response
get repos/[string owner]/[string repo]/deployments/[int deploymentId]/statuses
function get repos/[string owner]/[string repo]/deployments/[int deploymentId]/statuses(map<string|string[]> headers, *ReposListDeploymentStatusesQueries queries) returns DeploymentStatus[]|errorList deployment statuses
Parameters
- queries *ReposListDeploymentStatusesQueries - Queries to be sent with the request
Return Type
- DeploymentStatus[]|error - Response
post repos/[string owner]/[string repo]/deployments/[int deploymentId]/statuses
function post repos/[string owner]/[string repo]/deployments/[int deploymentId]/statuses(DeploymentIdStatusesBody payload, map<string|string[]> headers) returns DeploymentStatus|errorCreate a deployment status
Parameters
- payload DeploymentIdStatusesBody -
Return Type
- DeploymentStatus|error - Response
get repos/[string owner]/[string repo]/deployments/[int deploymentId]/statuses/[int statusId]
function get repos/[string owner]/[string repo]/deployments/[int deploymentId]/statuses/[int statusId](map<string|string[]> headers) returns DeploymentStatus|errorGet a deployment status
Return Type
- DeploymentStatus|error - Response
post repos/[string owner]/[string repo]/dispatches
function post repos/[string owner]/[string repo]/dispatches(RepoDispatchesBody payload, map<string|string[]> headers) returns error?Create a repository dispatch event
Parameters
- payload RepoDispatchesBody -
Return Type
- error? - Response
get repos/[string owner]/[string repo]/environments
function get repos/[string owner]/[string repo]/environments(map<string|string[]> headers, *ReposGetAllEnvironmentsQueries queries) returns EnvironmentResponse|errorList environments
Parameters
- queries *ReposGetAllEnvironmentsQueries - Queries to be sent with the request
Return Type
- EnvironmentResponse|error - Response
get repos/[string owner]/[string repo]/environments/[string environmentName]
function get repos/[string owner]/[string repo]/environments/[string environmentName](map<string|string[]> headers) returns Environment|errorGet an environment
Return Type
- Environment|error - Response
put repos/[string owner]/[string repo]/environments/[string environmentName]
function put repos/[string owner]/[string repo]/environments/[string environmentName](EnvironmentsenvironmentNameBody payload, map<string|string[]> headers) returns Environment|errorCreate or update an environment
Parameters
- payload EnvironmentsenvironmentNameBody -
Return Type
- Environment|error - Response
delete repos/[string owner]/[string repo]/environments/[string environmentName]
function delete repos/[string owner]/[string repo]/environments/[string environmentName](map<string|string[]> headers) returns error?Delete an environment
Return Type
- error? - Default response
get repos/[string owner]/[string repo]/environments/[string environmentName]/deployment-branch-policies
function get repos/[string owner]/[string repo]/environments/[string environmentName]/deployment\-branch\-policies(map<string|string[]> headers, *ReposListDeploymentBranchPoliciesQueries queries) returns DeploymentBranchPolicyResponse|errorList deployment branch policies
Parameters
- queries *ReposListDeploymentBranchPoliciesQueries - Queries to be sent with the request
Return Type
- DeploymentBranchPolicyResponse|error - Response
post repos/[string owner]/[string repo]/environments/[string environmentName]/deployment-branch-policies
function post repos/[string owner]/[string repo]/environments/[string environmentName]/deployment\-branch\-policies(DeploymentBranchPolicyNamePatternWithType payload, map<string|string[]> headers) returns DeploymentBranchPolicy|error?Create a deployment branch policy
Parameters
Return Type
- DeploymentBranchPolicy|error? - Response
get repos/[string owner]/[string repo]/environments/[string environmentName]/deployment-branch-policies/[int branchPolicyId]
function get repos/[string owner]/[string repo]/environments/[string environmentName]/deployment\-branch\-policies/[int branchPolicyId](map<string|string[]> headers) returns DeploymentBranchPolicy|errorGet a deployment branch policy
Return Type
- DeploymentBranchPolicy|error - Response
put repos/[string owner]/[string repo]/environments/[string environmentName]/deployment-branch-policies/[int branchPolicyId]
function put repos/[string owner]/[string repo]/environments/[string environmentName]/deployment\-branch\-policies/[int branchPolicyId](DeploymentBranchPolicyNamePattern payload, map<string|string[]> headers) returns DeploymentBranchPolicy|errorUpdate a deployment branch policy
Parameters
- payload DeploymentBranchPolicyNamePattern -
Return Type
- DeploymentBranchPolicy|error - Response
delete repos/[string owner]/[string repo]/environments/[string environmentName]/deployment-branch-policies/[int branchPolicyId]
function delete repos/[string owner]/[string repo]/environments/[string environmentName]/deployment\-branch\-policies/[int branchPolicyId](map<string|string[]> headers) returns error?Delete a deployment branch policy
Return Type
- error? - Response
get repos/[string owner]/[string repo]/environments/[string environmentName]/deployment_protection_rules
function get repos/[string owner]/[string repo]/environments/[string environmentName]/deployment_protection_rules(map<string|string[]> headers) returns DeploymentProtectionRuleResponse|errorGet all deployment protection rules for an environment
Return Type
- DeploymentProtectionRuleResponse|error - List of deployment protection rules
post repos/[string owner]/[string repo]/environments/[string environmentName]/deployment_protection_rules
function post repos/[string owner]/[string repo]/environments/[string environmentName]/deployment_protection_rules(EnvironmentNameDeploymentProtectionRulesBody payload, map<string|string[]> headers) returns DeploymentProtectionRule|errorCreate a custom deployment protection rule on an environment
Parameters
Return Type
- DeploymentProtectionRule|error - The enabled custom deployment protection rule
get repos/[string owner]/[string repo]/environments/[string environmentName]/deployment_protection_rules/apps
function get repos/[string owner]/[string repo]/environments/[string environmentName]/deployment_protection_rules/apps(map<string|string[]> headers, *ReposListCustomDeploymentRuleIntegrationsQueries queries) returns CustomDeploymentRuleAppResponse|errorList custom deployment rule integrations available for an environment
Parameters
- queries *ReposListCustomDeploymentRuleIntegrationsQueries - Queries to be sent with the request
Return Type
- CustomDeploymentRuleAppResponse|error - A list of custom deployment rule integrations available for this environment
get repos/[string owner]/[string repo]/environments/[string environmentName]/deployment_protection_rules/[int protectionRuleId]
function get repos/[string owner]/[string repo]/environments/[string environmentName]/deployment_protection_rules/[int protectionRuleId](map<string|string[]> headers) returns DeploymentProtectionRule|errorGet a custom deployment protection rule
Return Type
- DeploymentProtectionRule|error - Response
delete repos/[string owner]/[string repo]/environments/[string environmentName]/deployment_protection_rules/[int protectionRuleId]
function delete repos/[string owner]/[string repo]/environments/[string environmentName]/deployment_protection_rules/[int protectionRuleId](map<string|string[]> headers) returns error?Disable a custom protection rule for an environment
Return Type
- error? - Response
get repos/[string owner]/[string repo]/events
function get repos/[string owner]/[string repo]/events(map<string|string[]> headers, *ActivityListRepoEventsQueries queries) returns Event[]|errorList repository events
Parameters
- queries *ActivityListRepoEventsQueries - Queries to be sent with the request
get repos/[string owner]/[string repo]/forks
function get repos/[string owner]/[string repo]/forks(map<string|string[]> headers, *ReposListForksQueries queries) returns MinimalRepository[]|errorList forks
Parameters
- queries *ReposListForksQueries - Queries to be sent with the request
Return Type
- MinimalRepository[]|error - Response
post repos/[string owner]/[string repo]/forks
function post repos/[string owner]/[string repo]/forks(RepoForksBody payload, map<string|string[]> headers) returns FullRepository|errorCreate a fork
Parameters
- payload RepoForksBody -
Return Type
- FullRepository|error - Response
post repos/[string owner]/[string repo]/git/blobs
function post repos/[string owner]/[string repo]/git/blobs(GitBlobsBody payload, map<string|string[]> headers) returns ShortBlob|errorCreate a blob
Parameters
- payload GitBlobsBody -
get repos/[string owner]/[string repo]/git/blobs/[string fileSha]
function get repos/[string owner]/[string repo]/git/blobs/[string fileSha](map<string|string[]> headers) returns Blob|errorGet a blob
post repos/[string owner]/[string repo]/git/commits
function post repos/[string owner]/[string repo]/git/commits(GitCommitsBody payload, map<string|string[]> headers) returns GitCommit|errorCreate a commit
Parameters
- payload GitCommitsBody -
get repos/[string owner]/[string repo]/git/commits/[string commitSha]
function get repos/[string owner]/[string repo]/git/commits/[string commitSha](map<string|string[]> headers) returns GitCommit|errorGet a commit object
get repos/[string owner]/[string repo]/git/matching-refs/[string ref]
function get repos/[string owner]/[string repo]/git/matching\-refs/[string ref](map<string|string[]> headers) returns GitRef[]|errorList matching references
get repos/[string owner]/[string repo]/git/ref/[string ref]
function get repos/[string owner]/[string repo]/git/ref/[string ref](map<string|string[]> headers) returns GitRef|errorGet a reference
post repos/[string owner]/[string repo]/git/refs
function post repos/[string owner]/[string repo]/git/refs(GitRefsBody payload, map<string|string[]> headers) returns GitRef|errorCreate a reference
Parameters
- payload GitRefsBody -
delete repos/[string owner]/[string repo]/git/refs/[string ref]
function delete repos/[string owner]/[string repo]/git/refs/[string ref](map<string|string[]> headers) returns error?Delete a reference
Return Type
- error? - Response
patch repos/[string owner]/[string repo]/git/refs/[string ref]
function patch repos/[string owner]/[string repo]/git/refs/[string ref](RefsrefBody payload, map<string|string[]> headers) returns GitRef|errorUpdate a reference
Parameters
- payload RefsrefBody -
post repos/[string owner]/[string repo]/git/tags
function post repos/[string owner]/[string repo]/git/tags(GitTagsBody payload, map<string|string[]> headers) returns GitTag|errorCreate a tag object
Parameters
- payload GitTagsBody -
get repos/[string owner]/[string repo]/git/tags/[string tagSha]
function get repos/[string owner]/[string repo]/git/tags/[string tagSha](map<string|string[]> headers) returns GitTag|errorGet a tag
post repos/[string owner]/[string repo]/git/trees
function post repos/[string owner]/[string repo]/git/trees(GitTreesBody payload, map<string|string[]> headers) returns GitTree|errorCreate a tree
Parameters
- payload GitTreesBody -
get repos/[string owner]/[string repo]/git/trees/[string treeSha]
function get repos/[string owner]/[string repo]/git/trees/[string treeSha](map<string|string[]> headers, *GitGetTreeQueries queries) returns GitTree|errorGet a tree
Parameters
- queries *GitGetTreeQueries - Queries to be sent with the request
get repos/[string owner]/[string repo]/hooks
function get repos/[string owner]/[string repo]/hooks(map<string|string[]> headers, *ReposListWebhooksQueries queries) returns Hook[]|errorList repository webhooks
Parameters
- queries *ReposListWebhooksQueries - Queries to be sent with the request
post repos/[string owner]/[string repo]/hooks
function post repos/[string owner]/[string repo]/hooks(RepoHooksBody payload, map<string|string[]> headers) returns Hook|errorCreate a repository webhook
Parameters
- payload RepoHooksBody -
get repos/[string owner]/[string repo]/hooks/[int hookId]
function get repos/[string owner]/[string repo]/hooks/[int hookId](map<string|string[]> headers) returns Hook|errorGet a repository webhook
delete repos/[string owner]/[string repo]/hooks/[int hookId]
function delete repos/[string owner]/[string repo]/hooks/[int hookId](map<string|string[]> headers) returns error?Delete a repository webhook
Return Type
- error? - Response
patch repos/[string owner]/[string repo]/hooks/[int hookId]
function patch repos/[string owner]/[string repo]/hooks/[int hookId](HookshookIdBody1 payload, map<string|string[]> headers) returns Hook|errorUpdate a repository webhook
Parameters
- payload HookshookIdBody1 -
get repos/[string owner]/[string repo]/hooks/[int hookId]/config
function get repos/[string owner]/[string repo]/hooks/[int hookId]/config(map<string|string[]> headers) returns WebhookConfig|errorGet a webhook configuration for a repository
Return Type
- WebhookConfig|error - Response
patch repos/[string owner]/[string repo]/hooks/[int hookId]/config
function patch repos/[string owner]/[string repo]/hooks/[int hookId]/config(HookIdConfigBody payload, map<string|string[]> headers) returns WebhookConfig|errorUpdate a webhook configuration for a repository
Parameters
- payload HookIdConfigBody -
Return Type
- WebhookConfig|error - Response
get repos/[string owner]/[string repo]/hooks/[int hookId]/deliveries
function get repos/[string owner]/[string repo]/hooks/[int hookId]/deliveries(map<string|string[]> headers, *ReposListWebhookDeliveriesQueries queries) returns HookDeliveryItem[]|errorList deliveries for a repository webhook
Parameters
- queries *ReposListWebhookDeliveriesQueries - Queries to be sent with the request
Return Type
- HookDeliveryItem[]|error - Response
get repos/[string owner]/[string repo]/hooks/[int hookId]/deliveries/[int deliveryId]
function get repos/[string owner]/[string repo]/hooks/[int hookId]/deliveries/[int deliveryId](map<string|string[]> headers) returns HookDelivery|errorGet a delivery for a repository webhook
Return Type
- HookDelivery|error - Response
post repos/[string owner]/[string repo]/hooks/[int hookId]/deliveries/[int deliveryId]/attempts
function post repos/[string owner]/[string repo]/hooks/[int hookId]/deliveries/[int deliveryId]/attempts(map<string|string[]> headers) returns record {}|errorRedeliver a delivery for a repository webhook
Return Type
- record {}|error - Accepted
post repos/[string owner]/[string repo]/hooks/[int hookId]/pings
function post repos/[string owner]/[string repo]/hooks/[int hookId]/pings(map<string|string[]> headers) returns error?Ping a repository webhook
Return Type
- error? - Response
post repos/[string owner]/[string repo]/hooks/[int hookId]/tests
function post repos/[string owner]/[string repo]/hooks/[int hookId]/tests(map<string|string[]> headers) returns error?Test the push repository webhook
Return Type
- error? - Response
get repos/[string owner]/[string repo]/'import
function get repos/[string owner]/[string repo]/'import(map<string|string[]> headers) returns Import|errorGet an import status
put repos/[string owner]/[string repo]/'import
function put repos/[string owner]/[string repo]/'import(RepoImportBody payload, map<string|string[]> headers) returns Import|errorStart an import
Parameters
- payload RepoImportBody -
delete repos/[string owner]/[string repo]/'import
function delete repos/[string owner]/[string repo]/'import(map<string|string[]> headers) returns error?Cancel an import
Return Type
- error? - Response
patch repos/[string owner]/[string repo]/'import
function patch repos/[string owner]/[string repo]/'import(RepoImportBody1 payload, map<string|string[]> headers) returns Import|errorUpdate an import
Parameters
- payload RepoImportBody1 -
get repos/[string owner]/[string repo]/'import/authors
function get repos/[string owner]/[string repo]/'import/authors(map<string|string[]> headers, *MigrationsGetCommitAuthorsQueries queries) returns PorterAuthor[]|errorGet commit authors
Parameters
- queries *MigrationsGetCommitAuthorsQueries - Queries to be sent with the request
Return Type
- PorterAuthor[]|error - Response
patch repos/[string owner]/[string repo]/'import/authors/[int authorId]
function patch repos/[string owner]/[string repo]/'import/authors/[int authorId](AuthorsauthorIdBody payload, map<string|string[]> headers) returns PorterAuthor|errorMap a commit author
Parameters
- payload AuthorsauthorIdBody -
Return Type
- PorterAuthor|error - Response
get repos/[string owner]/[string repo]/'import/large_files
function get repos/[string owner]/[string repo]/'import/large_files(map<string|string[]> headers) returns PorterLargeFile[]|errorGet large files
Return Type
- PorterLargeFile[]|error - Response
patch repos/[string owner]/[string repo]/'import/lfs
function patch repos/[string owner]/[string repo]/'import/lfs(ImportLfsBody payload, map<string|string[]> headers) returns Import|errorUpdate Git LFS preference
Parameters
- payload ImportLfsBody -
get repos/[string owner]/[string repo]/installation
function get repos/[string owner]/[string repo]/installation(map<string|string[]> headers) returns Installation|errorGet a repository installation for the authenticated app
Return Type
- Installation|error - Response
get repos/[string owner]/[string repo]/interaction-limits
function get repos/[string owner]/[string repo]/interaction\-limits(map<string|string[]> headers) returns InteractionLimitResponseAny|errorGet interaction restrictions for a repository
Return Type
- InteractionLimitResponseAny|error - Response
put repos/[string owner]/[string repo]/interaction-limits
function put repos/[string owner]/[string repo]/interaction\-limits(InteractionLimit payload, map<string|string[]> headers) returns InteractionLimitResponse|errorSet interaction restrictions for a repository
Parameters
- payload InteractionLimit -
Return Type
- InteractionLimitResponse|error - Response
delete repos/[string owner]/[string repo]/interaction-limits
function delete repos/[string owner]/[string repo]/interaction\-limits(map<string|string[]> headers) returns error?Remove interaction restrictions for a repository
Return Type
- error? - Response
get repos/[string owner]/[string repo]/invitations
function get repos/[string owner]/[string repo]/invitations(map<string|string[]> headers, *ReposListInvitationsQueries queries) returns RepositoryInvitation[]|errorList repository invitations
Parameters
- queries *ReposListInvitationsQueries - Queries to be sent with the request
Return Type
- RepositoryInvitation[]|error - Response
delete repos/[string owner]/[string repo]/invitations/[int invitationId]
function delete repos/[string owner]/[string repo]/invitations/[int invitationId](map<string|string[]> headers) returns error?Delete a repository invitation
Return Type
- error? - Response
patch repos/[string owner]/[string repo]/invitations/[int invitationId]
function patch repos/[string owner]/[string repo]/invitations/[int invitationId](InvitationsinvitationIdBody payload, map<string|string[]> headers) returns RepositoryInvitation|errorUpdate a repository invitation
Parameters
- payload InvitationsinvitationIdBody -
Return Type
- RepositoryInvitation|error - Response
get repos/[string owner]/[string repo]/issues
function get repos/[string owner]/[string repo]/issues(map<string|string[]> headers, *IssuesListForRepoQueries queries) returns Issue[]|errorList repository issues
Parameters
- queries *IssuesListForRepoQueries - Queries to be sent with the request
post repos/[string owner]/[string repo]/issues
function post repos/[string owner]/[string repo]/issues(RepoIssuesBody payload, map<string|string[]> headers) returns Issue|errorCreate an issue
Parameters
- payload RepoIssuesBody -
get repos/[string owner]/[string repo]/issues/comments
function get repos/[string owner]/[string repo]/issues/comments(map<string|string[]> headers, *IssuesListCommentsForRepoQueries queries) returns IssueComment[]|errorList issue comments for a repository
Parameters
- queries *IssuesListCommentsForRepoQueries - Queries to be sent with the request
Return Type
- IssueComment[]|error - Response
get repos/[string owner]/[string repo]/issues/comments/[int commentId]
function get repos/[string owner]/[string repo]/issues/comments/[int commentId](map<string|string[]> headers) returns IssueComment|errorGet an issue comment
Return Type
- IssueComment|error - Response
delete repos/[string owner]/[string repo]/issues/comments/[int commentId]
function delete repos/[string owner]/[string repo]/issues/comments/[int commentId](map<string|string[]> headers) returns error?Delete an issue comment
Return Type
- error? - Response
patch repos/[string owner]/[string repo]/issues/comments/[int commentId]
function patch repos/[string owner]/[string repo]/issues/comments/[int commentId](CommentscommentIdBody1 payload, map<string|string[]> headers) returns IssueComment|errorUpdate an issue comment
Parameters
- payload CommentscommentIdBody1 -
Return Type
- IssueComment|error - Response
get repos/[string owner]/[string repo]/issues/comments/[int commentId]/reactions
function get repos/[string owner]/[string repo]/issues/comments/[int commentId]/reactions(map<string|string[]> headers, *ReactionsListForIssueCommentQueries queries) returns Reaction[]|errorList reactions for an issue comment
Parameters
- queries *ReactionsListForIssueCommentQueries - Queries to be sent with the request
post repos/[string owner]/[string repo]/issues/comments/[int commentId]/reactions
function post repos/[string owner]/[string repo]/issues/comments/[int commentId]/reactions(CommentIdReactionsBody1 payload, map<string|string[]> headers) returns Reaction|errorCreate reaction for an issue comment
Parameters
- payload CommentIdReactionsBody1 -
delete repos/[string owner]/[string repo]/issues/comments/[int commentId]/reactions/[int reactionId]
function delete repos/[string owner]/[string repo]/issues/comments/[int commentId]/reactions/[int reactionId](map<string|string[]> headers) returns error?Delete an issue comment reaction
Return Type
- error? - Response
get repos/[string owner]/[string repo]/issues/events
function get repos/[string owner]/[string repo]/issues/events(map<string|string[]> headers, *IssuesListEventsForRepoQueries queries) returns IssueEvent[]|errorList issue events for a repository
Parameters
- queries *IssuesListEventsForRepoQueries - Queries to be sent with the request
Return Type
- IssueEvent[]|error - Response
get repos/[string owner]/[string repo]/issues/events/[int eventId]
function get repos/[string owner]/[string repo]/issues/events/[int eventId](map<string|string[]> headers) returns IssueEvent|errorGet an issue event
Return Type
- IssueEvent|error - Response
get repos/[string owner]/[string repo]/issues/[int issueNumber]
function get repos/[string owner]/[string repo]/issues/[int issueNumber](map<string|string[]> headers) returns Issue|error?Get an issue
patch repos/[string owner]/[string repo]/issues/[int issueNumber]
function patch repos/[string owner]/[string repo]/issues/[int issueNumber](IssuesissueNumberBody payload, map<string|string[]> headers) returns Issue|errorUpdate an issue
Parameters
- payload IssuesissueNumberBody -
post repos/[string owner]/[string repo]/issues/[int issueNumber]/assignees
function post repos/[string owner]/[string repo]/issues/[int issueNumber]/assignees(IssueNumberAssigneesBody payload, map<string|string[]> headers) returns Issue|errorAdd assignees to an issue
Parameters
- payload IssueNumberAssigneesBody -
delete repos/[string owner]/[string repo]/issues/[int issueNumber]/assignees
function delete repos/[string owner]/[string repo]/issues/[int issueNumber]/assignees(IssueNumberAssigneesBody1 payload, map<string|string[]> headers) returns Issue|errorRemove assignees from an issue
Parameters
- payload IssueNumberAssigneesBody1 -
get repos/[string owner]/[string repo]/issues/[int issueNumber]/assignees/[string assignee]
function get repos/[string owner]/[string repo]/issues/[int issueNumber]/assignees/[string assignee](map<string|string[]> headers) returns error?Check if a user can be assigned to a issue
Return Type
- error? - Response if assignee can be assigned to issue_number
get repos/[string owner]/[string repo]/issues/[int issueNumber]/comments
function get repos/[string owner]/[string repo]/issues/[int issueNumber]/comments(map<string|string[]> headers, *IssuesListCommentsQueries queries) returns IssueComment[]|errorList issue comments
Parameters
- queries *IssuesListCommentsQueries - Queries to be sent with the request
Return Type
- IssueComment[]|error - Response
post repos/[string owner]/[string repo]/issues/[int issueNumber]/comments
function post repos/[string owner]/[string repo]/issues/[int issueNumber]/comments(CommentscommentIdBody1 payload, map<string|string[]> headers) returns IssueComment|errorCreate an issue comment
Parameters
- payload CommentscommentIdBody1 -
Return Type
- IssueComment|error - Response
get repos/[string owner]/[string repo]/issues/[int issueNumber]/events
function get repos/[string owner]/[string repo]/issues/[int issueNumber]/events(map<string|string[]> headers, *IssuesListEventsQueries queries) returns IssueEventForIssue[]|errorList issue events
Parameters
- queries *IssuesListEventsQueries - Queries to be sent with the request
Return Type
- IssueEventForIssue[]|error - Response
get repos/[string owner]/[string repo]/issues/[int issueNumber]/labels
function get repos/[string owner]/[string repo]/issues/[int issueNumber]/labels(map<string|string[]> headers, *IssuesListLabelsOnIssueQueries queries) returns Label[]|errorList labels for an issue
Parameters
- queries *IssuesListLabelsOnIssueQueries - Queries to be sent with the request
put repos/[string owner]/[string repo]/issues/[int issueNumber]/labels
function put repos/[string owner]/[string repo]/issues/[int issueNumber]/labels(IssueNumberLabelsBody payload, map<string|string[]> headers) returns Label[]|errorSet labels for an issue
Parameters
- payload IssueNumberLabelsBody -
post repos/[string owner]/[string repo]/issues/[int issueNumber]/labels
function post repos/[string owner]/[string repo]/issues/[int issueNumber]/labels(IssueNumberLabelsBody1 payload, map<string|string[]> headers) returns Label[]|errorAdd labels to an issue
Parameters
- payload IssueNumberLabelsBody1 -
delete repos/[string owner]/[string repo]/issues/[int issueNumber]/labels
function delete repos/[string owner]/[string repo]/issues/[int issueNumber]/labels(map<string|string[]> headers) returns error?Remove all labels from an issue
Return Type
- error? - Response
delete repos/[string owner]/[string repo]/issues/[int issueNumber]/labels/[string name]
function delete repos/[string owner]/[string repo]/issues/[int issueNumber]/labels/[string name](map<string|string[]> headers) returns Label[]|errorRemove a label from an issue
put repos/[string owner]/[string repo]/issues/[int issueNumber]/'lock
function put repos/[string owner]/[string repo]/issues/[int issueNumber]/'lock(IssueNumberLockBody payload, map<string|string[]> headers) returns error?Lock an issue
Parameters
- payload IssueNumberLockBody -
Return Type
- error? - Response
delete repos/[string owner]/[string repo]/issues/[int issueNumber]/'lock
function delete repos/[string owner]/[string repo]/issues/[int issueNumber]/'lock(map<string|string[]> headers) returns error?Unlock an issue
Return Type
- error? - Response
get repos/[string owner]/[string repo]/issues/[int issueNumber]/reactions
function get repos/[string owner]/[string repo]/issues/[int issueNumber]/reactions(map<string|string[]> headers, *ReactionsListForIssueQueries queries) returns Reaction[]|errorList reactions for an issue
Parameters
- queries *ReactionsListForIssueQueries - Queries to be sent with the request
post repos/[string owner]/[string repo]/issues/[int issueNumber]/reactions
function post repos/[string owner]/[string repo]/issues/[int issueNumber]/reactions(IssueNumberReactionsBody payload, map<string|string[]> headers) returns Reaction|errorCreate reaction for an issue
Parameters
- payload IssueNumberReactionsBody -
delete repos/[string owner]/[string repo]/issues/[int issueNumber]/reactions/[int reactionId]
function delete repos/[string owner]/[string repo]/issues/[int issueNumber]/reactions/[int reactionId](map<string|string[]> headers) returns error?Delete an issue reaction
Return Type
- error? - Response
get repos/[string owner]/[string repo]/issues/[int issueNumber]/timeline
function get repos/[string owner]/[string repo]/issues/[int issueNumber]/timeline(map<string|string[]> headers, *IssuesListEventsForTimelineQueries queries) returns TimelineIssueEvents[]|errorList timeline events for an issue
Parameters
- queries *IssuesListEventsForTimelineQueries - Queries to be sent with the request
Return Type
- TimelineIssueEvents[]|error - Response
get repos/[string owner]/[string repo]/keys
function get repos/[string owner]/[string repo]/keys(map<string|string[]> headers, *ReposListDeployKeysQueries queries) returns DeployKey[]|errorList deploy keys
Parameters
- queries *ReposListDeployKeysQueries - Queries to be sent with the request
post repos/[string owner]/[string repo]/keys
function post repos/[string owner]/[string repo]/keys(RepoKeysBody payload, map<string|string[]> headers) returns DeployKey|errorCreate a deploy key
Parameters
- payload RepoKeysBody -
get repos/[string owner]/[string repo]/keys/[int keyId]
function get repos/[string owner]/[string repo]/keys/[int keyId](map<string|string[]> headers) returns DeployKey|errorGet a deploy key
delete repos/[string owner]/[string repo]/keys/[int keyId]
function delete repos/[string owner]/[string repo]/keys/[int keyId](map<string|string[]> headers) returns error?Delete a deploy key
Return Type
- error? - Response
get repos/[string owner]/[string repo]/labels
function get repos/[string owner]/[string repo]/labels(map<string|string[]> headers, *IssuesListLabelsForRepoQueries queries) returns Label[]|errorList labels for a repository
Parameters
- queries *IssuesListLabelsForRepoQueries - Queries to be sent with the request
post repos/[string owner]/[string repo]/labels
function post repos/[string owner]/[string repo]/labels(RepoLabelsBody payload, map<string|string[]> headers) returns Label|errorCreate a label
Parameters
- payload RepoLabelsBody -
get repos/[string owner]/[string repo]/labels/[string name]
function get repos/[string owner]/[string repo]/labels/[string name](map<string|string[]> headers) returns Label|errorGet a label
delete repos/[string owner]/[string repo]/labels/[string name]
function delete repos/[string owner]/[string repo]/labels/[string name](map<string|string[]> headers) returns error?Delete a label
Return Type
- error? - Response
patch repos/[string owner]/[string repo]/labels/[string name]
function patch repos/[string owner]/[string repo]/labels/[string name](LabelsnameBody payload, map<string|string[]> headers) returns Label|errorUpdate a label
Parameters
- payload LabelsnameBody -
get repos/[string owner]/[string repo]/languages
function get repos/[string owner]/[string repo]/languages(map<string|string[]> headers) returns Language|errorList repository languages
get repos/[string owner]/[string repo]/license
function get repos/[string owner]/[string repo]/license(map<string|string[]> headers) returns LicenseContent|errorGet the license for a repository
Return Type
- LicenseContent|error - Response
post repos/[string owner]/[string repo]/merge-upstream
function post repos/[string owner]/[string repo]/merge\-upstream(RepoMergeUpstreamBody payload, map<string|string[]> headers) returns MergedUpstream|errorSync a fork branch with the upstream repository
Parameters
- payload RepoMergeUpstreamBody -
Return Type
- MergedUpstream|error - The branch has been successfully synced with the upstream repository
post repos/[string owner]/[string repo]/merges
function post repos/[string owner]/[string repo]/merges(RepoMergesBody payload, map<string|string[]> headers) returns Commit|error?Merge a branch
Parameters
- payload RepoMergesBody -
get repos/[string owner]/[string repo]/milestones
function get repos/[string owner]/[string repo]/milestones(map<string|string[]> headers, *IssuesListMilestonesQueries queries) returns Milestone[]|errorList milestones
Parameters
- queries *IssuesListMilestonesQueries - Queries to be sent with the request
post repos/[string owner]/[string repo]/milestones
function post repos/[string owner]/[string repo]/milestones(RepoMilestonesBody payload, map<string|string[]> headers) returns Milestone|errorCreate a milestone
Parameters
- payload RepoMilestonesBody -
get repos/[string owner]/[string repo]/milestones/[int milestoneNumber]
function get repos/[string owner]/[string repo]/milestones/[int milestoneNumber](map<string|string[]> headers) returns Milestone|errorGet a milestone
delete repos/[string owner]/[string repo]/milestones/[int milestoneNumber]
function delete repos/[string owner]/[string repo]/milestones/[int milestoneNumber](map<string|string[]> headers) returns error?Delete a milestone
Return Type
- error? - Response
patch repos/[string owner]/[string repo]/milestones/[int milestoneNumber]
function patch repos/[string owner]/[string repo]/milestones/[int milestoneNumber](MilestonesmilestoneNumberBody payload, map<string|string[]> headers) returns Milestone|errorUpdate a milestone
Parameters
- payload MilestonesmilestoneNumberBody -
get repos/[string owner]/[string repo]/milestones/[int milestoneNumber]/labels
function get repos/[string owner]/[string repo]/milestones/[int milestoneNumber]/labels(map<string|string[]> headers, *IssuesListLabelsForMilestoneQueries queries) returns Label[]|errorList labels for issues in a milestone
Parameters
- queries *IssuesListLabelsForMilestoneQueries - Queries to be sent with the request
get repos/[string owner]/[string repo]/notifications
function get repos/[string owner]/[string repo]/notifications(map<string|string[]> headers, *ActivityListRepoNotificationsForAuthenticatedUserQueries queries) returns NotificationThread[]|errorList repository notifications for the authenticated user
Parameters
- queries *ActivityListRepoNotificationsForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- NotificationThread[]|error - Response
put repos/[string owner]/[string repo]/notifications
function put repos/[string owner]/[string repo]/notifications(RepoNotificationsBody payload, map<string|string[]> headers) returns NotificationRead|error?Mark repository notifications as read
Parameters
- payload RepoNotificationsBody -
Return Type
- NotificationRead|error? - Response
get repos/[string owner]/[string repo]/pages
function get repos/[string owner]/[string repo]/pages(map<string|string[]> headers) returns Page|errorGet a GitHub Pages site
put repos/[string owner]/[string repo]/pages
function put repos/[string owner]/[string repo]/pages(RepoPagesBody payload, map<string|string[]> headers) returns error?Update information about a GitHub Pages site
Parameters
- payload RepoPagesBody -
Return Type
- error? - Response
post repos/[string owner]/[string repo]/pages
function post repos/[string owner]/[string repo]/pages(RepoPagesBody1 payload, map<string|string[]> headers) returns Page|errorCreate a GitHub Pages site
Parameters
- payload RepoPagesBody1 -
delete repos/[string owner]/[string repo]/pages
function delete repos/[string owner]/[string repo]/pages(map<string|string[]> headers) returns error?Delete a GitHub Pages site
Return Type
- error? - Response
get repos/[string owner]/[string repo]/pages/builds
function get repos/[string owner]/[string repo]/pages/builds(map<string|string[]> headers, *ReposListPagesBuildsQueries queries) returns PageBuild[]|errorList GitHub Pages builds
Parameters
- queries *ReposListPagesBuildsQueries - Queries to be sent with the request
post repos/[string owner]/[string repo]/pages/builds
function post repos/[string owner]/[string repo]/pages/builds(map<string|string[]> headers) returns PageBuildStatus|errorRequest a GitHub Pages build
Return Type
- PageBuildStatus|error - Response
get repos/[string owner]/[string repo]/pages/builds/latest
function get repos/[string owner]/[string repo]/pages/builds/latest(map<string|string[]> headers) returns PageBuild|errorGet latest Pages build
get repos/[string owner]/[string repo]/pages/builds/[int buildId]
function get repos/[string owner]/[string repo]/pages/builds/[int buildId](map<string|string[]> headers) returns PageBuild|errorGet GitHub Pages build
post repos/[string owner]/[string repo]/pages/deployment
function post repos/[string owner]/[string repo]/pages/deployment(PagesDeploymentBody payload, map<string|string[]> headers) returns PageDeployment|errorCreate a GitHub Pages deployment
Parameters
- payload PagesDeploymentBody -
Return Type
- PageDeployment|error - Response
get repos/[string owner]/[string repo]/pages/health
function get repos/[string owner]/[string repo]/pages/health(map<string|string[]> headers) returns PagesHealthCheck|EmptyObject|errorGet a DNS health check for GitHub Pages
Return Type
- PagesHealthCheck|EmptyObject|error - Response
put repos/[string owner]/[string repo]/private-vulnerability-reporting
function put repos/[string owner]/[string repo]/private\-vulnerability\-reporting(map<string|string[]> headers) returns error?Enable private vulnerability reporting for a repository
Return Type
- error? - A header with no content is returned
delete repos/[string owner]/[string repo]/private-vulnerability-reporting
function delete repos/[string owner]/[string repo]/private\-vulnerability\-reporting(map<string|string[]> headers) returns error?Disable private vulnerability reporting for a repository
Return Type
- error? - A header with no content is returned
get repos/[string owner]/[string repo]/projects
function get repos/[string owner]/[string repo]/projects(map<string|string[]> headers, *ProjectsListForRepoQueries queries) returns Project[]|errorList repository projects
Parameters
- queries *ProjectsListForRepoQueries - Queries to be sent with the request
post repos/[string owner]/[string repo]/projects
function post repos/[string owner]/[string repo]/projects(OrgProjectsBody payload, map<string|string[]> headers) returns Project|errorCreate a repository project
Parameters
- payload OrgProjectsBody -
get repos/[string owner]/[string repo]/pulls
function get repos/[string owner]/[string repo]/pulls(map<string|string[]> headers, *PullsListQueries queries) returns PullRequestSimple[]|error?List pull requests
Parameters
- queries *PullsListQueries - Queries to be sent with the request
Return Type
- PullRequestSimple[]|error? - Response
post repos/[string owner]/[string repo]/pulls
function post repos/[string owner]/[string repo]/pulls(RepoPullsBody payload, map<string|string[]> headers) returns PullRequest|errorCreate a pull request
Parameters
- payload RepoPullsBody -
Return Type
- PullRequest|error - Response
get repos/[string owner]/[string repo]/pulls/comments
function get repos/[string owner]/[string repo]/pulls/comments(map<string|string[]> headers, *PullsListReviewCommentsForRepoQueries queries) returns PullRequestReviewComment[]|errorList review comments in a repository
Parameters
- queries *PullsListReviewCommentsForRepoQueries - Queries to be sent with the request
Return Type
- PullRequestReviewComment[]|error - Response
get repos/[string owner]/[string repo]/pulls/comments/[int commentId]
function get repos/[string owner]/[string repo]/pulls/comments/[int commentId](map<string|string[]> headers) returns PullRequestReviewComment|errorGet a review comment for a pull request
Return Type
- PullRequestReviewComment|error - Response
delete repos/[string owner]/[string repo]/pulls/comments/[int commentId]
function delete repos/[string owner]/[string repo]/pulls/comments/[int commentId](map<string|string[]> headers) returns error?Delete a review comment for a pull request
Return Type
- error? - Response
patch repos/[string owner]/[string repo]/pulls/comments/[int commentId]
function patch repos/[string owner]/[string repo]/pulls/comments/[int commentId](CommentscommentIdBody2 payload, map<string|string[]> headers) returns PullRequestReviewComment|errorUpdate a review comment for a pull request
Parameters
- payload CommentscommentIdBody2 -
Return Type
- PullRequestReviewComment|error - Response
get repos/[string owner]/[string repo]/pulls/comments/[int commentId]/reactions
function get repos/[string owner]/[string repo]/pulls/comments/[int commentId]/reactions(map<string|string[]> headers, *ReactionsListForPullRequestReviewCommentQueries queries) returns Reaction[]|errorList reactions for a pull request review comment
Parameters
- queries *ReactionsListForPullRequestReviewCommentQueries - Queries to be sent with the request
post repos/[string owner]/[string repo]/pulls/comments/[int commentId]/reactions
function post repos/[string owner]/[string repo]/pulls/comments/[int commentId]/reactions(CommentIdReactionsBody2 payload, map<string|string[]> headers) returns Reaction|errorCreate reaction for a pull request review comment
Parameters
- payload CommentIdReactionsBody2 -
delete repos/[string owner]/[string repo]/pulls/comments/[int commentId]/reactions/[int reactionId]
function delete repos/[string owner]/[string repo]/pulls/comments/[int commentId]/reactions/[int reactionId](map<string|string[]> headers) returns error?Delete a pull request comment reaction
Return Type
- error? - Response
get repos/[string owner]/[string repo]/pulls/[int pullNumber]
function get repos/[string owner]/[string repo]/pulls/[int pullNumber](map<string|string[]> headers) returns PullRequest|error?Get a pull request
Return Type
- PullRequest|error? - Pass the appropriate media type to fetch diff and patch formats
patch repos/[string owner]/[string repo]/pulls/[int pullNumber]
function patch repos/[string owner]/[string repo]/pulls/[int pullNumber](PullspullNumberBody payload, map<string|string[]> headers) returns PullRequest|errorUpdate a pull request
Parameters
- payload PullspullNumberBody -
Return Type
- PullRequest|error - Response
post repos/[string owner]/[string repo]/pulls/[int pullNumber]/codespaces
function post repos/[string owner]/[string repo]/pulls/[int pullNumber]/codespaces(PullNumberCodespacesBody payload, map<string|string[]> headers) returns Codespace|errorCreate a codespace from a pull request
Parameters
- payload PullNumberCodespacesBody -
get repos/[string owner]/[string repo]/pulls/[int pullNumber]/comments
function get repos/[string owner]/[string repo]/pulls/[int pullNumber]/comments(map<string|string[]> headers, *PullsListReviewCommentsQueries queries) returns PullRequestReviewComment[]|errorList review comments on a pull request
Parameters
- queries *PullsListReviewCommentsQueries - Queries to be sent with the request
Return Type
- PullRequestReviewComment[]|error - Response
post repos/[string owner]/[string repo]/pulls/[int pullNumber]/comments
function post repos/[string owner]/[string repo]/pulls/[int pullNumber]/comments(PullNumberCommentsBody payload, map<string|string[]> headers) returns PullRequestReviewComment|errorCreate a review comment for a pull request
Parameters
- payload PullNumberCommentsBody -
Return Type
- PullRequestReviewComment|error - Response
post repos/[string owner]/[string repo]/pulls/[int pullNumber]/comments/[int commentId]/replies
function post repos/[string owner]/[string repo]/pulls/[int pullNumber]/comments/[int commentId]/replies(CommentIdRepliesBody payload, map<string|string[]> headers) returns PullRequestReviewComment|errorCreate a reply for a review comment
Parameters
- payload CommentIdRepliesBody -
Return Type
- PullRequestReviewComment|error - Response
get repos/[string owner]/[string repo]/pulls/[int pullNumber]/commits
function get repos/[string owner]/[string repo]/pulls/[int pullNumber]/commits(map<string|string[]> headers, *PullsListCommitsQueries queries) returns Commit[]|errorList commits on a pull request
Parameters
- queries *PullsListCommitsQueries - Queries to be sent with the request
get repos/[string owner]/[string repo]/pulls/[int pullNumber]/files
function get repos/[string owner]/[string repo]/pulls/[int pullNumber]/files(map<string|string[]> headers, *PullsListFilesQueries queries) returns DiffEntry[]|errorList pull requests files
Parameters
- queries *PullsListFilesQueries - Queries to be sent with the request
get repos/[string owner]/[string repo]/pulls/[int pullNumber]/merge
function get repos/[string owner]/[string repo]/pulls/[int pullNumber]/merge(map<string|string[]> headers) returns error?Check if a pull request has been merged
Return Type
- error? - Response if pull request has been merged
put repos/[string owner]/[string repo]/pulls/[int pullNumber]/merge
function put repos/[string owner]/[string repo]/pulls/[int pullNumber]/merge(PullNumberMergeBody payload, map<string|string[]> headers) returns PullRequestMergeResult|errorMerge a pull request
Parameters
- payload PullNumberMergeBody -
Return Type
- PullRequestMergeResult|error - if merge was successful
get repos/[string owner]/[string repo]/pulls/[int pullNumber]/requested_reviewers
function get repos/[string owner]/[string repo]/pulls/[int pullNumber]/requested_reviewers(map<string|string[]> headers) returns PullRequestReviewRequest|errorGet all requested reviewers for a pull request
Return Type
- PullRequestReviewRequest|error - Response
post repos/[string owner]/[string repo]/pulls/[int pullNumber]/requested_reviewers
function post repos/[string owner]/[string repo]/pulls/[int pullNumber]/requested_reviewers(PullNumberRequestedReviewersBody payload, map<string|string[]> headers) returns PullRequestSimple|errorRequest reviewers for a pull request
Parameters
- payload PullNumberRequestedReviewersBody -
Return Type
- PullRequestSimple|error - Response
delete repos/[string owner]/[string repo]/pulls/[int pullNumber]/requested_reviewers
function delete repos/[string owner]/[string repo]/pulls/[int pullNumber]/requested_reviewers(PullNumberRequestedReviewersBody1 payload, map<string|string[]> headers) returns PullRequestSimple|errorRemove requested reviewers from a pull request
Parameters
- payload PullNumberRequestedReviewersBody1 -
Return Type
- PullRequestSimple|error - Response
get repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews
function get repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews(map<string|string[]> headers, *PullsListReviewsQueries queries) returns PullRequestReview[]|errorList reviews for a pull request
Parameters
- queries *PullsListReviewsQueries - Queries to be sent with the request
Return Type
- PullRequestReview[]|error - The list of reviews returns in chronological order
post repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews
function post repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews(PullNumberReviewsBody payload, map<string|string[]> headers) returns PullRequestReview|errorCreate a review for a pull request
Parameters
- payload PullNumberReviewsBody -
Return Type
- PullRequestReview|error - Response
get repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews/[int reviewId]
function get repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews/[int reviewId](map<string|string[]> headers) returns PullRequestReview|errorGet a review for a pull request
Return Type
- PullRequestReview|error - Response
put repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews/[int reviewId]
function put repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews/[int reviewId](ReviewsreviewIdBody payload, map<string|string[]> headers) returns PullRequestReview|errorUpdate a review for a pull request
Parameters
- payload ReviewsreviewIdBody -
Return Type
- PullRequestReview|error - Response
delete repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews/[int reviewId]
function delete repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews/[int reviewId](map<string|string[]> headers) returns PullRequestReview|errorDelete a pending review for a pull request
Return Type
- PullRequestReview|error - Response
get repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews/[int reviewId]/comments
function get repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews/[int reviewId]/comments(map<string|string[]> headers, *PullsListCommentsForReviewQueries queries) returns ReviewComment[]|errorList comments for a pull request review
Parameters
- queries *PullsListCommentsForReviewQueries - Queries to be sent with the request
Return Type
- ReviewComment[]|error - Response
put repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews/[int reviewId]/dismissals
function put repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews/[int reviewId]/dismissals(ReviewIdDismissalsBody payload, map<string|string[]> headers) returns PullRequestReview|errorDismiss a review for a pull request
Parameters
- payload ReviewIdDismissalsBody -
Return Type
- PullRequestReview|error - Response
post repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews/[int reviewId]/events
function post repos/[string owner]/[string repo]/pulls/[int pullNumber]/reviews/[int reviewId]/events(ReviewIdEventsBody payload, map<string|string[]> headers) returns PullRequestReview|errorSubmit a review for a pull request
Parameters
- payload ReviewIdEventsBody -
Return Type
- PullRequestReview|error - Response
put repos/[string owner]/[string repo]/pulls/[int pullNumber]/update-branch
function put repos/[string owner]/[string repo]/pulls/[int pullNumber]/update\-branch(PullNumberUpdateBranchBody payload, map<string|string[]> headers) returns NotificationRead|errorUpdate a pull request branch
Parameters
- payload PullNumberUpdateBranchBody -
Return Type
- NotificationRead|error - Response
get repos/[string owner]/[string repo]/readme
function get repos/[string owner]/[string repo]/readme(map<string|string[]> headers, *ReposGetReadmeQueries queries) returns ContentFile|errorGet a repository README
Parameters
- queries *ReposGetReadmeQueries - Queries to be sent with the request
Return Type
- ContentFile|error - Response
get repos/[string owner]/[string repo]/readme/[string dir]
function get repos/[string owner]/[string repo]/readme/[string dir](map<string|string[]> headers, *ReposGetReadmeInDirectoryQueries queries) returns ContentFile|errorGet a repository README for a directory
Parameters
- queries *ReposGetReadmeInDirectoryQueries - Queries to be sent with the request
Return Type
- ContentFile|error - Response
get repos/[string owner]/[string repo]/releases
function get repos/[string owner]/[string repo]/releases(map<string|string[]> headers, *ReposListReleasesQueries queries) returns Release[]|errorList releases
Parameters
- queries *ReposListReleasesQueries - Queries to be sent with the request
post repos/[string owner]/[string repo]/releases
function post repos/[string owner]/[string repo]/releases(RepoReleasesBody payload, map<string|string[]> headers) returns Release|errorCreate a release
Parameters
- payload RepoReleasesBody -
get repos/[string owner]/[string repo]/releases/assets/[int assetId]
function get repos/[string owner]/[string repo]/releases/assets/[int assetId](map<string|string[]> headers) returns ReleaseAsset|error?Get a release asset
Return Type
- ReleaseAsset|error? - Response
delete repos/[string owner]/[string repo]/releases/assets/[int assetId]
function delete repos/[string owner]/[string repo]/releases/assets/[int assetId](map<string|string[]> headers) returns error?Delete a release asset
Return Type
- error? - Response
patch repos/[string owner]/[string repo]/releases/assets/[int assetId]
function patch repos/[string owner]/[string repo]/releases/assets/[int assetId](AssetsassetIdBody payload, map<string|string[]> headers) returns ReleaseAsset|errorUpdate a release asset
Parameters
- payload AssetsassetIdBody -
Return Type
- ReleaseAsset|error - Response
post repos/[string owner]/[string repo]/releases/generate-notes
function post repos/[string owner]/[string repo]/releases/generate\-notes(ReleasesGenerateNotesBody payload, map<string|string[]> headers) returns ReleaseNotesContent|errorGenerate release notes content for a release
Parameters
- payload ReleasesGenerateNotesBody -
Return Type
- ReleaseNotesContent|error - Name and body of generated release notes
get repos/[string owner]/[string repo]/releases/latest
function get repos/[string owner]/[string repo]/releases/latest(map<string|string[]> headers) returns Release|errorGet the latest release
get repos/[string owner]/[string repo]/releases/tags/[string tag]
function get repos/[string owner]/[string repo]/releases/tags/[string tag](map<string|string[]> headers) returns Release|errorGet a release by tag name
get repos/[string owner]/[string repo]/releases/[int releaseId]
function get repos/[string owner]/[string repo]/releases/[int releaseId](map<string|string[]> headers) returns Release|errorGet a release
Return Type
- Release|error - Note: This returns an upload_url key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource
delete repos/[string owner]/[string repo]/releases/[int releaseId]
function delete repos/[string owner]/[string repo]/releases/[int releaseId](map<string|string[]> headers) returns error?Delete a release
Return Type
- error? - Response
patch repos/[string owner]/[string repo]/releases/[int releaseId]
function patch repos/[string owner]/[string repo]/releases/[int releaseId](ReleasesreleaseIdBody payload, map<string|string[]> headers) returns Release|errorUpdate a release
Parameters
- payload ReleasesreleaseIdBody -
get repos/[string owner]/[string repo]/releases/[int releaseId]/assets
function get repos/[string owner]/[string repo]/releases/[int releaseId]/assets(map<string|string[]> headers, *ReposListReleaseAssetsQueries queries) returns ReleaseAsset[]|errorList release assets
Parameters
- queries *ReposListReleaseAssetsQueries - Queries to be sent with the request
Return Type
- ReleaseAsset[]|error - Response
post repos/[string owner]/[string repo]/releases/[int releaseId]/assets
function post repos/[string owner]/[string repo]/releases/[int releaseId]/assets(byte[] payload, map<string|string[]> headers, *ReposUploadReleaseAssetQueries queries) returns ReleaseAsset|errorUpload a release asset
Parameters
- payload byte[] -
- queries *ReposUploadReleaseAssetQueries - Queries to be sent with the request
Return Type
- ReleaseAsset|error - Response for successful upload
get repos/[string owner]/[string repo]/releases/[int releaseId]/reactions
function get repos/[string owner]/[string repo]/releases/[int releaseId]/reactions(map<string|string[]> headers, *ReactionsListForReleaseQueries queries) returns Reaction[]|errorList reactions for a release
Parameters
- queries *ReactionsListForReleaseQueries - Queries to be sent with the request
post repos/[string owner]/[string repo]/releases/[int releaseId]/reactions
function post repos/[string owner]/[string repo]/releases/[int releaseId]/reactions(ReleaseIdReactionsBody payload, map<string|string[]> headers) returns Reaction|errorCreate reaction for a release
Parameters
- payload ReleaseIdReactionsBody -
delete repos/[string owner]/[string repo]/releases/[int releaseId]/reactions/[int reactionId]
function delete repos/[string owner]/[string repo]/releases/[int releaseId]/reactions/[int reactionId](map<string|string[]> headers) returns error?Delete a release reaction
Return Type
- error? - Response
get repos/[string owner]/[string repo]/rules/branches/[string branch]
function get repos/[string owner]/[string repo]/rules/branches/[string branch](map<string|string[]> headers, *ReposGetBranchRulesQueries queries) returns RepositoryRuleDetailed[]|errorGet rules for a branch
Parameters
- queries *ReposGetBranchRulesQueries - Queries to be sent with the request
Return Type
- RepositoryRuleDetailed[]|error - Response
get repos/[string owner]/[string repo]/rulesets
function get repos/[string owner]/[string repo]/rulesets(map<string|string[]> headers, *ReposGetRepoRulesetsQueries queries) returns RepositoryRuleset[]|errorGet all repository rulesets
Parameters
- queries *ReposGetRepoRulesetsQueries - Queries to be sent with the request
Return Type
- RepositoryRuleset[]|error - Response
post repos/[string owner]/[string repo]/rulesets
function post repos/[string owner]/[string repo]/rulesets(RepoRulesetsBody payload, map<string|string[]> headers) returns RepositoryRuleset|errorCreate a repository ruleset
Parameters
- payload RepoRulesetsBody - Request body
Return Type
- RepositoryRuleset|error - Response
get repos/[string owner]/[string repo]/rulesets/rule-suites
function get repos/[string owner]/[string repo]/rulesets/rule\-suites(map<string|string[]> headers, *ReposGetRepoRuleSuitesQueries queries) returns RuleSuites|errorList repository rule suites
Parameters
- queries *ReposGetRepoRuleSuitesQueries - Queries to be sent with the request
Return Type
- RuleSuites|error - Response
get repos/[string owner]/[string repo]/rulesets/rule-suites/[int ruleSuiteId]
function get repos/[string owner]/[string repo]/rulesets/rule\-suites/[int ruleSuiteId](map<string|string[]> headers) returns RuleSuite|errorGet a repository rule suite
get repos/[string owner]/[string repo]/rulesets/[int rulesetId]
function get repos/[string owner]/[string repo]/rulesets/[int rulesetId](map<string|string[]> headers, *ReposGetRepoRulesetQueries queries) returns RepositoryRuleset|errorGet a repository ruleset
Parameters
- queries *ReposGetRepoRulesetQueries - Queries to be sent with the request
Return Type
- RepositoryRuleset|error - Response
put repos/[string owner]/[string repo]/rulesets/[int rulesetId]
function put repos/[string owner]/[string repo]/rulesets/[int rulesetId](RulesetsrulesetIdBody1 payload, map<string|string[]> headers) returns RepositoryRuleset|errorUpdate a repository ruleset
Parameters
- payload RulesetsrulesetIdBody1 - Request body
Return Type
- RepositoryRuleset|error - Response
delete repos/[string owner]/[string repo]/rulesets/[int rulesetId]
function delete repos/[string owner]/[string repo]/rulesets/[int rulesetId](map<string|string[]> headers) returns error?Delete a repository ruleset
Return Type
- error? - Response
get repos/[string owner]/[string repo]/secret-scanning/alerts
function get repos/[string owner]/[string repo]/secret\-scanning/alerts(map<string|string[]> headers, *SecretScanningListAlertsForRepoQueries queries) returns SecretScanningAlert[]|errorList secret scanning alerts for a repository
Parameters
- queries *SecretScanningListAlertsForRepoQueries - Queries to be sent with the request
Return Type
- SecretScanningAlert[]|error - Response
get repos/[string owner]/[string repo]/secret-scanning/alerts/[AlertNumber alertNumber]
function get repos/[string owner]/[string repo]/secret\-scanning/alerts/[AlertNumber alertNumber](map<string|string[]> headers) returns SecretScanningAlert|error?Get a secret scanning alert
Return Type
- SecretScanningAlert|error? - Response
patch repos/[string owner]/[string repo]/secret-scanning/alerts/[AlertNumber alertNumber]
function patch repos/[string owner]/[string repo]/secret\-scanning/alerts/[AlertNumber alertNumber](AlertsalertNumberBody2 payload, map<string|string[]> headers) returns SecretScanningAlert|errorUpdate a secret scanning alert
Parameters
- payload AlertsalertNumberBody2 -
Return Type
- SecretScanningAlert|error - Response
get repos/[string owner]/[string repo]/secret-scanning/alerts/[AlertNumber alertNumber]/locations
function get repos/[string owner]/[string repo]/secret\-scanning/alerts/[AlertNumber alertNumber]/locations(map<string|string[]> headers, *SecretScanningListLocationsForAlertQueries queries) returns SecretScanningLocation[]|errorList locations for a secret scanning alert
Parameters
- queries *SecretScanningListLocationsForAlertQueries - Queries to be sent with the request
Return Type
- SecretScanningLocation[]|error - Response
get repos/[string owner]/[string repo]/security-advisories
function get repos/[string owner]/[string repo]/security\-advisories(map<string|string[]> headers, *SecurityAdvisoriesListRepositoryAdvisoriesQueries queries) returns RepositoryAdvisory[]|errorList repository security advisories
Parameters
- queries *SecurityAdvisoriesListRepositoryAdvisoriesQueries - Queries to be sent with the request
Return Type
- RepositoryAdvisory[]|error - Response
post repos/[string owner]/[string repo]/security-advisories
function post repos/[string owner]/[string repo]/security\-advisories(RepositoryAdvisoryCreate payload, map<string|string[]> headers) returns RepositoryAdvisory|errorCreate a repository security advisory
Parameters
- payload RepositoryAdvisoryCreate -
Return Type
- RepositoryAdvisory|error - Response
post repos/[string owner]/[string repo]/security-advisories/reports
function post repos/[string owner]/[string repo]/security\-advisories/reports(PrivateVulnerabilityReportCreate payload, map<string|string[]> headers) returns RepositoryAdvisory|errorPrivately report a security vulnerability
Parameters
- payload PrivateVulnerabilityReportCreate -
Return Type
- RepositoryAdvisory|error - Response
get repos/[string owner]/[string repo]/security-advisories/[string ghsaId]
function get repos/[string owner]/[string repo]/security\-advisories/[string ghsaId](map<string|string[]> headers) returns RepositoryAdvisory|errorGet a repository security advisory
Return Type
- RepositoryAdvisory|error - Response
patch repos/[string owner]/[string repo]/security-advisories/[string ghsaId]
function patch repos/[string owner]/[string repo]/security\-advisories/[string ghsaId](RepositoryAdvisoryUpdate payload, map<string|string[]> headers) returns RepositoryAdvisory|errorUpdate a repository security advisory
Parameters
- payload RepositoryAdvisoryUpdate -
Return Type
- RepositoryAdvisory|error - Response
post repos/[string owner]/[string repo]/security-advisories/[string ghsaId]/cve
function post repos/[string owner]/[string repo]/security\-advisories/[string ghsaId]/cve(map<string|string[]> headers) returns record {}|errorRequest a CVE for a repository security advisory
Return Type
- record {}|error - Accepted
get repos/[string owner]/[string repo]/stargazers
function get repos/[string owner]/[string repo]/stargazers(map<string|string[]> headers, *ActivityListStargazersForRepoQueries queries) returns StargazerResponse|errorList stargazers
Parameters
- queries *ActivityListStargazersForRepoQueries - Queries to be sent with the request
Return Type
- StargazerResponse|error - Response
get repos/[string owner]/[string repo]/stats/code_frequency
function get repos/[string owner]/[string repo]/stats/code_frequency(map<string|string[]> headers) returns CodeFrequencyStat[]|record {}|error?Get the weekly commit activity
Return Type
- CodeFrequencyStat[]|record {}|error? - Returns a weekly aggregate of the number of additions and deletions pushed to a repository
get repos/[string owner]/[string repo]/stats/commit_activity
function get repos/[string owner]/[string repo]/stats/commit_activity(map<string|string[]> headers) returns CommitActivity[]|record {}|error?Get the last year of commit activity
Return Type
- CommitActivity[]|record {}|error? - Response
get repos/[string owner]/[string repo]/stats/contributors
function get repos/[string owner]/[string repo]/stats/contributors(map<string|string[]> headers) returns ContributorActivity[]|record {}|error?Get all contributor commit activity
Return Type
- ContributorActivity[]|record {}|error? - Response
get repos/[string owner]/[string repo]/stats/participation
function get repos/[string owner]/[string repo]/stats/participation(map<string|string[]> headers) returns ParticipationStats|errorGet the weekly commit count
Return Type
- ParticipationStats|error - The array order is oldest week (index 0) to most recent week
get repos/[string owner]/[string repo]/stats/punch_card
function get repos/[string owner]/[string repo]/stats/punch_card(map<string|string[]> headers) returns CodeFrequencyStat[]|error?Get the hourly commit count for each day
Return Type
- CodeFrequencyStat[]|error? - For example, [2, 14, 25] indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits
post repos/[string owner]/[string repo]/statuses/[string sha]
function post repos/[string owner]/[string repo]/statuses/[string sha](StatusesshaBody payload, map<string|string[]> headers) returns Status|errorCreate a commit status
Parameters
- payload StatusesshaBody -
get repos/[string owner]/[string repo]/subscribers
function get repos/[string owner]/[string repo]/subscribers(map<string|string[]> headers, *ActivityListWatchersForRepoQueries queries) returns SimpleUser[]|errorList watchers
Parameters
- queries *ActivityListWatchersForRepoQueries - Queries to be sent with the request
Return Type
- SimpleUser[]|error - Response
get repos/[string owner]/[string repo]/subscription
function get repos/[string owner]/[string repo]/subscription(map<string|string[]> headers) returns RepositorySubscription|errorGet a repository subscription
Return Type
- RepositorySubscription|error - if you subscribe to the repository
put repos/[string owner]/[string repo]/subscription
function put repos/[string owner]/[string repo]/subscription(RepoSubscriptionBody payload, map<string|string[]> headers) returns RepositorySubscription|errorSet a repository subscription
Parameters
- payload RepoSubscriptionBody -
Return Type
- RepositorySubscription|error - Response
delete repos/[string owner]/[string repo]/subscription
function delete repos/[string owner]/[string repo]/subscription(map<string|string[]> headers) returns error?Delete a repository subscription
Return Type
- error? - Response
get repos/[string owner]/[string repo]/tags
function get repos/[string owner]/[string repo]/tags(map<string|string[]> headers, *ReposListTagsQueries queries) returns Tag[]|errorList repository tags
Parameters
- queries *ReposListTagsQueries - Queries to be sent with the request
get repos/[string owner]/[string repo]/tags/protection
function get repos/[string owner]/[string repo]/tags/protection(map<string|string[]> headers) returns TagProtection[]|errorList tag protection states for a repository
Return Type
- TagProtection[]|error - Response
post repos/[string owner]/[string repo]/tags/protection
function post repos/[string owner]/[string repo]/tags/protection(TagsProtectionBody payload, map<string|string[]> headers) returns TagProtection|errorCreate a tag protection state for a repository
Parameters
- payload TagsProtectionBody -
Return Type
- TagProtection|error - Response
delete repos/[string owner]/[string repo]/tags/protection/[int tagProtectionId]
function delete repos/[string owner]/[string repo]/tags/protection/[int tagProtectionId](map<string|string[]> headers) returns error?Delete a tag protection state for a repository
Return Type
- error? - Response
get repos/[string owner]/[string repo]/tarball/[string ref]
function get repos/[string owner]/[string repo]/tarball/[string ref](map<string|string[]> headers) returns error?Download a repository archive (tar)
Return Type
- error? - Response
get repos/[string owner]/[string repo]/teams
function get repos/[string owner]/[string repo]/teams(map<string|string[]> headers, *ReposListTeamsQueries queries) returns Team[]|errorList repository teams
Parameters
- queries *ReposListTeamsQueries - Queries to be sent with the request
get repos/[string owner]/[string repo]/topics
function get repos/[string owner]/[string repo]/topics(map<string|string[]> headers, *ReposGetAllTopicsQueries queries) returns Topic|errorGet all repository topics
Parameters
- queries *ReposGetAllTopicsQueries - Queries to be sent with the request
put repos/[string owner]/[string repo]/topics
function put repos/[string owner]/[string repo]/topics(RepoTopicsBody payload, map<string|string[]> headers) returns Topic|errorReplace all repository topics
Parameters
- payload RepoTopicsBody -
get repos/[string owner]/[string repo]/traffic/clones
function get repos/[string owner]/[string repo]/traffic/clones(map<string|string[]> headers, *ReposGetClonesQueries queries) returns CloneTraffic|errorGet repository clones
Parameters
- queries *ReposGetClonesQueries - Queries to be sent with the request
Return Type
- CloneTraffic|error - Response
get repos/[string owner]/[string repo]/traffic/popular/paths
function get repos/[string owner]/[string repo]/traffic/popular/paths(map<string|string[]> headers) returns ContentTraffic[]|errorGet top referral paths
Return Type
- ContentTraffic[]|error - Response
get repos/[string owner]/[string repo]/traffic/popular/referrers
function get repos/[string owner]/[string repo]/traffic/popular/referrers(map<string|string[]> headers) returns ReferrerTraffic[]|errorGet top referral sources
Return Type
- ReferrerTraffic[]|error - Response
get repos/[string owner]/[string repo]/traffic/views
function get repos/[string owner]/[string repo]/traffic/views(map<string|string[]> headers, *ReposGetViewsQueries queries) returns ViewTraffic|errorGet page views
Parameters
- queries *ReposGetViewsQueries - Queries to be sent with the request
Return Type
- ViewTraffic|error - Response
post repos/[string owner]/[string repo]/transfer
function post repos/[string owner]/[string repo]/transfer(RepoTransferBody payload, map<string|string[]> headers) returns MinimalRepository|errorTransfer a repository
Parameters
- payload RepoTransferBody -
Return Type
- MinimalRepository|error - Response
get repos/[string owner]/[string repo]/vulnerability-alerts
function get repos/[string owner]/[string repo]/vulnerability\-alerts(map<string|string[]> headers) returns error?Check if vulnerability alerts are enabled for a repository
Return Type
- error? - Response if repository is enabled with vulnerability alerts
put repos/[string owner]/[string repo]/vulnerability-alerts
function put repos/[string owner]/[string repo]/vulnerability\-alerts(map<string|string[]> headers) returns error?Enable vulnerability alerts
Return Type
- error? - Response
delete repos/[string owner]/[string repo]/vulnerability-alerts
function delete repos/[string owner]/[string repo]/vulnerability\-alerts(map<string|string[]> headers) returns error?Disable vulnerability alerts
Return Type
- error? - Response
get repos/[string owner]/[string repo]/zipball/[string ref]
function get repos/[string owner]/[string repo]/zipball/[string ref](map<string|string[]> headers) returns error?Download a repository archive (zip)
Return Type
- error? - Response
post repos/[string templateOwner]/[string templateRepo]/generate
function post repos/[string templateOwner]/[string templateRepo]/generate(TemplateRepoGenerateBody payload, map<string|string[]> headers) returns Repository|errorCreate a repository using a template
Parameters
- payload TemplateRepoGenerateBody -
Return Type
- Repository|error - Response
get repositories
function get repositories(map<string|string[]> headers, *ReposListPublicQueries queries) returns MinimalRepository[]|error?List public repositories
Parameters
- queries *ReposListPublicQueries - Queries to be sent with the request
Return Type
- MinimalRepository[]|error? - Response
get repositories/[int repositoryId]/environments/[string environmentName]/secrets
function get repositories/[int repositoryId]/environments/[string environmentName]/secrets(map<string|string[]> headers, *ActionsListEnvironmentSecretsQueries queries) returns ActionsSecretResponse|errorList environment secrets
Parameters
- queries *ActionsListEnvironmentSecretsQueries - Queries to be sent with the request
Return Type
- ActionsSecretResponse|error - Response
get repositories/[int repositoryId]/environments/[string environmentName]/secrets/public-key
function get repositories/[int repositoryId]/environments/[string environmentName]/secrets/public\-key(map<string|string[]> headers) returns ActionsPublicKey|errorGet an environment public key
Return Type
- ActionsPublicKey|error - Response
get repositories/[int repositoryId]/environments/[string environmentName]/secrets/[string secretName]
function get repositories/[int repositoryId]/environments/[string environmentName]/secrets/[string secretName](map<string|string[]> headers) returns ActionsSecret|errorGet an environment secret
Return Type
- ActionsSecret|error - Response
put repositories/[int repositoryId]/environments/[string environmentName]/secrets/[string secretName]
function put repositories/[int repositoryId]/environments/[string environmentName]/secrets/[string secretName](SecretssecretNameBody6 payload, map<string|string[]> headers) returns EmptyObject|error?Create or update an environment secret
Parameters
- payload SecretssecretNameBody6 -
Return Type
- EmptyObject|error? - Response when creating a secret
delete repositories/[int repositoryId]/environments/[string environmentName]/secrets/[string secretName]
function delete repositories/[int repositoryId]/environments/[string environmentName]/secrets/[string secretName](map<string|string[]> headers) returns error?Delete an environment secret
Return Type
- error? - Default response
get repositories/[int repositoryId]/environments/[string environmentName]/variables
function get repositories/[int repositoryId]/environments/[string environmentName]/variables(map<string|string[]> headers, *ActionsListEnvironmentVariablesQueries queries) returns ActionsVariableResponse|errorList environment variables
Parameters
- queries *ActionsListEnvironmentVariablesQueries - Queries to be sent with the request
Return Type
- ActionsVariableResponse|error - Response
post repositories/[int repositoryId]/environments/[string environmentName]/variables
function post repositories/[int repositoryId]/environments/[string environmentName]/variables(ActionsVariablesBody1 payload, map<string|string[]> headers) returns EmptyObject|errorCreate an environment variable
Parameters
- payload ActionsVariablesBody1 -
Return Type
- EmptyObject|error - Response
get repositories/[int repositoryId]/environments/[string environmentName]/variables/[string name]
function get repositories/[int repositoryId]/environments/[string environmentName]/variables/[string name](map<string|string[]> headers) returns ActionsVariable|errorGet an environment variable
Return Type
- ActionsVariable|error - Response
delete repositories/[int repositoryId]/environments/[string environmentName]/variables/[string name]
function delete repositories/[int repositoryId]/environments/[string environmentName]/variables/[string name](map<string|string[]> headers) returns error?Delete an environment variable
Return Type
- error? - Response
patch repositories/[int repositoryId]/environments/[string environmentName]/variables/[string name]
function patch repositories/[int repositoryId]/environments/[string environmentName]/variables/[string name](VariablesnameBody1 payload, map<string|string[]> headers) returns error?Update an environment variable
Parameters
- payload VariablesnameBody1 -
Return Type
- error? - Response
get search/code
function get search/code(map<string|string[]> headers, *SearchCodeQueries queries) returns CodeSearchResultItemResponse|error?Search code
Parameters
- queries *SearchCodeQueries - Queries to be sent with the request
Return Type
- CodeSearchResultItemResponse|error? - Response
get search/commits
function get search/commits(map<string|string[]> headers, *SearchCommitsQueries queries) returns CommitSearchResultItemResponse|error?Search commits
Parameters
- queries *SearchCommitsQueries - Queries to be sent with the request
Return Type
- CommitSearchResultItemResponse|error? - Response
get search/issues
function get search/issues(map<string|string[]> headers, *SearchIssuesAndPullRequestsQueries queries) returns IssueSearchResultItemResponse|error?Search issues and pull requests
Parameters
- queries *SearchIssuesAndPullRequestsQueries - Queries to be sent with the request
Return Type
- IssueSearchResultItemResponse|error? - Response
get search/labels
function get search/labels(map<string|string[]> headers, *SearchLabelsQueries queries) returns LabelSearchResultItemResponse|error?Search labels
Parameters
- queries *SearchLabelsQueries - Queries to be sent with the request
Return Type
- LabelSearchResultItemResponse|error? - Response
get search/repositories
function get search/repositories(map<string|string[]> headers, *SearchReposQueries queries) returns RepoSearchResultItemResponse|error?Search repositories
Parameters
- queries *SearchReposQueries - Queries to be sent with the request
Return Type
- RepoSearchResultItemResponse|error? - Response
get search/topics
function get search/topics(map<string|string[]> headers, *SearchTopicsQueries queries) returns TopicSearchResultItemResponse|error?Search topics
Parameters
- queries *SearchTopicsQueries - Queries to be sent with the request
Return Type
- TopicSearchResultItemResponse|error? - Response
get search/users
function get search/users(map<string|string[]> headers, *SearchUsersQueries queries) returns UserSearchResultItemResponse|error?Search users
Parameters
- queries *SearchUsersQueries - Queries to be sent with the request
Return Type
- UserSearchResultItemResponse|error? - Response
get teams/[int teamId]
Get a team (Legacy)
Deprecated
delete teams/[int teamId]
Delete a team (Legacy)
Return Type
- error? - Response
Deprecated
patch teams/[int teamId]
function patch teams/[int teamId](TeamsteamIdBody payload, map<string|string[]> headers) returns TeamFull|errorUpdate a team (Legacy)
Parameters
- payload TeamsteamIdBody -
Deprecated
get teams/[int teamId]/discussions
function get teams/[int teamId]/discussions(map<string|string[]> headers, *TeamsListDiscussionsLegacyQueries queries) returns TeamDiscussion[]|errorList discussions (Legacy)
Parameters
- queries *TeamsListDiscussionsLegacyQueries - Queries to be sent with the request
Return Type
- TeamDiscussion[]|error - Response
Deprecated
post teams/[int teamId]/discussions
function post teams/[int teamId]/discussions(TeamSlugDiscussionsBody payload, map<string|string[]> headers) returns TeamDiscussion|errorCreate a discussion (Legacy)
Parameters
- payload TeamSlugDiscussionsBody -
Return Type
- TeamDiscussion|error - Response
Deprecated
get teams/[int teamId]/discussions/[int discussionNumber]
function get teams/[int teamId]/discussions/[int discussionNumber](map<string|string[]> headers) returns TeamDiscussion|errorGet a discussion (Legacy)
Return Type
- TeamDiscussion|error - Response
Deprecated
delete teams/[int teamId]/discussions/[int discussionNumber]
function delete teams/[int teamId]/discussions/[int discussionNumber](map<string|string[]> headers) returns error?Delete a discussion (Legacy)
Return Type
- error? - Response
Deprecated
patch teams/[int teamId]/discussions/[int discussionNumber]
function patch teams/[int teamId]/discussions/[int discussionNumber](DiscussionsdiscussionNumberBody payload, map<string|string[]> headers) returns TeamDiscussion|errorUpdate a discussion (Legacy)
Parameters
- payload DiscussionsdiscussionNumberBody -
Return Type
- TeamDiscussion|error - Response
Deprecated
get teams/[int teamId]/discussions/[int discussionNumber]/comments
function get teams/[int teamId]/discussions/[int discussionNumber]/comments(map<string|string[]> headers, *TeamsListDiscussionCommentsLegacyQueries queries) returns TeamDiscussionComment[]|errorList discussion comments (Legacy)
Parameters
- queries *TeamsListDiscussionCommentsLegacyQueries - Queries to be sent with the request
Return Type
- TeamDiscussionComment[]|error - Response
Deprecated
post teams/[int teamId]/discussions/[int discussionNumber]/comments
function post teams/[int teamId]/discussions/[int discussionNumber]/comments(DiscussionNumberCommentsBody payload, map<string|string[]> headers) returns TeamDiscussionComment|errorCreate a discussion comment (Legacy)
Parameters
- payload DiscussionNumberCommentsBody -
Return Type
- TeamDiscussionComment|error - Response
Deprecated
get teams/[int teamId]/discussions/[int discussionNumber]/comments/[int commentNumber]
function get teams/[int teamId]/discussions/[int discussionNumber]/comments/[int commentNumber](map<string|string[]> headers) returns TeamDiscussionComment|errorGet a discussion comment (Legacy)
Return Type
- TeamDiscussionComment|error - Response
Deprecated
delete teams/[int teamId]/discussions/[int discussionNumber]/comments/[int commentNumber]
function delete teams/[int teamId]/discussions/[int discussionNumber]/comments/[int commentNumber](map<string|string[]> headers) returns error?Delete a discussion comment (Legacy)
Return Type
- error? - Response
Deprecated
patch teams/[int teamId]/discussions/[int discussionNumber]/comments/[int commentNumber]
function patch teams/[int teamId]/discussions/[int discussionNumber]/comments/[int commentNumber](DiscussionNumberCommentsBody payload, map<string|string[]> headers) returns TeamDiscussionComment|errorUpdate a discussion comment (Legacy)
Parameters
- payload DiscussionNumberCommentsBody -
Return Type
- TeamDiscussionComment|error - Response
Deprecated
get teams/[int teamId]/discussions/[int discussionNumber]/comments/[int commentNumber]/reactions
function get teams/[int teamId]/discussions/[int discussionNumber]/comments/[int commentNumber]/reactions(map<string|string[]> headers, *ReactionsListForTeamDiscussionCommentLegacyQueries queries) returns Reaction[]|errorList reactions for a team discussion comment (Legacy)
Parameters
- queries *ReactionsListForTeamDiscussionCommentLegacyQueries - Queries to be sent with the request
Deprecated
post teams/[int teamId]/discussions/[int discussionNumber]/comments/[int commentNumber]/reactions
function post teams/[int teamId]/discussions/[int discussionNumber]/comments/[int commentNumber]/reactions(CommentNumberReactionsBody payload, map<string|string[]> headers) returns Reaction|errorCreate reaction for a team discussion comment (Legacy)
Parameters
- payload CommentNumberReactionsBody -
Deprecated
get teams/[int teamId]/discussions/[int discussionNumber]/reactions
function get teams/[int teamId]/discussions/[int discussionNumber]/reactions(map<string|string[]> headers, *ReactionsListForTeamDiscussionLegacyQueries queries) returns Reaction[]|errorList reactions for a team discussion (Legacy)
Parameters
- queries *ReactionsListForTeamDiscussionLegacyQueries - Queries to be sent with the request
Deprecated
post teams/[int teamId]/discussions/[int discussionNumber]/reactions
function post teams/[int teamId]/discussions/[int discussionNumber]/reactions(DiscussionNumberReactionsBody payload, map<string|string[]> headers) returns Reaction|errorCreate reaction for a team discussion (Legacy)
Parameters
- payload DiscussionNumberReactionsBody -
Deprecated
get teams/[int teamId]/invitations
function get teams/[int teamId]/invitations(map<string|string[]> headers, *TeamsListPendingInvitationsLegacyQueries queries) returns OrganizationInvitation[]|errorList pending team invitations (Legacy)
Parameters
- queries *TeamsListPendingInvitationsLegacyQueries - Queries to be sent with the request
Return Type
- OrganizationInvitation[]|error - Response
Deprecated
get teams/[int teamId]/members
function get teams/[int teamId]/members(map<string|string[]> headers, *TeamsListMembersLegacyQueries queries) returns SimpleUser[]|errorList team members (Legacy)
Parameters
- queries *TeamsListMembersLegacyQueries - Queries to be sent with the request
Return Type
- SimpleUser[]|error - Response
Deprecated
get teams/[int teamId]/members/[string username]
function get teams/[int teamId]/members/[string username](map<string|string[]> headers) returns error?Get team member (Legacy)
Return Type
- error? - if user is a member
Deprecated
put teams/[int teamId]/members/[string username]
function put teams/[int teamId]/members/[string username](map<string|string[]> headers) returns error?Add team member (Legacy)
Return Type
- error? - Response
Deprecated
delete teams/[int teamId]/members/[string username]
function delete teams/[int teamId]/members/[string username](map<string|string[]> headers) returns error?Remove team member (Legacy)
Return Type
- error? - Response
Deprecated
get teams/[int teamId]/memberships/[string username]
function get teams/[int teamId]/memberships/[string username](map<string|string[]> headers) returns TeamMembership|errorGet team membership for a user (Legacy)
Return Type
- TeamMembership|error - Response
Deprecated
put teams/[int teamId]/memberships/[string username]
function put teams/[int teamId]/memberships/[string username](MembershipsusernameBody1 payload, map<string|string[]> headers) returns TeamMembership|errorAdd or update team membership for a user (Legacy)
Parameters
- payload MembershipsusernameBody1 -
Return Type
- TeamMembership|error - Response
Deprecated
delete teams/[int teamId]/memberships/[string username]
function delete teams/[int teamId]/memberships/[string username](map<string|string[]> headers) returns error?Remove team membership for a user (Legacy)
Return Type
- error? - Response
Deprecated
get teams/[int teamId]/projects
function get teams/[int teamId]/projects(map<string|string[]> headers, *TeamsListProjectsLegacyQueries queries) returns TeamProject[]|errorList team projects (Legacy)
Parameters
- queries *TeamsListProjectsLegacyQueries - Queries to be sent with the request
Return Type
- TeamProject[]|error - Response
Deprecated
get teams/[int teamId]/projects/[int projectId]
function get teams/[int teamId]/projects/[int projectId](map<string|string[]> headers) returns TeamProject|errorCheck team permissions for a project (Legacy)
Return Type
- TeamProject|error - Response
Deprecated
put teams/[int teamId]/projects/[int projectId]
function put teams/[int teamId]/projects/[int projectId](ProjectsprojectIdBody2 payload, map<string|string[]> headers) returns error?Add or update team project permissions (Legacy)
Parameters
- payload ProjectsprojectIdBody2 -
Return Type
- error? - Response
Deprecated
delete teams/[int teamId]/projects/[int projectId]
function delete teams/[int teamId]/projects/[int projectId](map<string|string[]> headers) returns error?Remove a project from a team (Legacy)
Return Type
- error? - Response
Deprecated
get teams/[int teamId]/repos
function get teams/[int teamId]/repos(map<string|string[]> headers, *TeamsListReposLegacyQueries queries) returns MinimalRepository[]|errorList team repositories (Legacy)
Parameters
- queries *TeamsListReposLegacyQueries - Queries to be sent with the request
Return Type
- MinimalRepository[]|error - Response
Deprecated
get teams/[int teamId]/repos/[string owner]/[string repo]
function get teams/[int teamId]/repos/[string owner]/[string repo](map<string|string[]> headers) returns TeamRepository|error?Check team permissions for a repository (Legacy)
Return Type
- TeamRepository|error? - Alternative response with extra repository information
Deprecated
put teams/[int teamId]/repos/[string owner]/[string repo]
function put teams/[int teamId]/repos/[string owner]/[string repo](OwnerrepoBody2 payload, map<string|string[]> headers) returns error?Add or update team repository permissions (Legacy)
Parameters
- payload OwnerrepoBody2 -
Return Type
- error? - Response
Deprecated
delete teams/[int teamId]/repos/[string owner]/[string repo]
function delete teams/[int teamId]/repos/[string owner]/[string repo](map<string|string[]> headers) returns error?Remove a repository from a team (Legacy)
Return Type
- error? - Response
Deprecated
get teams/[int teamId]/teams
function get teams/[int teamId]/teams(map<string|string[]> headers, *TeamsListChildLegacyQueries queries) returns Team[]|errorList child teams (Legacy)
Parameters
- queries *TeamsListChildLegacyQueries - Queries to be sent with the request
Deprecated
get user
function get user(map<string|string[]> headers) returns UserResponse|error?Get the authenticated user
Return Type
- UserResponse|error? - Response
patch user
Update the authenticated user
Parameters
- payload UserBody -
Return Type
- PrivateUser|error? - Response
get user/blocks
function get user/blocks(map<string|string[]> headers, *UsersListBlockedByAuthenticatedUserQueries queries) returns SimpleUser[]|error?List users blocked by the authenticated user
Parameters
- queries *UsersListBlockedByAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- SimpleUser[]|error? - Response
get user/blocks/[string username]
Check if a user is blocked by the authenticated user
Return Type
- error? - If the user is blocked
put user/blocks/[string username]
Block a user
Return Type
- error? - Response
delete user/blocks/[string username]
Unblock a user
Return Type
- error? - Response
get user/codespaces
function get user/codespaces(map<string|string[]> headers, *CodespacesListForAuthenticatedUserQueries queries) returns CodespaceResponse|error?List codespaces for the authenticated user
Parameters
- queries *CodespacesListForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- CodespaceResponse|error? - Response
post user/codespaces
function post user/codespaces(UserCodespacesBody payload, map<string|string[]> headers) returns Codespace|errorCreate a codespace for the authenticated user
Parameters
- payload UserCodespacesBody -
get user/codespaces/secrets
function get user/codespaces/secrets(map<string|string[]> headers, *CodespacesListSecretsForAuthenticatedUserQueries queries) returns CodespacesSecretResponse|errorList secrets for the authenticated user
Parameters
- queries *CodespacesListSecretsForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- CodespacesSecretResponse|error - Response
get user/codespaces/secrets/public-key
function get user/codespaces/secrets/public\-key(map<string|string[]> headers) returns CodespacesUserPublicKey|errorGet public key for the authenticated user
Return Type
- CodespacesUserPublicKey|error - Response
get user/codespaces/secrets/[string secretName]
function get user/codespaces/secrets/[string secretName](map<string|string[]> headers) returns CodespacesSecret|errorGet a secret for the authenticated user
Return Type
- CodespacesSecret|error - Response
put user/codespaces/secrets/[string secretName]
function put user/codespaces/secrets/[string secretName](SecretssecretNameBody7 payload, map<string|string[]> headers) returns EmptyObject|error?Create or update a secret for the authenticated user
Parameters
- payload SecretssecretNameBody7 -
Return Type
- EmptyObject|error? - Response after successfully creating a secret
delete user/codespaces/secrets/[string secretName]
function delete user/codespaces/secrets/[string secretName](map<string|string[]> headers) returns error?Delete a secret for the authenticated user
Return Type
- error? - Response
get user/codespaces/secrets/[string secretName]/repositories
function get user/codespaces/secrets/[string secretName]/repositories(map<string|string[]> headers) returns MinimalRepositoryResponse|errorList selected repositories for a user secret
Return Type
- MinimalRepositoryResponse|error - Response
put user/codespaces/secrets/[string secretName]/repositories
function put user/codespaces/secrets/[string secretName]/repositories(SecretNameRepositoriesBody3 payload, map<string|string[]> headers) returns error?Set selected repositories for a user secret
Parameters
- payload SecretNameRepositoriesBody3 -
Return Type
- error? - No Content when repositories were added to the selected list
put user/codespaces/secrets/[string secretName]/repositories/[int repositoryId]
function put user/codespaces/secrets/[string secretName]/repositories/[int repositoryId](map<string|string[]> headers) returns error?Add a selected repository to a user secret
Return Type
- error? - No Content when repository was added to the selected list
delete user/codespaces/secrets/[string secretName]/repositories/[int repositoryId]
function delete user/codespaces/secrets/[string secretName]/repositories/[int repositoryId](map<string|string[]> headers) returns error?Remove a selected repository from a user secret
Return Type
- error? - No Content when repository was removed from the selected list
get user/codespaces/[string codespaceName]
function get user/codespaces/[string codespaceName](map<string|string[]> headers) returns Codespace|error?Get a codespace for the authenticated user
delete user/codespaces/[string codespaceName]
function delete user/codespaces/[string codespaceName](map<string|string[]> headers) returns record {}|error?Delete a codespace for the authenticated user
Return Type
- record {}|error? - Accepted
patch user/codespaces/[string codespaceName]
function patch user/codespaces/[string codespaceName](CodespacescodespaceNameBody payload, map<string|string[]> headers) returns Codespace|errorUpdate a codespace for the authenticated user
Parameters
- payload CodespacescodespaceNameBody -
post user/codespaces/[string codespaceName]/exports
function post user/codespaces/[string codespaceName]/exports(map<string|string[]> headers) returns CodespaceExportDetails|errorExport a codespace for the authenticated user
Return Type
- CodespaceExportDetails|error - Response
get user/codespaces/[string codespaceName]/exports/[string exportId]
function get user/codespaces/[string codespaceName]/exports/[string exportId](map<string|string[]> headers) returns CodespaceExportDetails|errorGet details about a codespace export
Return Type
- CodespaceExportDetails|error - Response
get user/codespaces/[string codespaceName]/machines
function get user/codespaces/[string codespaceName]/machines(map<string|string[]> headers) returns CodespaceMachineResponse|error?List machine types for a codespace
Return Type
- CodespaceMachineResponse|error? - Response
post user/codespaces/[string codespaceName]/publish
function post user/codespaces/[string codespaceName]/publish(CodespaceNamePublishBody payload, map<string|string[]> headers) returns CodespaceWithFullRepository|errorCreate a repository from an unpublished codespace
Parameters
- payload CodespaceNamePublishBody -
Return Type
- CodespaceWithFullRepository|error - Response
post user/codespaces/[string codespaceName]/'start
function post user/codespaces/[string codespaceName]/'start(map<string|string[]> headers) returns Codespace|error?Start a codespace for the authenticated user
post user/codespaces/[string codespaceName]/stop
function post user/codespaces/[string codespaceName]/stop(map<string|string[]> headers) returns Codespace|errorStop a codespace for the authenticated user
get user/docker/conflicts
Get list of conflicting packages during Docker migration for authenticated-user
patch user/email/visibility
function patch user/email/visibility(EmailVisibilityBody payload, map<string|string[]> headers) returns Email[]|error?Set primary email visibility for the authenticated user
Parameters
- payload EmailVisibilityBody -
get user/emails
function get user/emails(map<string|string[]> headers, *UsersListEmailsForAuthenticatedUserQueries queries) returns Email[]|error?List email addresses for the authenticated user
Parameters
- queries *UsersListEmailsForAuthenticatedUserQueries - Queries to be sent with the request
post user/emails
function post user/emails(UserEmailsBody payload, map<string|string[]> headers) returns Email[]|error?Add an email address for the authenticated user
Parameters
- payload UserEmailsBody -
delete user/emails
function delete user/emails(UserEmailsBody1 payload, map<string|string[]> headers) returns error?Delete an email address for the authenticated user
Parameters
- payload UserEmailsBody1 -
Return Type
- error? - Response
get user/followers
function get user/followers(map<string|string[]> headers, *UsersListFollowersForAuthenticatedUserQueries queries) returns SimpleUser[]|error?List followers of the authenticated user
Parameters
- queries *UsersListFollowersForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- SimpleUser[]|error? - Response
get user/following
function get user/following(map<string|string[]> headers, *UsersListFollowedByAuthenticatedUserQueries queries) returns SimpleUser[]|error?List the people the authenticated user follows
Parameters
- queries *UsersListFollowedByAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- SimpleUser[]|error? - Response
get user/following/[string username]
Check if a person is followed by the authenticated user
Return Type
- error? - if the person is followed by the authenticated user
put user/following/[string username]
Follow a user
Return Type
- error? - Response
delete user/following/[string username]
Unfollow a user
Return Type
- error? - Response
get user/gpg_keys
function get user/gpg_keys(map<string|string[]> headers, *UsersListGpgKeysForAuthenticatedUserQueries queries) returns GpgKey[]|error?List GPG keys for the authenticated user
Parameters
- queries *UsersListGpgKeysForAuthenticatedUserQueries - Queries to be sent with the request
post user/gpg_keys
function post user/gpg_keys(UserGpgKeysBody payload, map<string|string[]> headers) returns GpgKey|error?Create a GPG key for the authenticated user
Parameters
- payload UserGpgKeysBody -
get user/gpg_keys/[int gpgKeyId]
Get a GPG key for the authenticated user
delete user/gpg_keys/[int gpgKeyId]
Delete a GPG key for the authenticated user
Return Type
- error? - Response
get user/installations
function get user/installations(map<string|string[]> headers, *AppsListInstallationsForAuthenticatedUserQueries queries) returns InstallationResponse|error?List app installations accessible to the user access token
Parameters
- queries *AppsListInstallationsForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- InstallationResponse|error? - You can find the permissions for the installation under the permissions key
get user/installations/[int installationId]/repositories
function get user/installations/[int installationId]/repositories(map<string|string[]> headers, *AppsListInstallationReposForAuthenticatedUserQueries queries) returns RepositoryResponse|error?List repositories accessible to the user access token
Parameters
- queries *AppsListInstallationReposForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- RepositoryResponse|error? - The access the user has to each repository is included in the hash under the permissions key
put user/installations/[int installationId]/repositories/[int repositoryId]
function put user/installations/[int installationId]/repositories/[int repositoryId](map<string|string[]> headers) returns error?Add a repository to an app installation
Return Type
- error? - Response
delete user/installations/[int installationId]/repositories/[int repositoryId]
function delete user/installations/[int installationId]/repositories/[int repositoryId](map<string|string[]> headers) returns error?Remove a repository from an app installation
Return Type
- error? - Response
get user/interaction-limits
function get user/interaction\-limits(map<string|string[]> headers) returns InteractionLimitResponseAny|error?Get interaction restrictions for your public repositories
Return Type
- InteractionLimitResponseAny|error? - Default response
put user/interaction-limits
function put user/interaction\-limits(InteractionLimit payload, map<string|string[]> headers) returns InteractionLimitResponse|errorSet interaction restrictions for your public repositories
Parameters
- payload InteractionLimit -
Return Type
- InteractionLimitResponse|error - Response
delete user/interaction-limits
Remove interaction restrictions from your public repositories
Return Type
- error? - Response
get user/issues
function get user/issues(map<string|string[]> headers, *IssuesListForAuthenticatedUserQueries queries) returns Issue[]|error?List user account issues assigned to the authenticated user
Parameters
- queries *IssuesListForAuthenticatedUserQueries - Queries to be sent with the request
get user/keys
function get user/keys(map<string|string[]> headers, *UsersListPublicSshKeysForAuthenticatedUserQueries queries) returns Key[]|error?List public SSH keys for the authenticated user
Parameters
- queries *UsersListPublicSshKeysForAuthenticatedUserQueries - Queries to be sent with the request
post user/keys
Create a public SSH key for the authenticated user
Parameters
- payload UserKeysBody -
get user/keys/[int keyId]
Get a public SSH key for the authenticated user
delete user/keys/[int keyId]
Delete a public SSH key for the authenticated user
Return Type
- error? - Response
get user/marketplace_purchases
function get user/marketplace_purchases(map<string|string[]> headers, *AppsListSubscriptionsForAuthenticatedUserQueries queries) returns UserMarketplacePurchase[]|error?List subscriptions for the authenticated user
Parameters
- queries *AppsListSubscriptionsForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- UserMarketplacePurchase[]|error? - Response
get user/marketplace_purchases/stubbed
function get user/marketplace_purchases/stubbed(map<string|string[]> headers, *AppsListSubscriptionsForAuthenticatedUserStubbedQueries queries) returns UserMarketplacePurchase[]|error?List subscriptions for the authenticated user (stubbed)
Parameters
- queries *AppsListSubscriptionsForAuthenticatedUserStubbedQueries - Queries to be sent with the request
Return Type
- UserMarketplacePurchase[]|error? - Response
get user/memberships/orgs
function get user/memberships/orgs(map<string|string[]> headers, *OrgsListMembershipsForAuthenticatedUserQueries queries) returns OrgMembership[]|error?List organization memberships for the authenticated user
Parameters
- queries *OrgsListMembershipsForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- OrgMembership[]|error? - Response
get user/memberships/orgs/[string org]
function get user/memberships/orgs/[string org](map<string|string[]> headers) returns OrgMembership|errorGet an organization membership for the authenticated user
Return Type
- OrgMembership|error - Response
patch user/memberships/orgs/[string org]
function patch user/memberships/orgs/[string org](OrgsorgBody1 payload, map<string|string[]> headers) returns OrgMembership|errorUpdate an organization membership for the authenticated user
Parameters
- payload OrgsorgBody1 -
Return Type
- OrgMembership|error - Response
get user/migrations
function get user/migrations(map<string|string[]> headers, *MigrationsListForAuthenticatedUserQueries queries) returns Migration[]|error?List user migrations
Parameters
- queries *MigrationsListForAuthenticatedUserQueries - Queries to be sent with the request
post user/migrations
function post user/migrations(UserMigrationsBody payload, map<string|string[]> headers) returns Migration|error?Start a user migration
Parameters
- payload UserMigrationsBody -
get user/migrations/[int migrationId]
function get user/migrations/[int migrationId](map<string|string[]> headers, *MigrationsGetStatusForAuthenticatedUserQueries queries) returns Migration|error?Get a user migration status
Parameters
- queries *MigrationsGetStatusForAuthenticatedUserQueries - Queries to be sent with the request
get user/migrations/[int migrationId]/archive
Download a user migration archive
Return Type
- error? - Response
delete user/migrations/[int migrationId]/archive
function delete user/migrations/[int migrationId]/archive(map<string|string[]> headers) returns error?Delete a user migration archive
Return Type
- error? - Response
delete user/migrations/[int migrationId]/repos/[string repoName]/'lock
function delete user/migrations/[int migrationId]/repos/[string repoName]/'lock(map<string|string[]> headers) returns error?Unlock a user repository
Return Type
- error? - Response
get user/migrations/[int migrationId]/repositories
function get user/migrations/[int migrationId]/repositories(map<string|string[]> headers, *MigrationsListReposForAuthenticatedUserQueries queries) returns MinimalRepository[]|errorList repositories for a user migration
Parameters
- queries *MigrationsListReposForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- MinimalRepository[]|error - Response
get user/orgs
function get user/orgs(map<string|string[]> headers, *OrgsListForAuthenticatedUserQueries queries) returns OrganizationSimple[]|error?List organizations for the authenticated user
Parameters
- queries *OrgsListForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- OrganizationSimple[]|error? - Response
get user/packages
function get user/packages(map<string|string[]> headers, *PackagesListPackagesForAuthenticatedUserQueries queries) returns Package[]|errorList packages for the authenticated user's namespace
Parameters
- queries *PackagesListPackagesForAuthenticatedUserQueries - Queries to be sent with the request
get user/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]
function get user/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName](map<string|string[]> headers) returns Package|errorGet a package for the authenticated user
delete user/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]
function delete user/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName](map<string|string[]> headers) returns error?Delete a package for the authenticated user
Return Type
- error? - Response
post user/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/restore
function post user/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/restore(map<string|string[]> headers, *PackagesRestorePackageForAuthenticatedUserQueries queries) returns error?Restore a package for the authenticated user
Parameters
- queries *PackagesRestorePackageForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- error? - Response
get user/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions
function get user/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions(map<string|string[]> headers, *PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserQueries queries) returns PackageVersion[]|errorList package versions for a package owned by the authenticated user
Parameters
- queries *PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- PackageVersion[]|error - Response
get user/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId]
function get user/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId](map<string|string[]> headers) returns PackageVersion|errorGet a package version for the authenticated user
Return Type
- PackageVersion|error - Response
delete user/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId]
function delete user/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId](map<string|string[]> headers) returns error?Delete a package version for the authenticated user
Return Type
- error? - Response
post user/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId]/restore
function post user/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId]/restore(map<string|string[]> headers) returns error?Restore a package version for the authenticated user
Return Type
- error? - Response
post user/projects
function post user/projects(UserProjectsBody payload, map<string|string[]> headers) returns Project|error?Create a user project
Parameters
- payload UserProjectsBody -
get user/public_emails
function get user/public_emails(map<string|string[]> headers, *UsersListPublicEmailsForAuthenticatedUserQueries queries) returns Email[]|error?List public email addresses for the authenticated user
Parameters
- queries *UsersListPublicEmailsForAuthenticatedUserQueries - Queries to be sent with the request
get user/repos
function get user/repos(map<string|string[]> headers, *ReposListForAuthenticatedUserQueries queries) returns Repository[]|error?List repositories for the authenticated user
Parameters
- queries *ReposListForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- Repository[]|error? - Response
post user/repos
function post user/repos(UserReposBody payload, map<string|string[]> headers) returns Repository|error?Create a repository for the authenticated user
Parameters
- payload UserReposBody -
Return Type
- Repository|error? - Response
get user/repository_invitations
function get user/repository_invitations(map<string|string[]> headers, *ReposListInvitationsForAuthenticatedUserQueries queries) returns RepositoryInvitation[]|error?List repository invitations for the authenticated user
Parameters
- queries *ReposListInvitationsForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- RepositoryInvitation[]|error? - Response
delete user/repository_invitations/[int invitationId]
function delete user/repository_invitations/[int invitationId](map<string|string[]> headers) returns error?Decline a repository invitation
Return Type
- error? - Response
patch user/repository_invitations/[int invitationId]
function patch user/repository_invitations/[int invitationId](map<string|string[]> headers) returns error?Accept a repository invitation
Return Type
- error? - Response
get user/social_accounts
function get user/social_accounts(map<string|string[]> headers, *UsersListSocialAccountsForAuthenticatedUserQueries queries) returns SocialAccount[]|error?List social accounts for the authenticated user
Parameters
- queries *UsersListSocialAccountsForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- SocialAccount[]|error? - Response
post user/social_accounts
function post user/social_accounts(UserSocialAccountsBody payload, map<string|string[]> headers) returns SocialAccount[]|error?Add social accounts for the authenticated user
Parameters
- payload UserSocialAccountsBody -
Return Type
- SocialAccount[]|error? - Response
delete user/social_accounts
function delete user/social_accounts(UserSocialAccountsBody1 payload, map<string|string[]> headers) returns error?Delete social accounts for the authenticated user
Parameters
- payload UserSocialAccountsBody1 -
Return Type
- error? - Response
get user/ssh_signing_keys
function get user/ssh_signing_keys(map<string|string[]> headers, *UsersListSshSigningKeysForAuthenticatedUserQueries queries) returns SshSigningKey[]|error?List SSH signing keys for the authenticated user
Parameters
- queries *UsersListSshSigningKeysForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- SshSigningKey[]|error? - Response
post user/ssh_signing_keys
function post user/ssh_signing_keys(UserSshSigningKeysBody payload, map<string|string[]> headers) returns SshSigningKey|error?Create a SSH signing key for the authenticated user
Parameters
- payload UserSshSigningKeysBody -
Return Type
- SshSigningKey|error? - Response
get user/ssh_signing_keys/[int sshSigningKeyId]
function get user/ssh_signing_keys/[int sshSigningKeyId](map<string|string[]> headers) returns SshSigningKey|error?Get an SSH signing key for the authenticated user
Return Type
- SshSigningKey|error? - Response
delete user/ssh_signing_keys/[int sshSigningKeyId]
function delete user/ssh_signing_keys/[int sshSigningKeyId](map<string|string[]> headers) returns error?Delete an SSH signing key for the authenticated user
Return Type
- error? - Response
get user/starred
function get user/starred(map<string|string[]> headers, *ActivityListReposStarredByAuthenticatedUserQueries queries) returns Repository[]|error?List repositories starred by the authenticated user
Parameters
- queries *ActivityListReposStarredByAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- Repository[]|error? - Response
get user/starred/[string owner]/[string repo]
Check if a repository is starred by the authenticated user
Return Type
- error? - Response if this repository is starred by you
put user/starred/[string owner]/[string repo]
Star a repository for the authenticated user
Return Type
- error? - Response
delete user/starred/[string owner]/[string repo]
function delete user/starred/[string owner]/[string repo](map<string|string[]> headers) returns error?Unstar a repository for the authenticated user
Return Type
- error? - Response
get user/subscriptions
function get user/subscriptions(map<string|string[]> headers, *ActivityListWatchedReposForAuthenticatedUserQueries queries) returns MinimalRepository[]|error?List repositories watched by the authenticated user
Parameters
- queries *ActivityListWatchedReposForAuthenticatedUserQueries - Queries to be sent with the request
Return Type
- MinimalRepository[]|error? - Response
get user/teams
function get user/teams(map<string|string[]> headers, *TeamsListForAuthenticatedUserQueries queries) returns TeamFull[]|error?List teams for the authenticated user
Parameters
- queries *TeamsListForAuthenticatedUserQueries - Queries to be sent with the request
get users
function get users(map<string|string[]> headers, *UsersListQueries queries) returns SimpleUser[]|error?List users
Parameters
- queries *UsersListQueries - Queries to be sent with the request
Return Type
- SimpleUser[]|error? - Response
get users/[string username]
function get users/[string username](map<string|string[]> headers) returns UserResponse|errorGet a user
Return Type
- UserResponse|error - Response
get users/[string username]/docker/conflicts
function get users/[string username]/docker/conflicts(map<string|string[]> headers) returns Package[]|errorGet list of conflicting packages during Docker migration for user
get users/[string username]/events
function get users/[string username]/events(map<string|string[]> headers, *ActivityListEventsForAuthenticatedUserQueries queries) returns Event[]|errorList events for the authenticated user
Parameters
- queries *ActivityListEventsForAuthenticatedUserQueries - Queries to be sent with the request
get users/[string username]/events/orgs/[string org]
function get users/[string username]/events/orgs/[string org](map<string|string[]> headers, *ActivityListOrgEventsForAuthenticatedUserQueries queries) returns Event[]|errorList organization events for the authenticated user
Parameters
- queries *ActivityListOrgEventsForAuthenticatedUserQueries - Queries to be sent with the request
get users/[string username]/events/'public
function get users/[string username]/events/'public(map<string|string[]> headers, *ActivityListPublicEventsForUserQueries queries) returns Event[]|errorList public events for a user
Parameters
- queries *ActivityListPublicEventsForUserQueries - Queries to be sent with the request
get users/[string username]/followers
function get users/[string username]/followers(map<string|string[]> headers, *UsersListFollowersForUserQueries queries) returns SimpleUser[]|errorList followers of a user
Parameters
- queries *UsersListFollowersForUserQueries - Queries to be sent with the request
Return Type
- SimpleUser[]|error - Response
get users/[string username]/following
function get users/[string username]/following(map<string|string[]> headers, *UsersListFollowingForUserQueries queries) returns SimpleUser[]|errorList the people a user follows
Parameters
- queries *UsersListFollowingForUserQueries - Queries to be sent with the request
Return Type
- SimpleUser[]|error - Response
get users/[string username]/following/[string targetUser]
function get users/[string username]/following/[string targetUser](map<string|string[]> headers) returns error?Check if a user follows another user
Return Type
- error? - if the user follows the target user
get users/[string username]/gists
function get users/[string username]/gists(map<string|string[]> headers, *GistsListForUserQueries queries) returns BaseGist[]|errorList gists for a user
Parameters
- queries *GistsListForUserQueries - Queries to be sent with the request
get users/[string username]/gpg_keys
function get users/[string username]/gpg_keys(map<string|string[]> headers, *UsersListGpgKeysForUserQueries queries) returns GpgKey[]|errorList GPG keys for a user
Parameters
- queries *UsersListGpgKeysForUserQueries - Queries to be sent with the request
get users/[string username]/hovercard
function get users/[string username]/hovercard(map<string|string[]> headers, *UsersGetContextForUserQueries queries) returns Hovercard|errorGet contextual information for a user
Parameters
- queries *UsersGetContextForUserQueries - Queries to be sent with the request
get users/[string username]/installation
function get users/[string username]/installation(map<string|string[]> headers) returns Installation|errorGet a user installation for the authenticated app
Return Type
- Installation|error - Response
get users/[string username]/keys
function get users/[string username]/keys(map<string|string[]> headers, *UsersListPublicKeysForUserQueries queries) returns KeySimple[]|errorList public keys for a user
Parameters
- queries *UsersListPublicKeysForUserQueries - Queries to be sent with the request
get users/[string username]/orgs
function get users/[string username]/orgs(map<string|string[]> headers, *OrgsListForUserQueries queries) returns OrganizationSimple[]|errorList organizations for a user
Parameters
- queries *OrgsListForUserQueries - Queries to be sent with the request
Return Type
- OrganizationSimple[]|error - Response
get users/[string username]/packages
function get users/[string username]/packages(map<string|string[]> headers, *PackagesListPackagesForUserQueries queries) returns Package[]|errorList packages for a user
Parameters
- queries *PackagesListPackagesForUserQueries - Queries to be sent with the request
get users/[string username]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]
function get users/[string username]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName](map<string|string[]> headers) returns Package|errorGet a package for a user
delete users/[string username]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]
function delete users/[string username]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName](map<string|string[]> headers) returns error?Delete a package for a user
Return Type
- error? - Response
post users/[string username]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/restore
function post users/[string username]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/restore(map<string|string[]> headers, *PackagesRestorePackageForUserQueries queries) returns error?Restore a package for a user
Parameters
- queries *PackagesRestorePackageForUserQueries - Queries to be sent with the request
Return Type
- error? - Response
get users/[string username]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions
function get users/[string username]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions(map<string|string[]> headers) returns PackageVersion[]|errorList package versions for a package owned by a user
Return Type
- PackageVersion[]|error - Response
get users/[string username]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId]
function get users/[string username]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId](map<string|string[]> headers) returns PackageVersion|errorGet a package version for a user
Return Type
- PackageVersion|error - Response
delete users/[string username]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId]
function delete users/[string username]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId](map<string|string[]> headers) returns error?Delete package version for a user
Return Type
- error? - Response
post users/[string username]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId]/restore
function post users/[string username]/packages/["npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" packageType]/[string packageName]/versions/[int packageVersionId]/restore(map<string|string[]> headers) returns error?Restore package version for a user
Return Type
- error? - Response
get users/[string username]/projects
function get users/[string username]/projects(map<string|string[]> headers, *ProjectsListForUserQueries queries) returns Project[]|errorList user projects
Parameters
- queries *ProjectsListForUserQueries - Queries to be sent with the request
get users/[string username]/received_events
function get users/[string username]/received_events(map<string|string[]> headers, *ActivityListReceivedEventsForUserQueries queries) returns Event[]|errorList events received by the authenticated user
Parameters
- queries *ActivityListReceivedEventsForUserQueries - Queries to be sent with the request
get users/[string username]/received_events/'public
function get users/[string username]/received_events/'public(map<string|string[]> headers, *ActivityListReceivedPublicEventsForUserQueries queries) returns Event[]|errorList public events received by a user
Parameters
- queries *ActivityListReceivedPublicEventsForUserQueries - Queries to be sent with the request
get users/[string username]/repos
function get users/[string username]/repos(map<string|string[]> headers, *ReposListForUserQueries queries) returns MinimalRepository[]|errorList repositories for a user
Parameters
- queries *ReposListForUserQueries - Queries to be sent with the request
Return Type
- MinimalRepository[]|error - Response
get users/[string username]/settings/billing/actions
function get users/[string username]/settings/billing/actions(map<string|string[]> headers) returns ActionsBillingUsage|errorGet GitHub Actions billing for a user
Return Type
- ActionsBillingUsage|error - Response
get users/[string username]/settings/billing/packages
function get users/[string username]/settings/billing/packages(map<string|string[]> headers) returns PackagesBillingUsage|errorGet GitHub Packages billing for a user
Return Type
- PackagesBillingUsage|error - Response
get users/[string username]/settings/billing/shared-storage
function get users/[string username]/settings/billing/shared\-storage(map<string|string[]> headers) returns CombinedBillingUsage|errorGet shared storage billing for a user
Return Type
- CombinedBillingUsage|error - Response
get users/[string username]/social_accounts
function get users/[string username]/social_accounts(map<string|string[]> headers, *UsersListSocialAccountsForUserQueries queries) returns SocialAccount[]|errorList social accounts for a user
Parameters
- queries *UsersListSocialAccountsForUserQueries - Queries to be sent with the request
Return Type
- SocialAccount[]|error - Response
get users/[string username]/ssh_signing_keys
function get users/[string username]/ssh_signing_keys(map<string|string[]> headers, *UsersListSshSigningKeysForUserQueries queries) returns SshSigningKey[]|errorList SSH signing keys for a user
Parameters
- queries *UsersListSshSigningKeysForUserQueries - Queries to be sent with the request
Return Type
- SshSigningKey[]|error - Response
get users/[string username]/starred
function get users/[string username]/starred(map<string|string[]> headers, *ActivityListReposStarredByUserQueries queries) returns StarredRepositoryResponse|errorList repositories starred by a user
Parameters
- queries *ActivityListReposStarredByUserQueries - Queries to be sent with the request
Return Type
- StarredRepositoryResponse|error - Response
get users/[string username]/subscriptions
function get users/[string username]/subscriptions(map<string|string[]> headers, *ActivityListReposWatchedByUserQueries queries) returns MinimalRepository[]|errorList repositories watched by a user
Parameters
- queries *ActivityListReposWatchedByUserQueries - Queries to be sent with the request
Return Type
- MinimalRepository[]|error - Response
get versions
Get all API versions
get zen
Get the Zen of GitHub
Records
github: AccessSelectedUsersBody
Fields
- selectedUsernames string[] - The usernames of the organization members whose codespaces be billed to the organization
github: AccessSelectedUsersBody1
Fields
- selectedUsernames string[] - The usernames of the organization members whose codespaces should not be billed to the organization
github: ActionsBillingUsage
Fields
- totalPaidMinutesUsed int - The total paid GitHub Actions minutes used
- includedMinutes int - The amount of free GitHub Actions minutes available
- totalMinutesUsed int - The sum of the free and paid GitHub Actions minutes used
- minutesUsedBreakdown ActionsBillingUsageMinutesUsedBreakdown - Breakdown of GitHub Actions minutes used by operating system.
github: ActionsBillingUsageMinutesUsedBreakdown
Fields
- windows4Core? int - Total minutes used on Windows 4 core runner machines
- ubuntu64Core? int - Total minutes used on Ubuntu 64 core runner machines
- mACOS? int - Total minutes used on macOS runner machines
- macos12Core? int - Total minutes used on macOS 12 core runner machines
- uBUNTU? int - Total minutes used on Ubuntu runner machines
- ubuntu8Core? int - Total minutes used on Ubuntu 8 core runner machines
- total? int - Total minutes used on all runner machines
- windows64Core? int - Total minutes used on Windows 64 core runner machines
- ubuntu32Core? int - Total minutes used on Ubuntu 32 core runner machines
- wINDOWS? int - Total minutes used on Windows runner machines
- ubuntu16Core? int - Total minutes used on Ubuntu 16 core runner machines
- windows32Core? int - Total minutes used on Windows 32 core runner machines
- ubuntu4Core? int - Total minutes used on Ubuntu 4 core runner machines
- windows8Core? int - Total minutes used on Windows 8 core runner machines
- windows16Core? int - Total minutes used on Windows 16 core runner machines
github: ActionsCacheList
Repository actions caches
Fields
- totalCount int - Total number of caches
- actionsCaches ActionsCacheListActionsCaches[] - Array of caches
github: ActionsCacheListActionsCaches
Fields
- ref? string - The Git ref associated with the cache entry.
- sizeInBytes? int - The size of the cache entry in bytes.
- createdAt? string - The timestamp indicating when the cache entry was created.
- id? int - The unique identifier of the cache entry.
- lastAccessedAt? string - The timestamp indicating when the cache entry was last accessed.
- version? string - The version identifier of the cache entry.
- 'key? string - The cache key used to identify the cache entry.
github: ActionsCacheUsageByRepository
GitHub Actions Cache Usage by repository
Fields
- fullName string - The repository owner and name for the cache usage being shown
- activeCachesCount int - The number of active caches in the repository
- activeCachesSizeInBytes int - The sum of the size in bytes of all the active cache items in the repository
github: ActionsCacheUsageByRepositoryResponse
GitHub Actions Cache Usage by repository
Fields
- totalCount int - Total number of repositories with Actions cache usage data.
- repositoryCacheUsages ActionsCacheUsageByRepository[] - List of repositories and their Actions cache usage details.
github: ActionsCacheUsageOrgEnterprise
Fields
- totalActiveCachesSizeInBytes int - The total size in bytes of all active cache items across all repositories of an enterprise or an organization
- totalActiveCachesCount int - The count of active caches across all repositories of an enterprise or an organization
github: ActionsDeleteActionsCacheByKeyQueries
Represents the Queries record for the operation: actions/delete-actions-cache-by-key
Fields
- ref? string - The full Git reference for narrowing down the cache. The ref for a branch should be formatted as refs/heads/<branch name>. To reference a pull request use refs/pull/<number>/merge
- 'key string - A key for identifying the cache
github: ActionsGetActionsCacheListQueries
Represents the Queries record for the operation: actions/get-actions-cache-list
Fields
- perPage int(default 30) - The number of results per page (max 100)
- ref? string - The full Git reference for narrowing down the cache. The ref for a branch should be formatted as refs/heads/<branch name>. To reference a pull request use refs/pull/<number>/merge
- page int(default 1) - Page number of the results to fetch
- sort "created_at"|"last_accessed_at"|"size_in_bytes" (default "last_accessed_at") - The property to sort the results by. created_at means when the cache was created. last_accessed_at means when the cache was last accessed. size_in_bytes is the size of the cache in bytes
- 'key? string - An explicit key or prefix for identifying the cache
- direction "asc"|"desc" (default "desc") - The direction to sort the results by
github: ActionsGetActionsCacheUsageByRepoForOrgQueries
Represents the Queries record for the operation: actions/get-actions-cache-usage-by-repo-for-org
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActionsGetDefaultWorkflowPermissions
Fields
- defaultWorkflowPermissions ActionsDefaultWorkflowPermissions - The default permissions granted to the GITHUB_TOKEN in workflows.
- canApprovePullRequestReviews ActionsCanApprovePullRequestReviews - Whether GitHub Actions can approve pull request reviews.
github: ActionsGetWorkflowRunAttemptQueries
Represents the Queries record for the operation: actions/get-workflow-run-attempt
Fields
- excludePullRequests boolean(default false) - If true pull requests are omitted from the response (empty array)
github: ActionsGetWorkflowRunQueries
Represents the Queries record for the operation: actions/get-workflow-run
Fields
- excludePullRequests boolean(default false) - If true pull requests are omitted from the response (empty array)
github: ActionsListArtifactsForRepoQueries
Represents the Queries record for the operation: actions/list-artifacts-for-repo
Fields
- perPage int(default 30) - The number of results per page (max 100)
- name? string - The name field of an artifact. When specified, only artifacts with this name will be returned
- page int(default 1) - Page number of the results to fetch
github: ActionsListEnvironmentSecretsQueries
Represents the Queries record for the operation: actions/list-environment-secrets
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActionsListEnvironmentVariablesQueries
Represents the Queries record for the operation: actions/list-environment-variables
Fields
- perPage int(default 10) - The number of results per page (max 30)
- page int(default 1) - Page number of the results to fetch
github: ActionsListJobsForWorkflowRunAttemptQueries
Represents the Queries record for the operation: actions/list-jobs-for-workflow-run-attempt
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActionsListJobsForWorkflowRunQueries
Represents the Queries record for the operation: actions/list-jobs-for-workflow-run
Fields
- filter "latest"|"all" (default "latest") - Filters jobs by their completed_at timestamp. latest returns jobs from the most recent execution of the workflow run. all returns all jobs for a workflow run, including from old executions of the workflow run
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActionsListOrgSecretsQueries
Represents the Queries record for the operation: actions/list-org-secrets
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActionsListOrgVariablesQueries
Represents the Queries record for the operation: actions/list-org-variables
Fields
- perPage int(default 10) - The number of results per page (max 30)
- page int(default 1) - Page number of the results to fetch
github: ActionsListRepoOrganizationSecretsQueries
Represents the Queries record for the operation: actions/list-repo-organization-secrets
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActionsListRepoOrganizationVariablesQueries
Represents the Queries record for the operation: actions/list-repo-organization-variables
Fields
- perPage int(default 10) - The number of results per page (max 30)
- page int(default 1) - Page number of the results to fetch
github: ActionsListRepoSecretsQueries
Represents the Queries record for the operation: actions/list-repo-secrets
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActionsListRepoVariablesQueries
Represents the Queries record for the operation: actions/list-repo-variables
Fields
- perPage int(default 10) - The number of results per page (max 30)
- page int(default 1) - Page number of the results to fetch
github: ActionsListRepoWorkflowsQueries
Represents the Queries record for the operation: actions/list-repo-workflows
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActionsListSelectedReposForOrgSecretQueries
Represents the Queries record for the operation: actions/list-selected-repos-for-org-secret
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActionsListSelectedReposForOrgVariableQueries
Represents the Queries record for the operation: actions/list-selected-repos-for-org-variable
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationQueries
Represents the Queries record for the operation: actions/list-selected-repositories-enabled-github-actions-organization
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActionsListSelfHostedRunnersForOrgQueries
Represents the Queries record for the operation: actions/list-self-hosted-runners-for-org
Fields
- perPage int(default 30) - The number of results per page (max 100)
- name? string - The name of a self-hosted runner
- page int(default 1) - Page number of the results to fetch
github: ActionsListSelfHostedRunnersForRepoQueries
Represents the Queries record for the operation: actions/list-self-hosted-runners-for-repo
Fields
- perPage int(default 30) - The number of results per page (max 100)
- name? string - The name of a self-hosted runner
- page int(default 1) - Page number of the results to fetch
github: ActionsListWorkflowRunArtifactsQueries
Represents the Queries record for the operation: actions/list-workflow-run-artifacts
Fields
- perPage int(default 30) - The number of results per page (max 100)
- name? string - The name field of an artifact. When specified, only artifacts with this name will be returned
- page int(default 1) - Page number of the results to fetch
github: ActionsListWorkflowRunsForRepoQueries
Represents the Queries record for the operation: actions/list-workflow-runs-for-repo
Fields
- actor? string - Returns someone's workflow runs. Use the login for the user who created the push associated with the check suite or workflow run
- perPage int(default 30) - The number of results per page (max 100)
- checkSuiteId? int - Returns workflow runs with the check_suite_id that you specify
- created? string - Returns workflow runs created within the given date-time range. For more information on the syntax, see "Understanding the search syntax."
- excludePullRequests boolean(default false) - If true pull requests are omitted from the response (empty array)
- page int(default 1) - Page number of the results to fetch
- event? string - Returns workflow run triggered by the event you specify. For example, push, pull_request or issue. For more information, see "Events that trigger workflows."
- branch? string - Returns workflow runs associated with a branch. Use the name of the branch of the push
- headSha? string - Only returns workflow runs that are associated with the specified head_sha
- status? "completed"|"action_required"|"cancelled"|"failure"|"neutral"|"skipped"|"stale"|"success"|"timed_out"|"in_progress"|"queued"|"requested"|"waiting"|"pending" - Returns workflow runs with the check run status or conclusion that you specify. For example, a conclusion can be success or a status can be in_progress. Only GitHub can set a status of waiting or requested
github: ActionsListWorkflowRunsQueries
Represents the Queries record for the operation: actions/list-workflow-runs
Fields
- actor? string - Returns someone's workflow runs. Use the login for the user who created the push associated with the check suite or workflow run
- perPage int(default 30) - The number of results per page (max 100)
- checkSuiteId? int - Returns workflow runs with the check_suite_id that you specify
- created? string - Returns workflow runs created within the given date-time range. For more information on the syntax, see "Understanding the search syntax."
- excludePullRequests boolean(default false) - If true pull requests are omitted from the response (empty array)
- page int(default 1) - Page number of the results to fetch
- event? string - Returns workflow run triggered by the event you specify. For example, push, pull_request or issue. For more information, see "Events that trigger workflows."
- branch? string - Returns workflow runs associated with a branch. Use the name of the branch of the push
- headSha? string - Only returns workflow runs that are associated with the specified head_sha
- status? "completed"|"action_required"|"cancelled"|"failure"|"neutral"|"skipped"|"stale"|"success"|"timed_out"|"in_progress"|"queued"|"requested"|"waiting"|"pending" - Returns workflow runs with the check run status or conclusion that you specify. For example, a conclusion can be success or a status can be in_progress. Only GitHub can set a status of waiting or requested
github: ActionsOIDCSubjectCustomizationForARepository
Actions OIDC subject customization for a repository
Fields
- includeClaimKeys? string[] - Array of unique strings. Each claim key can only contain alphanumeric characters and underscores
- useDefault boolean - Whether to use the default template or not. If true, the include_claim_keys field is ignored
github: ActionsOrganizationPermissions
Fields
- enabledRepositories EnabledRepositories - The policy that controls which repositories can use GitHub Actions.
- allowedActions? AllowedActions - The policy that controls which actions and reusable workflows are allowed.
- selectedRepositoriesUrl? string - The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when enabled_repositories is set to selected
- selectedActionsUrl? SelectedActionsUrl - The API URL to get or set the allowed actions for the organization.
github: ActionsPermissionsBody
Fields
- enabledRepositories EnabledRepositories - The policy for which repositories are permitted to use Actions.
- allowedActions? AllowedActions - The policy for which Actions and reusable workflows are allowed to run.
github: ActionsPermissionsBody1
Fields
- allowedActions? AllowedActions - The actions and reusable workflows permitted to run in the organization.
- enabled ActionsEnabled - Whether GitHub Actions is enabled for the organization.
github: ActionsPublicKey
The public key used for setting Actions Secrets
Fields
- keyId string - The identifier for the key
- createdAt? string - The date and time the public key was created.
- id? int - The unique identifier of the public key.
- title? string - A descriptive title for the public key.
- 'key string - The Base64 encoded public key
- url? string - The API URL for the public key.
github: ActionsRepositoryPermissions
Fields
- allowedActions? AllowedActions - The permissions policy that controls which actions are allowed to run.
- selectedActionsUrl? SelectedActionsUrl - The API URL to retrieve the list of selected allowed actions.
- enabled ActionsEnabled - Indicates whether GitHub Actions is enabled for the repository.
github: ActionsSecret
Set secrets for GitHub Actions
Fields
- updatedAt string - The date and time the secret was last updated.
- name string - The name of the secret
- createdAt string - The date and time the secret was created.
github: ActionsSecretResponse
Set secrets for GitHub Actions
Fields
- totalCount int - The total number of Actions secrets available.
- secrets ActionsSecret[] - The list of Actions secrets.
github: ActionsSetDefaultWorkflowPermissions
Fields
- defaultWorkflowPermissions? ActionsDefaultWorkflowPermissions - The default permissions granted to the GITHUB_TOKEN for workflows.
- canApprovePullRequestReviews? ActionsCanApprovePullRequestReviews - Indicates whether GitHub Actions can approve pull request reviews.
github: ActionsVariable
Fields
- updatedAt string - The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ
- name string - The name of the variable
- createdAt string - The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ
- value string - The value of the variable
github: ActionsVariableResponse
Fields
- variables ActionsVariable[] - The list of Actions variables returned in the response.
- totalCount int - The total number of Actions variables available.
github: ActionsVariablesBody
Fields
- selectedRepositoryIds? int[] - An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the visibility is set to selected
- visibility "all"|"private"|"selected" - The type of repositories in the organization that can access the variable. selected means only the repositories specified by selected_repository_ids can access the variable
- name string - The name of the variable
- value string - The value of the variable
github: ActionsVariablesBody1
Fields
- name string - The name of the variable
- value string - The value of the variable
github: ActionsWorkflowAccessToRepository
Fields
- accessLevel "none"|"user"|"organization" - Defines the level of access that workflows outside of the repository have to actions and reusable workflows within the repository. none means the access is only possible from workflows in this repository. user level access allows sharing across user owned private repos only. organization level access allows sharing across the organization
github: Activity
Activity
Fields
- actor NullableSimpleUser? - The user who performed the activity.
- ref string - The full Git reference, formatted as refs/heads/<branch name>
- before string - The SHA of the commit before the activity
- activityType "push"|"force_push"|"branch_deletion"|"branch_creation"|"pr_merge"|"merge_queue_merge" - The type of the activity that was performed
- id int - The unique identifier of the activity.
- after string - The SHA of the commit after the activity
- nodeId string - The GraphQL node identifier of the activity.
- timestamp string - The time when the activity occurred
github: ActivityListEventsForAuthenticatedUserQueries
Represents the Queries record for the operation: activity/list-events-for-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActivityListNotificationsForAuthenticatedUserQueries
Represents the Queries record for the operation: activity/list-notifications-for-authenticated-user
Fields
- all boolean(default false) - If true, show notifications marked as read
- perPage int(default 50) - The number of results per page (max 50)
- participating boolean(default false) - If true, only shows notifications in which the user is directly participating or mentioned
- page int(default 1) - Page number of the results to fetch
github: ActivityListOrgEventsForAuthenticatedUserQueries
Represents the Queries record for the operation: activity/list-org-events-for-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActivityListPublicEventsForRepoNetworkQueries
Represents the Queries record for the operation: activity/list-public-events-for-repo-network
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActivityListPublicEventsForUserQueries
Represents the Queries record for the operation: activity/list-public-events-for-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActivityListPublicEventsQueries
Represents the Queries record for the operation: activity/list-public-events
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActivityListPublicOrgEventsQueries
Represents the Queries record for the operation: activity/list-public-org-events
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActivityListReceivedEventsForUserQueries
Represents the Queries record for the operation: activity/list-received-events-for-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActivityListReceivedPublicEventsForUserQueries
Represents the Queries record for the operation: activity/list-received-public-events-for-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActivityListRepoEventsQueries
Represents the Queries record for the operation: activity/list-repo-events
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActivityListRepoNotificationsForAuthenticatedUserQueries
Represents the Queries record for the operation: activity/list-repo-notifications-for-authenticated-user
Fields
- all boolean(default false) - If true, show notifications marked as read
- perPage int(default 30) - The number of results per page (max 100)
- participating boolean(default false) - If true, only shows notifications in which the user is directly participating or mentioned
- page int(default 1) - Page number of the results to fetch
github: ActivityListReposStarredByAuthenticatedUserQueries
Represents the Queries record for the operation: activity/list-repos-starred-by-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- sort "created"|"updated" (default "created") - The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to
- page int(default 1) - Page number of the results to fetch
- direction "asc"|"desc" (default "desc") - The direction to sort the results by
github: ActivityListReposStarredByUserQueries
Represents the Queries record for the operation: activity/list-repos-starred-by-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- sort "created"|"updated" (default "created") - The property to sort the results by. created means when the repository was starred. updated means when the repository was last pushed to
- page int(default 1) - Page number of the results to fetch
- direction "asc"|"desc" (default "desc") - The direction to sort the results by
github: ActivityListReposWatchedByUserQueries
Represents the Queries record for the operation: activity/list-repos-watched-by-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActivityListStargazersForRepoQueries
Represents the Queries record for the operation: activity/list-stargazers-for-repo
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActivityListWatchedReposForAuthenticatedUserQueries
Represents the Queries record for the operation: activity/list-watched-repos-for-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ActivityListWatchersForRepoQueries
Represents the Queries record for the operation: activity/list-watchers-for-repo
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: Actor
Actor
Fields
- displayLogin? string - The display name shown for the actor in GitHub events.
- avatarUrl string - URL of the actor's avatar image.
- id int - Unique identifier of the actor.
- login string - The username of the actor.
- gravatarId string? - Gravatar ID associated with the actor's email.
- url string - API URL for the actor's GitHub profile.
github: AddedToProjectIssueEvent
Added to Project Issue Event
Fields
- actor SimpleUser - The user who triggered this issue event.
- commitUrl string? - API URL for the commit associated with this event.
- performedViaGithubApp NullableIntegration? - The GitHub App that performed this event, if any.
- createdAt string - The date and time when this event occurred.
- id int - Unique numeric identifier for this issue event.
- event string - The type of event that occurred on the issue.
- commitId string? - The SHA of the commit associated with this event.
- url string - API URL for this issue event.
- projectCard? RemovedFromProjectIssueEventProjectCard - The project card associated with this event.
- nodeId string - The GraphQL node identifier for this issue event.
github: AlertsalertNumberBody
Fields
- dismissedComment? CodeScanningAlertDismissedComment? - An optional comment explaining why the alert was dismissed.
- state CodeScanningAlertSetState - The desired state to set for the code scanning alert.
- dismissedReason? CodeScanningAlertDismissedReason? - The reason for dismissing or closing the alert.
github: AlertsalertNumberBody1
Fields
- dismissedComment? string - An optional comment associated with dismissing the alert
- state "dismissed"|"open" - The state of the Dependabot alert. A dismissed_reason must be provided when setting the state to dismissed
- dismissedReason? "fix_started"|"inaccurate"|"no_bandwidth"|"not_used"|"tolerable_risk" - Required when state is dismissed. A reason for dismissing the alert
github: AlertsalertNumberBody2
Fields
- resolutionComment? SecretScanningAlertResolutionComment? - An optional comment explaining the resolution of the secret scanning alert.
- state SecretScanningAlertState - The state to set for the secret scanning alert.
- resolution? SecretScanningAlertResolution? - The reason for resolving the secret scanning alert.
github: ApiOverview
Api Overview
Fields
- sshKeyFingerprints? ApiOverviewSshKeyFingerprints - SSH key fingerprints used to verify GitHub's host keys.
- importer? string[] - IP ranges used by GitHub's source importer service.
- verifiablePasswordAuthentication boolean - Indicates whether password authentication is verifiable.
- domains? ApiOverviewDomains - Domain names used by various GitHub services.
- packages? string[] - IP ranges used by GitHub Packages.
- githubEnterpriseImporter? string[] - IP ranges used by the GitHub Enterprise importer.
- sshKeys? string[] - Public SSH keys used by GitHub.
- git? string[] - IP ranges used for Git operations on GitHub.
- pages? string[] - IP ranges used by GitHub Pages.
- web? string[] - IP ranges used by GitHub's web interface.
- api? string[] - IP ranges used by GitHub's API.
- hooks? string[] - IP ranges used by GitHub webhooks.
- actions? string[] - IP ranges used by GitHub Actions.
- dependabot? string[] - IP ranges used by Dependabot.
github: ApiOverviewDomains
Fields
- website? string[] - The list of domains used for GitHub website traffic.
- copilot? string[] - The list of domains used by GitHub Copilot.
- codespaces? string[] - The list of domains used by GitHub Codespaces.
- packages? string[] - The list of domains used by GitHub Packages.
github: ApiOverviewSshKeyFingerprints
Fields
- sHA256RSA? string - The SHA256 fingerprint of the RSA SSH host key.
- sHA256DSA? string - The SHA256 fingerprint of the DSA SSH host key.
- sHA256ECDSA? string - The SHA256 fingerprint of the ECDSA SSH host key.
- sHA256ED25519? string - The SHA256 fingerprint of the Ed25519 SSH host key.
github: AppPermissions
The permissions granted to the user access token
Fields
- secretScanningAlerts? "read"|"write" - The level of permission to grant the access token to view and manage secret scanning alerts
- metadata? "read"|"write" - The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata
- organizationAnnouncementBanners? "read"|"write" - The level of permission to grant the access token to view and manage announcement banners for an organization
- organizationPackages? "read"|"write" - The level of permission to grant the access token for organization packages published to GitHub Packages
- environments? "read"|"write" - The level of permission to grant the access token for managing repository environments
- teamDiscussions? "read"|"write" - The level of permission to grant the access token to manage team discussions and related comments
- administration? "read"|"write" - The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation
- organizationPlan? "read" - The level of permission to grant the access token for viewing an organization's plan
- vulnerabilityAlerts? "read"|"write" - The level of permission to grant the access token to manage Dependabot alerts
- organizationPersonalAccessTokens? "read"|"write" - The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization
- organizationPersonalAccessTokenRequests? "read"|"write" - The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization
- workflows? "write" - The level of permission to grant the access token to update GitHub Actions workflow files
- issues? "read"|"write" - The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones
- pullRequests? "read"|"write" - The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges
- organizationUserBlocking? "read"|"write" - The level of permission to grant the access token to view and manage users blocked by the organization
- singleFile? "read"|"write" - The level of permission to grant the access token to manage just a single file
- pages? "read"|"write" - The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds
- repositoryProjects? "read"|"write"|"admin" - The level of permission to grant the access token to manage repository projects, columns, and cards
- members? "read"|"write" - The level of permission to grant the access token for organization teams and members
- organizationCustomRoles? "read"|"write" - The level of permission to grant the access token for custom repository roles management. This property is in beta and is subject to change
- organizationAdministration? "read"|"write" - The level of permission to grant the access token to manage access to an organization
- organizationSecrets? "read"|"write" - The level of permission to grant the access token to manage organization secrets
- organizationHooks? "read"|"write" - The level of permission to grant the access token to manage the post-receive hooks for an organization
- packages? "read"|"write" - The level of permission to grant the access token for packages published to GitHub Packages
- secrets? "read"|"write" - The level of permission to grant the access token to manage repository secrets
- deployments? "read"|"write" - The level of permission to grant the access token for deployments and deployment statuses
- checks? "read"|"write" - The level of permission to grant the access token for checks on code
- organizationProjects? "read"|"write"|"admin" - The level of permission to grant the access token to manage organization projects and projects beta (where available)
- securityEvents? "read"|"write" - The level of permission to grant the access token to view and manage security events like code scanning alerts
- contents? "read"|"write" - The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges
- repositoryHooks? "read"|"write" - The level of permission to grant the access token to manage the post-receive hooks for a repository
- statuses? "read"|"write" - The level of permission to grant the access token for commit statuses
- actions? "read"|"write" - The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts
- organizationSelfHostedRunners? "read"|"write" - The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization
github: AppsListAccountsForPlanQueries
Represents the Queries record for the operation: apps/list-accounts-for-plan
Fields
- perPage int(default 30) - The number of results per page (max 100)
- sort "created"|"updated" (default "created") - The property to sort the results by
- page int(default 1) - Page number of the results to fetch
- direction? "asc"|"desc" - To return the oldest accounts first, set to asc. Ignored without the sort parameter
github: AppsListAccountsForPlanStubbedQueries
Represents the Queries record for the operation: apps/list-accounts-for-plan-stubbed
Fields
- perPage int(default 30) - The number of results per page (max 100)
- sort "created"|"updated" (default "created") - The property to sort the results by
- page int(default 1) - Page number of the results to fetch
- direction? "asc"|"desc" - To return the oldest accounts first, set to asc. Ignored without the sort parameter
github: AppsListInstallationReposForAuthenticatedUserQueries
Represents the Queries record for the operation: apps/list-installation-repos-for-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: AppsListInstallationRequestsForAuthenticatedAppQueries
Represents the Queries record for the operation: apps/list-installation-requests-for-authenticated-app
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: AppsListInstallationsForAuthenticatedUserQueries
Represents the Queries record for the operation: apps/list-installations-for-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: AppsListInstallationsQueries
Represents the Queries record for the operation: apps/list-installations
Fields
- perPage int(default 30) - The number of results per page (max 100)
- outdated? string - Filter to only return outdated installations.
- page int(default 1) - Page number of the results to fetch
github: AppsListPlansQueries
Represents the Queries record for the operation: apps/list-plans
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: AppsListPlansStubbedQueries
Represents the Queries record for the operation: apps/list-plans-stubbed
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: AppsListReposAccessibleToInstallationQueries
Represents the Queries record for the operation: apps/list-repos-accessible-to-installation
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: AppsListSubscriptionsForAuthenticatedUserQueries
Represents the Queries record for the operation: apps/list-subscriptions-for-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: AppsListSubscriptionsForAuthenticatedUserStubbedQueries
Represents the Queries record for the operation: apps/list-subscriptions-for-authenticated-user-stubbed
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: AppsListWebhookDeliveriesQueries
Represents the Queries record for the operation: apps/list-webhook-deliveries
Fields
- cursor? string - Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the link header for the next and previous page cursors
- perPage int(default 30) - The number of results per page (max 100)
- redelivery? boolean - Filter to only return redeliveries.
github: Artifact
An artifact
Fields
- archiveDownloadUrl string - The URL to download the artifact as a zip archive.
- expired boolean - Whether or not the artifact has expired
- expiresAt string? - The date and time when the artifact expires.
- workflowRun? ArtifactWorkflowRun? - The workflow run associated with this artifact.
- updatedAt string? - The date and time the artifact was last updated.
- name string - The name of the artifact
- sizeInBytes int - The size in bytes of the artifact
- createdAt string? - The date and time the artifact was created.
- id int - The unique numeric identifier for the artifact.
- url string - The API URL for this artifact.
- nodeId string - The GraphQL node ID for the artifact.
github: ArtifactResponse
An artifact
Fields
- totalCount int - The total number of artifacts available.
- artifacts Artifact[] - The list of artifact objects returned.
github: ArtifactWorkflowRun
Fields
- headBranch? string - The branch from which the workflow run was triggered.
- repositoryId? int - The unique identifier of the repository where the workflow ran.
- headRepositoryId? int - The unique identifier of the head repository for the workflow run.
- id? int - The unique identifier of the workflow run.
- headSha? string - The SHA of the head commit for the workflow run.
github: AssetsassetIdBody
Fields
- name? string - The file name of the asset
- label? string - An alternate short description of the asset. Used in place of the filename
- state? string - The state of the release asset.
github: AssignedIssueEvent
Assigned Issue Event
Fields
- actor SimpleUser - The user who triggered the assignment event.
- commitUrl string? - API URL for the commit associated with the event.
- performedViaGithubApp Integration - The GitHub App that performed the assignment event.
- assigner SimpleUser - The user who assigned the issue.
- createdAt string - The date and time the event was created.
- id int - The unique identifier of the event.
- assignee SimpleUser - The user who was assigned to the issue.
- event string - The type of event that occurred.
- commitId string? - The SHA of the commit associated with the event.
- url string - API URL for the event.
- nodeId string - The GraphQL node identifier of the event.
github: AuthenticationToken
Authentication Token
Fields
- repositorySelection? "all"|"selected" - Describe whether all repositories have been selected or there's a selection involved
- singleFile? string? - The single file path this token grants access to.
- expiresAt string - The time this token expires
- repositories? Repository[] - The repositories this token has access to
- permissions? record {} - The permissions granted to this authentication token.
- token string - The token used for authentication
github: Authorization
The authorization for an OAuth app, GitHub App, or a Personal Access Token
Fields
- app AuthorizationApp - The OAuth application associated with this authorization.
- note string? - A note to remind you what the authorization is for.
- noteUrl string? - A URL to remind you what the authorization is for.
- createdAt string - The timestamp indicating when the authorization was created.
- url string - The URL of the authorization resource.
- token string - The OAuth access token string.
- hashedToken string? - The hashed version of the OAuth access token.
- expiresAt string? - The timestamp indicating when the token expires.
- updatedAt string - The timestamp indicating when the authorization was last updated.
- installation? NullableScopedInstallation? - The scoped installation associated with this authorization.
- tokenLastEight string? - The last eight characters of the token for identification.
- fingerprint string? - A unique string to distinguish an authorization from others with the same note.
- id int - The unique identifier of the authorization.
- scopes string[]? - A list of scopes that this authorization is in
- user? NullableSimpleUser? - The user associated with this authorization.
github: AuthorizationApp
Fields
- name string - The name of the OAuth application.
- clientId string - The client ID of the OAuth application.
- url string - The URL of the OAuth application's homepage.
github: AuthorsauthorIdBody
Fields
- name? string - The new Git author name
- email? string - The new Git author email
github: Autolink
An autolink reference
Fields
- keyPrefix string - The prefix of a key that is linkified
- urlTemplate string - A template for the target URL that is generated if a key was found
- id int - The unique identifier of the autolink reference.
- isAlphanumeric boolean - Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters
github: AutoMerge
The status of auto merging a pull request
Fields
- commitTitle string - Title for the merge commit message
- enabledBy SimpleUser - The user who enabled auto-merge on the pull request.
- commitMessage string - Commit message for the merge commit
- mergeMethod "merge"|"squash"|"rebase" - The merge method to use
github: BaseGist
Base Gist
Fields
- owner? SimpleUser - The user who owns the gist.
- forks? anydata[] - List of gist forks.
- commitsUrl string - API URL for listing gist commits.
- comments int - The number of comments on the gist.
- forksUrl string - API URL for listing gist forks.
- gitPushUrl string - The Git push URL for the gist.
- createdAt string - The date and time the gist was created.
- description string? - A short description of the gist.
- truncated? boolean - Whether the gist content is truncated due to size.
- history? anydata[] - List of gist revision history entries.
- url string - API URL for the gist.
- 'public boolean - Whether the gist is public.
- updatedAt string - The date and time the gist was last updated.
- htmlUrl string - URL of the gist page on GitHub.
- gitPullUrl string - The Git pull URL for the gist.
- commentsUrl string - API URL for listing gist comments.
- files record { BaseGistFiles... } - The files included in the gist.
- id string - The unique identifier of the gist.
- user NullableSimpleUser? - The user associated with the gist, if applicable.
- nodeId string - The GraphQL node identifier of the gist.
github: BaseGistFiles
Fields
- filename? string - The name of the gist file.
- size? int - The size of the gist file in bytes.
- language? string - The detected programming language of the gist file.
- 'type? string - The MIME type of the gist file.
- rawUrl? string - The URL to retrieve the raw contents of the gist file.
github: BillingSelectedTeamsBody
Fields
- selectedTeams string[] - List of team names within the organization to which to grant access to GitHub Copilot
github: BillingSelectedTeamsBody1
Fields
- selectedTeams string[] - The names of teams from which to revoke access to GitHub Copilot
github: BillingSelectedUsersBody
Fields
- selectedUsernames string[] - The usernames of the organization members to be granted access to GitHub Copilot
github: BillingSelectedUsersBody1
Fields
- selectedUsernames string[] - The usernames of the organization members for which to revoke access to GitHub Copilot
github: Blob
Blob
Fields
- size int? - The size of the blob content in bytes.
- encoding string - The encoding used for the blob content, such as base64 or utf-8.
- sha string - The SHA hash of the blob object.
- highlightedContent? string - The syntax-highlighted HTML content of the blob.
- content string - The encoded content of the blob.
- url string - The API URL for this blob object.
- nodeId string - The GraphQL node ID for the blob.
github: BranchProtection
Branch Protection
Fields
- requiredPullRequestReviews? ProtectedBranchPullRequestReview - The pull request review requirements for the protected branch.
- requiredSignatures? ProtectedBranchRequiredSignatures - The commit signature requirements for the protected branch.
- requiredStatusChecks? ProtectedBranchRequiredStatusCheck - The required status checks that must pass before merging.
- allowForkSyncing? BranchProtectionAllowForkSyncing - Indicates whether forked repositories can be synced with this branch.
- restrictions? BranchRestrictionPolicy - The user, team, and app restrictions for pushing to the branch.
- requiredLinearHistory? BranchProtectionRequiredLinearHistory - Indicates whether a linear commit history is required.
- enforceAdmins? ProtectedBranchAdminEnforced - Indicates whether branch protections are enforced for administrators.
- url? string - The API URL for this branch protection configuration.
- enabled? boolean - Indicates whether branch protection is enabled.
- allowForcePushes? BranchProtectionRequiredLinearHistory - Indicates whether force pushes are permitted to the branch.
- lockBranch? BranchProtectionLockBranch - Indicates whether the branch is locked against changes.
- blockCreations? BranchProtectionRequiredLinearHistory - Indicates whether branch creations matching this rule are blocked.
- requiredConversationResolution? BranchProtectionRequiredLinearHistory - Indicates whether all conversations must be resolved before merging.
- name? string - The name of the protected branch.
- allowDeletions? BranchProtectionRequiredLinearHistory - Indicates whether the branch can be deleted.
- protectionUrl? string - The API URL for the branch protection resource.
github: BranchProtectionAllowForkSyncing
Whether users can pull changes from upstream when the branch is locked. Set to true to allow fork syncing. Set to false to prevent fork syncing
Fields
- enabled boolean(default false) - Whether fork syncing is enabled for the locked branch.
github: BranchProtectionBody
Fields
- lockBranch boolean(default false) - Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. Default: false
- requiredPullRequestReviews ReposownerrepobranchesbranchprotectionRequiredPullRequestReviews? - Settings for required pull request reviews before merging.
- blockCreations? boolean - If set to true, the restrictions branch protection settings which limits who can push will also block pushes which create new branches, unless the push is initiated by a user, team, or app which has the ability to push. Set to true to restrict new branch creation. Default: false
- requiredConversationResolution? boolean - Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to false to disable. Default: false
- requiredStatusChecks ReposownerrepobranchesbranchprotectionRequiredStatusChecks? - Settings for required status checks before merging.
- allowForkSyncing boolean(default false) - Whether users can pull changes from upstream when the branch is locked. Set to true to allow fork syncing. Set to false to prevent fork syncing. Default: false
- restrictions ReposownerrepobranchesbranchprotectionRestrictions? - Restrictions on who can push to the protected branch.
- requiredLinearHistory? boolean - Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to true to enforce a linear commit history. Set to false to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: false. For more information, see "Requiring a linear commit history" in the GitHub Help documentation
- enforceAdmins boolean? - Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable
- allowDeletions? boolean - Allows deletion of the protected branch by anyone with write access to the repository. Set to false to prevent deletion of the protected branch. Default: false. For more information, see "Enabling force pushes to a protected branch" in the GitHub Help documentation
- allowForcePushes? boolean? - Permits force pushes to the protected branch by anyone with write access to the repository. Set to true to allow force pushes. Set to false or null to block force pushes. Default: false. For more information, see "Enabling force pushes to a protected branch" in the GitHub Help documentation."
github: BranchProtectionLockBranch
Whether to set the branch as read-only. If this is true, users will not be able to push to the branch
Fields
- enabled boolean(default false) - Whether the branch is set as read-only.
github: BranchProtectionRequiredLinearHistory
Fields
- enabled? boolean - Whether required linear history is enabled for the branch.
github: BranchRenameBody
Fields
- newName string - The new name of the branch
github: BranchRestrictionPolicy
Branch Restriction Policy
Fields
- teamsUrl string - API URL for the teams allowed to push to the branch.
- teams BranchRestrictionPolicyTeams[] - The list of teams allowed to push to the restricted branch.
- usersUrl string - API URL for the users allowed to push to the branch.
- url string - API URL for the branch restriction policy.
- appsUrl string - API URL for the apps allowed to push to the branch.
- users RepositoryTemplateRepositoryOwner[] - The list of users allowed to push to the restricted branch.
- apps BranchRestrictionPolicyApps[] - The list of apps allowed to push to the restricted branch.
github: BranchRestrictionPolicyApps
Fields
- owner? BranchRestrictionPolicyOwner - The owner of the GitHub App.
- externalUrl? string - The external URL associated with the GitHub App.
- updatedAt? string - The date and time the app was last updated.
- permissions? BranchRestrictionPolicyPermissions - The permissions granted to the GitHub App.
- htmlUrl? string - The HTML URL for the GitHub App's page.
- name? string - The name of the GitHub App.
- description? string - A short description of the GitHub App.
- createdAt? string - The date and time the app was created.
- id? int - The unique numeric identifier for the GitHub App.
- slug? string - The URL-friendly name of the GitHub App.
- events? string[] - The list of events the GitHub App subscribes to.
- nodeId? string - The GraphQL node ID for the GitHub App.
github: BranchRestrictionPolicyOwner
Fields
- reposUrl? string - API URL listing the owner's repositories.
- gistsUrl? string - API URL template for the owner's gists.
- membersUrl? string - API URL template for the organization's members.
- followingUrl? string - API URL template for users this owner follows.
- description? string - The description of the organization.
- starredUrl? string - API URL template for repositories starred by the owner.
- login? string - The owner's GitHub login username.
- followersUrl? string - API URL for the owner's followers.
- 'type? string - The type of GitHub account.
- url? string - API URL for the owner.
- publicMembersUrl? string - API URL template for the organization's public members.
- subscriptionsUrl? string - API URL for the owner's repository subscriptions.
- issuesUrl? string - API URL template for the organization's issues.
- receivedEventsUrl? string - API URL for events received by the owner.
- avatarUrl? string - URL of the owner's avatar image.
- eventsUrl? string - API URL template for events performed by the owner.
- htmlUrl? string - URL of the owner's profile page on GitHub.
- siteAdmin? boolean - Whether the owner is a GitHub site administrator.
- id? int - The unique numeric identifier of the owner.
- hooksUrl? string - API URL for the organization's webhooks.
- gravatarId? string - The Gravatar identifier for the owner's avatar.
- nodeId? string - The GraphQL node identifier of the owner.
- organizationsUrl? string - API URL for the owner's organization memberships.
github: BranchRestrictionPolicyPermissions
Fields
- metadata? string - Permission level granted for repository metadata.
- singleFile? string - Permission level granted for a single specified file.
- contents? string - Permission level granted for repository contents.
- issues? string - Permission level granted for repository issues.
github: BranchRestrictionPolicyTeams
Fields
- parent? string? - The parent team of this team, if any.
- repositoriesUrl? string - The URL to list repositories accessible to this team.
- membersUrl? string - The URL to list members of this team.
- description? string? - A description of the team.
- privacy? string - The privacy level of the team (secret or closed).
- permission? string - The default permission level for this team.
- url? string - The API URL of the team resource.
- notificationSetting? string - The notification setting for members of this team.
- htmlUrl? string - The URL to view the team on GitHub.
- name? string - The name of the team.
- id? int - The unique identifier of the team.
- slug? string - The URL-friendly name of the team.
- nodeId? string - The GraphQL node identifier of the team.
github: BranchShort
Branch Short
Fields
- protected boolean - Indicates whether the branch is protected.
- name string - The name of the branch.
- 'commit BranchShortCommit - The latest commit on the branch.
github: BranchShortCommit
Fields
- sha string - The SHA hash of the commit.
- url string - API URL for the commit.
github: BranchWithProtection
Branch With Protection
Fields
- protected boolean - Whether the branch has branch protection rules enabled.
- links BranchWithProtectionLinks - Hypermedia links related to the branch.
- requiredApprovingReviewCount? int - The number of approving reviews required before merging.
- name string - The name of the branch.
- 'commit Commit - The latest commit on the branch.
- pattern? string - The branch name pattern used for protection rules.
- protection BranchProtection - The branch protection settings applied to the branch.
- protectionUrl string - API URL for the branch protection settings.
github: BranchWithProtectionLinks
Fields
- self string - The API URL for the branch resource.
- html string - The URL to view the branch on GitHub.
github: CardIdMovesBody
Fields
- columnId? int - The unique identifier of the column the card should be moved to
- position string - The position of the card in a column. Can be one of: top, bottom, or after:<card_id> to place after the specified card
github: CardscardIdBody
Fields
- note? string? - The project card's note
- archived? boolean - Whether or not the card is archived
github: CheckAnnotation
Check Annotation
Fields
- path string - The file path to which this annotation applies.
- startColumn int? - The starting column number of the annotated code.
- annotationLevel string? - The severity level of the annotation (notice, warning, or failure).
- blobHref string - The URL to the annotated file blob on GitHub.
- rawDetails string? - Additional raw details providing extra information for the annotation.
- startLine int - The starting line number of the annotated code.
- title string? - The title of the annotation.
- message string? - The message describing the annotation.
- endLine int - The ending line number of the annotated code.
- endColumn int? - The ending column number of the annotated code.
github: CheckAutomatedSecurityFixes
Check Automated Security Fixes
Fields
- paused boolean - Whether automated security fixes are paused for the repository
- enabled boolean - Whether automated security fixes are enabled for the repository
github: CheckRun
A check performed on the code of a given code change
Fields
- app NullableIntegration? - The GitHub App that created this check run.
- externalId string? - A reference identifier for the check run provided by the app.
- detailsUrl string? - The URL where details about the check run are displayed.
- headSha string - The SHA of the commit that is being checked
- url string - The API URL for this check run.
- conclusion "success"|"failure"|"neutral"|"cancelled"|"skipped"|"timed_out"|"action_required"? - The final conclusion result of the completed check run.
- output CheckRunOutput - The output summary and annotations for this check run.
- completedAt string? - The date and time the check run completed.
- pullRequests PullRequestMinimal[] - Pull requests that are open with a head_sha or head_branch that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check
- htmlUrl string? - The HTML URL of the check run on GitHub.
- name string - The name of the check
- startedAt string? - The date and time the check run started.
- id int - The id of the check
- checkSuite CheckRunCheckSuite? - The check suite this check run belongs to.
- nodeId string - The GraphQL node identifier of the check run.
- status "queued"|"in_progress"|"completed" - The phase of the lifecycle that the check is currently in
- deployment? DeploymentSimple - The deployment associated with this check run.
github: CheckRunCheckSuite
Fields
- id int - The unique identifier of the check suite.
github: CheckRunOutput
Fields
- summary string? - A brief summary of the check run results.
- annotationsUrl string - API URL to retrieve annotations for the check run output.
- text string? - Detailed information about the check run results.
- title string? - The title of the check run output.
- annotationsCount int - The total number of annotations associated with the check run.
github: CheckRunResponse
A check performed on the code of a given code change
Fields
- checkRuns CheckRun[] - List of check runs associated with the code change.
- totalCount int - The total number of check runs in the response.
github: ChecksListAnnotationsQueries
Represents the Queries record for the operation: checks/list-annotations
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ChecksListForRefQueries
Represents the Queries record for the operation: checks/list-for-ref
Fields
- filter "latest"|"all" (default "latest") - Filters check runs by their completed_at timestamp. latest returns the most recent check runs
- perPage int(default 30) - The number of results per page (max 100)
- checkName? string - Returns check runs with the specified name
- page int(default 1) - Page number of the results to fetch
- appId? int - Filter check runs by the app that created them, using the app's ID.
- status? "queued"|"in_progress"|"completed" - Returns check runs with the specified status
github: ChecksListForSuiteQueries
Represents the Queries record for the operation: checks/list-for-suite
Fields
- filter "latest"|"all" (default "latest") - Filters check runs by their completed_at timestamp. latest returns the most recent check runs
- perPage int(default 30) - The number of results per page (max 100)
- checkName? string - Returns check runs with the specified name
- page int(default 1) - Page number of the results to fetch
- status? "queued"|"in_progress"|"completed" - Returns check runs with the specified status
github: ChecksListSuitesForRefQueries
Represents the Queries record for the operation: checks/list-suites-for-ref
Fields
- perPage int(default 30) - The number of results per page (max 100)
- checkName? string - Returns check runs with the specified name
- page int(default 1) - Page number of the results to fetch
- appId? int - Filters check suites by GitHub App id
github: CheckSuite
A suite of checks performed on the code of a given code change
Fields
- app NullableIntegration? - The GitHub App that created this check suite.
- headCommit SimpleCommit - The commit at the head of the branch being checked.
- headBranch string? - The name of the branch the check suite is associated with.
- before string? - The SHA of the commit before the head commit in the push.
- createdAt string? - The timestamp indicating when the check suite was created.
- repository MinimalRepository - The repository this check suite belongs to.
- headSha string - The SHA of the head commit that is being checked
- url string? - The API URL of the check suite resource.
- conclusion "success"|"failure"|"neutral"|"cancelled"|"skipped"|"timed_out"|"action_required"|"startup_failure"|"stale"? - The final conclusion of the check suite after completion.
- pullRequests PullRequestMinimal[]? - The pull requests associated with this check suite.
- updatedAt string? - The timestamp indicating when the check suite was last updated.
- latestCheckRunsCount int - The total number of check runs in this check suite.
- rerequestable? boolean - Whether the check suite can be manually rerequested.
- runsRerequestable? boolean - Whether individual check runs in the suite can be rerequested.
- id int - The unique identifier of the check suite.
- after string? - The SHA of the commit after the head commit in the push.
- checkRunsUrl string - The URL to list all check runs in this check suite.
- nodeId string - The GraphQL node identifier of the check suite.
- status "queued"|"in_progress"|"completed"? - The phase of the lifecycle that the check suite is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check suites
github: CheckSuitePreference
Check suite configuration preferences for a repository
Fields
- preferences CheckSuitePreferencePreferences - The auto-trigger preferences for check suites on the repository.
- repository MinimalRepository - The repository to which the check suite preferences apply.
github: CheckSuitePreferencePreferences
Fields
- autoTriggerChecks? CheckSuitePreferencePreferencesAutoTriggerChecks[] - The list of auto-trigger check settings per GitHub App.
github: CheckSuitePreferencePreferencesAutoTriggerChecks
Fields
- appId int - The unique identifier of the GitHub App.
- setting boolean - Whether auto-trigger is enabled for the specified app's check suites.
github: CheckSuiteResponse
A suite of checks performed on the code of a given code change
Fields
- totalCount int - The total number of check suites returned.
- checkSuites CheckSuite[] - The list of check suites.
github: CheckSuitesPreferencesBody
Fields
- autoTriggerChecks? ReposownerrepocheckSuitespreferencesAutoTriggerChecks[] - Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default
github: Classroom
A GitHub Classroom classroom
Fields
- archived boolean - Whether classroom is archived
- organization SimpleClassroomOrganization - The GitHub organization associated with the classroom.
- name string - The name of the classroom
- id int - Unique identifier of the classroom
- url string - The URL of the classroom on GitHub Classroom
github: ClassroomAcceptedAssignment
A GitHub Classroom accepted assignment
Fields
- commitCount int - Count of student commits
- submitted boolean - Whether an accepted assignment has been submitted
- assignment SimpleClassroomAssignment - The classroom assignment associated with this accepted assignment.
- grade string - Most recent grade
- students SimpleClassroomUser[] - The list of students who accepted the assignment.
- id int - Unique identifier of the repository
- passing boolean - Whether a submission passed
- repository SimpleClassroomRepository - The repository created for the accepted assignment.
github: ClassroomAssignment
A GitHub Classroom assignment
Fields
- editor string - The selected editor for the assignment
- feedbackPullRequestsEnabled boolean - Whether feedback pull request will be created when a student accepts the assignment
- invitationsEnabled boolean - Whether the invitation link is enabled. Visiting an enabled invitation link will accept the assignment
- studentsAreRepoAdmins boolean - Whether students are admins on created repository when a student accepts the assignment
- accepted int - The number of students that have accepted the assignment
- language string - The programming language used in the assignment
- classroom Classroom - The classroom to which this assignment belongs.
- title string - Assignment title
- 'type "individual"|"group" - Whether it's a group assignment or individual assignment
- inviteLink string - The link that a student can use to accept the assignment
- starterCodeRepository SimpleClassroomRepository - The repository used as starter code for the assignment.
- submitted int - The number of students that have submitted the assignment
- maxTeams int? - The maximum allowable teams for the assignment
- publicRepo boolean - Whether an accepted assignment creates a public repository
- maxMembers int? - The maximum allowable members per team
- id int - Unique identifier of the repository
- passing int - The number of students that have passed the assignment
- deadline string? - The time at which the assignment is due
- slug string - Sluggified name of the assignment
github: ClassroomAssignmentGrade
Grade for a student or groups GitHub Classroom assignment
Fields
- assignmentUrl string - URL of the assignment
- submissionTimestamp string - Timestamp of the student's assignment submission
- rosterIdentifier string - Roster identifier of the student
- groupName? string - If a group assignment, name of the group the student is in
- studentRepositoryUrl string - URL of the student's assignment repository
- pointsAwarded int - Number of points awarded to the student
- githubUsername string - GitHub username of the student
- assignmentName string - Name of the assignment
- pointsAvailable int - Number of points available for the assignment
- starterCodeUrl string - URL of the starter code for the assignment
- studentRepositoryName string - Name of the student's assignment repository
github: ClassroomListAcceptedAssigmentsForAnAssignmentQueries
Represents the Queries record for the operation: classroom/list-accepted-assigments-for-an-assignment
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ClassroomListAssignmentsForAClassroomQueries
Represents the Queries record for the operation: classroom/list-assignments-for-a-classroom
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ClassroomListClassroomsQueries
Represents the Queries record for the operation: classroom/list-classrooms
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ClientIdGrantBody
Fields
- accessToken string - The OAuth access token used to authenticate to the GitHub API
github: ClientIdTokenBody
Fields
- accessToken string - The access_token of the OAuth or GitHub application
github: CloneTraffic
Clone Traffic
Fields
- clones Traffic[] - List of clone traffic data points over time.
- count int - The total number of clones over the reporting period.
- uniques int - The number of unique cloners over the reporting period.
github: CodeOfConduct
Code Of Conduct
Fields
- htmlUrl string? - The HTML URL to view the code of conduct on GitHub.
- name string - The display name of the code of conduct.
- body? string - The full text content of the code of conduct.
- 'key string - The unique key identifier for the code of conduct.
- url string - The API URL for the code of conduct.
github: CodeOfConductSimple
Code of Conduct Simple
Fields
- htmlUrl string? - The URL of the code of conduct page on GitHub.
- name string - The name of the code of conduct.
- url string - The API URL for the code of conduct.
- 'key string - The unique key identifying the code of conduct.
github: CodeownersErrors
A list of errors found in a repo's CODEOWNERS file
Fields
- errors CodeownersErrorsErrors[] - List of errors found in the repository's CODEOWNERS file.
github: CodeownersErrorsErrors
Fields
- path string - The path of the file where the error occured
- line int - The line number where this errors occurs
- kind string - The type of error
- suggestion? string? - Suggested action to fix the error. This will usually be null, but is provided for some common errors
- column int - The column number where this errors occurs
- 'source? string - The contents of the line where the error occurs
- message string - A human-readable description of the error, combining information from multiple fields, laid out for display in a monospaced typeface (for example, a command-line setting)
github: CodeScanningAlert
Fields
- instancesUrl AlertInstancesUrl - The URL to retrieve all instances of this code scanning alert.
- createdAt AlertCreatedAt - Timestamp when the code scanning alert was created.
- dismissedComment? CodeScanningAlertDismissedComment? - Optional comment provided when the alert was dismissed.
- rule CodeScanningAlertRule - The code scanning rule that triggered this alert.
- url AlertUrl - The API URL for this code scanning alert.
- tool CodeScanningAnalysisTool - The analysis tool that generated this code scanning alert.
- number AlertNumber - The unique number identifying this alert within the repository.
- updatedAt? AlertUpdatedAt - Timestamp when the code scanning alert was last updated.
- htmlUrl AlertHtmlUrl - The HTML URL to view the alert on GitHub.
- fixedAt? AlertFixedAt? - Timestamp when the code scanning alert was fixed.
- mostRecentInstance CodeScanningAlertInstance - The most recent instance of this code scanning alert.
- state CodeScanningAlertState - The state of the code scanning alert.
- dismissedBy NullableSimpleUser? - The user who dismissed the code scanning alert.
- dismissedReason CodeScanningAlertDismissedReason? - The reason provided for dismissing the alert.
- dismissedAt AlertDismissedAt? - Timestamp when the code scanning alert was dismissed.
github: CodeScanningAlertInstance
Fields
- classifications? CodeScanningAlertClassification[] - Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file
- ref? CodeScanningRef - The Git reference associated with this alert instance.
- environment? CodeScanningAlertEnvironment - The environment in which the alert instance was detected.
- commitSha? string - The SHA of the commit where the alert instance was detected.
- htmlUrl? string - The URL of the alert instance page on GitHub.
- location? CodeScanningAlertLocation - The code location where the alert was detected.
- state? CodeScanningAlertState - The state of the code scanning alert instance.
- analysisKey? CodeScanningAnalysisAnalysisKey - The analysis key that identifies the analysis configuration.
- category? CodeScanningAnalysisCategory - The category of the code scanning analysis that produced this alert.
- message? CodeScanningAlertInstanceMessage - The message associated with the code scanning alert instance.
github: CodeScanningAlertInstanceMessage
Fields
- text? string - The message text describing the code scanning alert.
github: CodeScanningAlertItems
Fields
- instancesUrl AlertInstancesUrl - The API URL to list all instances of this alert.
- createdAt AlertCreatedAt - The date and time the alert was created.
- dismissedComment? CodeScanningAlertDismissedComment? - Optional comment provided when the alert was dismissed.
- rule CodeScanningAlertRuleSummary - The code scanning rule that triggered this alert.
- url AlertUrl - The API URL for this code scanning alert.
- tool CodeScanningAnalysisTool - The code scanning tool that generated this alert.
- number AlertNumber - The unique number identifying this alert within the repository.
- updatedAt? AlertUpdatedAt - The date and time the alert was last updated.
- htmlUrl AlertHtmlUrl - The HTML URL of the alert on GitHub.
- fixedAt? AlertFixedAt? - The date and time the alert was fixed.
- mostRecentInstance CodeScanningAlertInstance - The most recent instance of this alert.
- state CodeScanningAlertState - The current state of the code scanning alert.
- dismissedBy NullableSimpleUser? - The user who dismissed this alert.
- dismissedReason CodeScanningAlertDismissedReason? - The reason provided when the alert was dismissed.
- dismissedAt AlertDismissedAt? - The date and time the alert was dismissed.
github: CodeScanningAlertLocation
Describe a region within a file for the alert
Fields
- path? string - The file path where the alert was detected.
- startColumn? int - The column number where the alert region begins.
- startLine? int - The line number where the alert region begins.
- endLine? int - The line number where the alert region ends.
- endColumn? int - The column number where the alert region ends.
github: CodeScanningAlertRule
Fields
- severity? "none"|"note"|"warning"|"error"? - The severity of the alert
- help? string? - Detailed documentation for the rule as GitHub Flavored Markdown
- securitySeverityLevel? "low"|"medium"|"high"|"critical"? - The security severity of the alert
- fullDescription? string - description of the rule used to detect the alert
- name? string - The name of the rule used to detect the alert
- description? string - A short description of the rule used to detect the alert
- id? string? - A unique identifier for the rule used to detect the alert
- helpUri? string? - A link to the documentation for the rule used to detect the alert
- tags? string[]? - A set of tags applicable for the rule
github: CodeScanningAlertRuleSummary
Fields
- severity? "none"|"note"|"warning"|"error"? - The severity of the alert
- name? string - The name of the rule used to detect the alert
- description? string - A short description of the rule used to detect the alert
- id? string? - A unique identifier for the rule used to detect the alert
- tags? string[]? - A set of tags applicable for the rule
github: CodeScanningAnalysis
Fields
- deletable boolean - Indicates whether this analysis can be deleted.
- createdAt CodeScanningAnalysisCreatedAt - The date and time the analysis was created.
- rulesCount int - The total number of rules used in the analysis
- analysisKey CodeScanningAnalysisAnalysisKey - The unique key identifying the analysis configuration.
- 'error string - Any error message generated during the analysis.
- url CodeScanningAnalysisUrl - The API URL for this code scanning analysis.
- tool CodeScanningAnalysisTool - The code scanning tool used to perform the analysis.
- ref CodeScanningRef - The Git reference associated with the analysis.
- commitSha CodeScanningAnalysisCommitSha - The SHA of the commit the analysis was performed on.
- environment CodeScanningAnalysisEnvironment - The environment variables used in the analysis.
- resultsCount int - The total number of results in the analysis
- warning string - Warning generated when processing the analysis
- sarifId CodeScanningAnalysisSarifId - The SARIF ID associated with the uploaded analysis file.
- id int - Unique identifier for this analysis
- category? CodeScanningAnalysisCategory - The category grouping for this analysis.
github: CodeScanningAnalysisDeletion
Successful deletion of a code scanning analysis
Fields
- nextAnalysisUrl string? - Next deletable analysis in chain, without last analysis deletion confirmation
- confirmDeleteUrl string? - Next deletable analysis in chain, with last analysis deletion confirmation
github: CodeScanningAnalysisTool
Fields
- name? CodeScanningAnalysisToolName - The name of the code scanning analysis tool.
- guid? CodeScanningAnalysisToolGuid? - The globally unique identifier of the code scanning tool.
- version? CodeScanningAnalysisToolVersion? - The version of the code scanning analysis tool.
github: CodeScanningCodeqlDatabase
A CodeQL database
Fields
- contentType string - The MIME type of the CodeQL database file
- size int - The size of the CodeQL database file in bytes
- updatedAt string - The date and time at which the CodeQL database was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ
- commitOid? string? - The commit SHA of the repository at the time the CodeQL database was created
- uploader SimpleUser - The user who uploaded the CodeQL database.
- name string - The name of the CodeQL database
- createdAt string - The date and time at which the CodeQL database was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ
- language string - The language of the CodeQL database
- id int - The ID of the CodeQL database
- url string - The URL at which to download the CodeQL database. The Accept header must be set to the value of the content_type property
github: CodeScanningDefaultSetup
Configuration for code scanning default setup
Fields
- schedule? "weekly"? - The frequency of the periodic analysis
- querySuite? "default"|"extended" - CodeQL query suite to be used
- languages? ("c-cpp"|"csharp"|"go"|"java-kotlin"|"javascript-typescript"|"javascript"|"python"|"ruby"|"typescript"|"swift")[] - Languages to be analyzed
- updatedAt? string? - Timestamp of latest configuration update
- state? "configured"|"not-configured" - Code scanning default setup has been configured or not
github: CodeScanningDefaultSetupUpdate
Configuration for code scanning default setup
Fields
- querySuite? "default"|"extended" - CodeQL query suite to be used
- languages? ("c-cpp"|"csharp"|"go"|"java-kotlin"|"javascript-typescript"|"python"|"ruby"|"swift")[] - CodeQL languages to be analyzed
- state "configured"|"not-configured" - Whether code scanning default setup has been configured or not
github: CodeScanningDefaultSetupUpdateResponse
You can use run_url to track the status of the run. This includes a property status and conclusion. You should not rely on this always being an actions workflow run object
Fields
- runId? int - ID of the corresponding run
- runUrl? string - URL of the corresponding run
github: CodeScanningDeleteAnalysisQueries
Represents the Queries record for the operation: code-scanning/delete-analysis
Fields
- confirmDelete? string? - Allow deletion if the specified analysis is the last in a set. If you attempt to delete the final analysis in a set without setting this parameter to true, you'll get a 400 response with the message: Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete
github: CodeScanningListAlertInstancesQueries
Represents the Queries record for the operation: code-scanning/list-alert-instances
Fields
- perPage int(default 30) - The number of results per page (max 100)
- ref? CodeScanningRef - The Git reference for the results you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge
- page int(default 1) - Page number of the results to fetch
github: CodeScanningListAlertsForOrgQueries
Represents the Queries record for the operation: code-scanning/list-alerts-for-org
Fields
- toolName? CodeScanningAnalysisToolName - The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either tool_name or tool_guid, but not both
- severity? CodeScanningAlertSeverity - If specified, only code scanning alerts with this severity will be returned
- perPage int(default 30) - The number of results per page (max 100)
- before? string - A cursor, as given in the Link header. If specified, the query only searches for results before this cursor
- after? string - A cursor, as given in the Link header. If specified, the query only searches for results after this cursor
- page int(default 1) - Page number of the results to fetch
- state? CodeScanningAlertStateQuery - If specified, only code scanning alerts with this state will be returned
- sort "created"|"updated" (default "created") - The property by which to sort the results
- toolGuid? CodeScanningAnalysisToolGuid? - The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either tool_guid or tool_name, but not both
- direction "asc"|"desc" (default "desc") - The direction to sort the results by
github: CodeScanningListAlertsForRepoQueries
Represents the Queries record for the operation: code-scanning/list-alerts-for-repo
Fields
- toolName? CodeScanningAnalysisToolName - The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either tool_name or tool_guid, but not both
- severity? CodeScanningAlertSeverity - If specified, only code scanning alerts with this severity will be returned
- perPage int(default 30) - The number of results per page (max 100)
- ref? CodeScanningRef - The Git reference for the results you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge
- page int(default 1) - Page number of the results to fetch
- sort "created"|"updated" (default "created") - The property by which to sort the results
- state? CodeScanningAlertStateQuery - If specified, only code scanning alerts with this state will be returned
- toolGuid? CodeScanningAnalysisToolGuid? - The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either tool_guid or tool_name, but not both
- direction "asc"|"desc" (default "desc") - The direction to sort the results by
github: CodeScanningListRecentAnalysesQueries
Represents the Queries record for the operation: code-scanning/list-recent-analyses
Fields
- toolName? CodeScanningAnalysisToolName - The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either tool_name or tool_guid, but not both
- perPage int(default 30) - The number of results per page (max 100)
- ref? CodeScanningRef - The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge
- sarifId? CodeScanningAnalysisSarifId - Filter analyses belonging to the same SARIF upload
- page int(default 1) - Page number of the results to fetch
- sort "created" (default "created") - The property by which to sort the results
- toolGuid? CodeScanningAnalysisToolGuid? - The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either tool_guid or tool_name, but not both
- direction "asc"|"desc" (default "desc") - The direction to sort the results by
github: CodeScanningOrganizationAlertItems
Fields
- instancesUrl AlertInstancesUrl - URL for listing all instances of this code scanning alert.
- createdAt AlertCreatedAt - Timestamp indicating when the code scanning alert was created.
- dismissedComment? CodeScanningAlertDismissedComment? - Optional comment provided when the alert was dismissed.
- rule CodeScanningAlertRule - Details of the code scanning rule that triggered this alert.
- repository SimpleRepository - The repository where this code scanning alert was detected.
- url AlertUrl - API URL for accessing this code scanning alert.
- tool CodeScanningAnalysisTool - The code analysis tool that generated this alert.
- number AlertNumber - Unique number identifying this alert within the repository.
- updatedAt? AlertUpdatedAt - Timestamp indicating when the code scanning alert was last updated.
- htmlUrl AlertHtmlUrl - HTML URL for viewing this alert in the GitHub UI.
- fixedAt? AlertFixedAt? - Timestamp indicating when the code scanning alert was fixed.
- mostRecentInstance CodeScanningAlertInstance - The most recent instance of this code scanning alert.
- state CodeScanningAlertState - Current state of the code scanning alert.
- dismissedBy NullableSimpleUser? - The user who dismissed this code scanning alert.
- dismissedReason CodeScanningAlertDismissedReason? - Reason provided for dismissing this code scanning alert.
- dismissedAt AlertDismissedAt? - Timestamp indicating when this code scanning alert was dismissed.
github: CodeScanningSarifsBody
Fields
- toolName? string - The name of the tool used to generate the code scanning analysis. If this parameter is not used, the tool name defaults to "API". If the uploaded SARIF contains a tool GUID, this will be available for filtering using the tool_guid parameter of operations such as GET /repos/{owner}/{repo}/code-scanning/alerts
- commitSha CodeScanningAnalysisCommitSha - The SHA of the commit the SARIF analysis was performed on.
- ref CodeScanningRef - The Git reference associated with the uploaded SARIF analysis.
- sarif CodeScanningAnalysisSarifFile - The SARIF data containing the code scanning analysis results.
- checkoutUri? string - The base directory used in the analysis, as it appears in the SARIF file. This property is used to convert file paths from absolute to relative, so that alerts can be mapped to their correct location in the repository
- validate? boolean - Whether the SARIF file will be validated according to the code scanning specifications. This parameter is intended to help integrators ensure that the uploaded SARIF files are correctly rendered by code scanning
github: CodeScanningSarifsReceipt
Fields
- id? CodeScanningAnalysisSarifId - The identifier for the uploaded SARIF analysis.
- url? string - The REST API URL for checking the status of the upload
github: CodeScanningSarifsStatus
Fields
- processingStatus? "pending"|"complete"|"failed" - pending files have not yet been processed, while complete means results from the SARIF have been stored. failed files have either not been processed at all, or could only be partially processed
- analysesUrl? string? - The REST API URL for getting the analyses associated with the upload
- errors? string[]? - Any errors that ocurred during processing of the delivery
github: CodeSearchResultItem
Code Search Result Item
Fields
- lineNumbers? string[] - Line numbers in the file where the search match was found.
- language? string? - The programming language of the file.
- repository MinimalRepository - The repository containing the matched file.
- sha string - The SHA hash of the file blob.
- url string - The API URL for this file.
- fileSize? int - The size of the file in bytes.
- lastModifiedAt? string - The timestamp when the file was last modified.
- path string - The path to the file within the repository.
- score decimal - The relevance score of this search result.
- htmlUrl string - The HTML URL to view the file on GitHub.
- textMatches? SearchResultTextMatches - Text fragments showing where the search terms matched.
- name string - The name of the file.
- gitUrl string - The Git API URL for the file blob.
github: CodeSearchResultItemResponse
Code Search Result Item
Fields
- totalCount int - The total number of code search results found.
- incompleteResults boolean - Indicates whether the search results are incomplete.
- items CodeSearchResultItem[] - The list of code search result items returned.
github: Codespace
A codespace
Fields
- environmentId string? - UUID identifying this codespace's environment
- pendingOperation? boolean? - Whether or not a codespace has a pending async operation. This would mean that the codespace is temporarily unavailable. The only thing that you can do with a codespace in this state is delete it
- billableOwner SimpleUser - The user to whom charges for this codespace are billed.
- startUrl string - API URL to start this codespace
- createdAt string - The timestamp when this codespace was created.
- stopUrl string - API URL to stop this codespace
- repository MinimalRepository - The repository associated with this codespace.
- lastUsedAt string - Last known time this codespace was started
- prebuild boolean? - Whether the codespace was created from a prebuild
- updatedAt string - The timestamp when this codespace was last updated.
- retentionExpiresAt? string? - When a codespace will be auto-deleted based on the "retention_period_minutes" and "last_used_at"
- id int - Unique numeric identifier for this codespace.
- state "Unknown"|"Created"|"Queued"|"Provisioning"|"Available"|"Awaiting"|"Unavailable"|"Deleted"|"Moved"|"Shutdown"|"Archived"|"Starting"|"ShuttingDown"|"Failed"|"Exporting"|"Updating"|"Rebuilding" - State of this codespace
- gitStatus CodespaceGitStatus - The current git status of the codespace's working directory.
- publishUrl? string? - API URL to publish this codespace to a new repository
- machinesUrl string - API URL to access available alternate machine types for this codespace
- owner SimpleUser - The user who owns this codespace.
- runtimeConstraints? CodespaceRuntimeConstraints - Runtime constraints applied to this codespace.
- lastKnownStopNotice? string? - The text to display to a user when a codespace has been stopped for a potentially actionable reason
- recentFolders string[] - List of recently opened folders in this codespace.
- retentionPeriodMinutes? int? - Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days)
- displayName? string? - Display name for this codespace
- url string - API URL for this codespace
- devcontainerPath? string? - Path to devcontainer.json from repo root used to create Codespace
- pendingOperationDisabledReason? string? - Text to show user when codespace is disabled by a pending operation
- webUrl string - URL to access this codespace on the web
- machine NullableCodespaceMachine? - The machine type used by this codespace.
- name string - Automatically generated name of this codespace
- pullsUrl string? - API URL for the Pull Request associated with this codespace, if any
- location "EastUs"|"SouthEastAsia"|"WestEurope"|"WestUs2" - The initally assigned location of a new codespace
- idleTimeoutNotice? string? - Text to show user when codespace idle timeout minutes has been overriden by an organization policy
- idleTimeoutMinutes int? - The number of minutes of inactivity after which this codespace will be automatically stopped
github: CodespaceDefault
Codespace default attributes
Fields
- devcontainerPath string? - The path to the devcontainer configuration file for the codespace.
- location string - The geographic location where the codespace will be created.
github: CodespaceDefaultResponse
Codespace default attributes
Fields
- defaults? CodespaceDefault - The default codespace configuration attributes.
- billableOwner? SimpleUser - The user billed for the codespace usage.
github: CodespaceExportDetails
An export of a codespace. Also, latest export details for a codespace can be fetched with id = latest
Fields
- completedAt? string? - Completion time of the last export operation
- htmlUrl? string? - Web url for the exported branch
- exportUrl? string - Url for fetching export details
- state? string? - State of the latest export
- id? string - Id for the export details
- branch? string? - Name of the exported branch
- sha? string? - Git commit SHA of the exported branch
github: CodespaceGitStatus
Details about the codespace's git repository
Fields
- behind? int - The number of commits the local repository is behind the remote
- ref? string - The current branch (or SHA if in detached HEAD state) of the local repository
- ahead? int - The number of commits the local repository is ahead of the remote
- hasUnpushedChanges? boolean - Whether the local repository has unpushed changes
- hasUncommittedChanges? boolean - Whether the local repository has uncommitted changes
github: CodespaceMachine
A description of the machine powering a codespace
Fields
- cpus int - How many cores are available to the codespace
- name string - The name of the machine
- prebuildAvailability "none"|"ready"|"in_progress"? - Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be "null" if prebuilds are not supported or prebuild availability could not be determined. Value will be "none" if no prebuild is available. Latest values "ready" and "in_progress" indicate the prebuild availability status
- operatingSystem string - The operating system of the machine
- displayName string - The display name of the machine includes cores, memory, and storage
- memoryInBytes int - How much memory is available to the codespace
- storageInBytes int - How much storage is available to the codespace
github: CodespaceMachineResponse
A description of the machine powering a codespace
Fields
- totalCount int - The total number of available codespace machines.
- machines CodespaceMachine[] - The list of machine types available for codeapces.
github: CodespaceNamePublishBody
Fields
- 'private boolean(default false) - Whether the new repository should be private
- name? string - A name for the new repository
github: CodespaceResponse
A codespace
Fields
- totalCount int - The total number of codespaces returned.
- codespaces Codespace[] - The list of codespaces for the user or organization.
github: CodespaceRuntimeConstraints
Fields
- allowedPortPrivacySettings? string[]? - The privacy settings a user can select from when forwarding a port
github: CodespacesAccessBody
Fields
- visibility "disabled"|"selected_members"|"all_members"|"all_members_and_outside_collaborators" - Which users can access codespaces in the organization. disabled means that no users can access codespaces in the organization
- selectedUsernames? string[] - The usernames of the organization members who should have access to codespaces in the organization. Required when visibility is selected_members. The provided list of usernames will replace any existing value
github: CodespacesCheckPermissionsForDevcontainerQueries
Represents the Queries record for the operation: codespaces/check-permissions-for-devcontainer
Fields
- devcontainerPath string - Path to the devcontainer.json configuration to use for the permission check
- ref string - The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of ref will typically be a branch name (heads/BRANCH_NAME). For more information, see "Git References" in the Git documentation
github: CodespacescodespaceNameBody
Fields
- machine? string - A valid machine to transition this codespace to
- recentFolders? string[] - Recently opened folders inside the codespace. It is currently used by the clients to determine the folder path to load the codespace in
- displayName? string - Display name for this codespace
github: CodespacesGetCodespacesForUserInOrgQueries
Represents the Queries record for the operation: codespaces/get-codespaces-for-user-in-org
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: CodespacesListDevcontainersInRepositoryForAuthenticatedUserQueries
Represents the Queries record for the operation: codespaces/list-devcontainers-in-repository-for-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: CodespacesListForAuthenticatedUserQueries
Represents the Queries record for the operation: codespaces/list-for-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- repositoryId? int - ID of the Repository to filter on
- page int(default 1) - Page number of the results to fetch
github: CodespacesListInOrganizationQueries
Represents the Queries record for the operation: codespaces/list-in-organization
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: CodespacesListInRepositoryForAuthenticatedUserQueries
Represents the Queries record for the operation: codespaces/list-in-repository-for-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: CodespacesListOrgSecretsQueries
Represents the Queries record for the operation: codespaces/list-org-secrets
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: CodespacesListRepoSecretsQueries
Represents the Queries record for the operation: codespaces/list-repo-secrets
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: CodespacesListSecretsForAuthenticatedUserQueries
Represents the Queries record for the operation: codespaces/list-secrets-for-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: CodespacesListSelectedReposForOrgSecretQueries
Represents the Queries record for the operation: codespaces/list-selected-repos-for-org-secret
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: CodespacesOrgSecret
Secrets for a GitHub Codespace
Fields
- updatedAt string - The date and time at which the secret was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ
- visibility "all"|"private"|"selected" - The type of repositories in the organization that the secret is visible to
- name string - The name of the secret
- selectedRepositoriesUrl? string - The API URL at which the list of repositories this secret is visible to can be retrieved
- createdAt string - The date and time at which the secret was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ
github: CodespacesOrgSecretResponse
Secrets for a GitHub Codespace
Fields
- totalCount int - The total number of organization-level Codespace secrets.
- secrets CodespacesOrgSecret[] - The list of Codespace secrets for the organization.
github: CodespacesPermissionsCheckForDevcontainer
Permission check result for a given devcontainer config
Fields
- accepted boolean - Whether the user has accepted the permissions defined by the devcontainer config
github: CodespacesPreFlightWithRepoForAuthenticatedUserQueries
Represents the Queries record for the operation: codespaces/pre-flight-with-repo-for-authenticated-user
Fields
- ref? string - The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked
- clientIp? string - An alternative IP for default location auto-detection, such as when proxying a request
github: CodespacesPublicKey
The public key used for setting Codespaces secrets
Fields
- keyId string - The identifier for the key
- createdAt? string - The date and time the public key was created.
- id? int - The unique numeric identifier for the public key.
- title? string - The title or label associated with the public key.
- 'key string - The Base64 encoded public key
- url? string - The API URL for the public key resource.
github: CodespacesRepoMachinesForAuthenticatedUserQueries
Represents the Queries record for the operation: codespaces/repo-machines-for-authenticated-user
Fields
- ref? string - The branch or commit to check for prebuild availability and devcontainer restrictions
- location? string - The location to check for available machines. Assigned by IP if not provided
- clientIp? string - IP for location auto-detection when proxying a request
github: CodespacesSecret
Secrets for a GitHub Codespace
Fields
- updatedAt string - The date and time at which the secret was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ
- visibility "all"|"private"|"selected" - The type of repositories in the organization that the secret is visible to
- name string - The name of the secret
- selectedRepositoriesUrl string - The API URL at which the list of repositories this secret is visible to can be retrieved
- createdAt string - The date and time at which the secret was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ
github: CodespacesSecretResponse
Secrets for a GitHub Codespace
Fields
- totalCount int - The total number of Codespaces secrets available.
- secrets CodespacesSecret[] - List of secrets for the GitHub Codespace.
github: CodespacesUserPublicKey
The public key used for setting user Codespaces' Secrets
Fields
- keyId string - The identifier for the key
- 'key string - The Base64 encoded public key
github: CodespaceWithFullRepository
A codespace
Fields
- environmentId string? - UUID identifying this codespace's environment
- pendingOperation? boolean? - Whether or not a codespace has a pending async operation. This would mean that the codespace is temporarily unavailable. The only thing that you can do with a codespace in this state is delete it
- billableOwner SimpleUser - The user to whom the codespace usage is billed.
- startUrl string - API URL to start this codespace
- createdAt string - The date and time when the codespace was created.
- stopUrl string - API URL to stop this codespace
- repository FullRepository - The full repository associated with this codespace.
- lastUsedAt string - Last known time this codespace was started
- prebuild boolean? - Whether the codespace was created from a prebuild
- updatedAt string - The date and time when the codespace was last updated.
- retentionExpiresAt? string? - When a codespace will be auto-deleted based on the "retention_period_minutes" and "last_used_at"
- id int - Unique numeric identifier for the codespace.
- state "Unknown"|"Created"|"Queued"|"Provisioning"|"Available"|"Awaiting"|"Unavailable"|"Deleted"|"Moved"|"Shutdown"|"Archived"|"Starting"|"ShuttingDown"|"Failed"|"Exporting"|"Updating"|"Rebuilding" - State of this codespace
- gitStatus CodespaceGitStatus - The current Git status of the codespace repository.
- publishUrl? string? - API URL to publish this codespace to a new repository
- machinesUrl string - API URL to access available alternate machine types for this codespace
- owner SimpleUser - The user who owns this codespace.
- runtimeConstraints? CodespaceRuntimeConstraints - The runtime constraints applied to this codespace.
- recentFolders string[] - List of recently opened folders within the codespace.
- retentionPeriodMinutes? int? - Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days)
- displayName? string? - Display name for this codespace
- url string - API URL for this codespace
- devcontainerPath? string? - Path to devcontainer.json from repo root used to create Codespace
- pendingOperationDisabledReason? string? - Text to show user when codespace is disabled by a pending operation
- webUrl string - URL to access this codespace on the web
- machine NullableCodespaceMachine? - The machine type allocated for this codespace.
- name string - Automatically generated name of this codespace
- pullsUrl string? - API URL for the Pull Request associated with this codespace, if any
- location "EastUs"|"SouthEastAsia"|"WestEurope"|"WestUs2" - The initally assigned location of a new codespace
- idleTimeoutNotice? string? - Text to show user when codespace idle timeout minutes has been overriden by an organization policy
- idleTimeoutMinutes int? - The number of minutes of inactivity after which this codespace will be automatically stopped
github: Collaborator
Collaborator
Fields
- gistsUrl string - API URL template for the user's gists
- reposUrl string - API URL to list the user's repositories
- followingUrl string - API URL template to check who the user is following
- starredUrl string - API URL template for repositories the user has starred
- login string - The username of the user
- followersUrl string - API URL to list the user's followers
- 'type string - The type of the account
- url string - API URL for the user
- roleName string - The role name assigned to the collaborator
- subscriptionsUrl string - API URL to list repositories the user is watching
- receivedEventsUrl string - API URL for events received by the user
- avatarUrl string - URL of the user's avatar image
- eventsUrl string - API URL template for the user's events
- permissions? NullableCollaboratorPermissions - The permission levels granted to the collaborator on the repository.
- htmlUrl string - URL of the user's GitHub profile page
- name? string? - The display name of the user
- siteAdmin boolean - Whether the user is a GitHub site administrator
- id int - The unique identifier of the user
- gravatarId string? - The Gravatar ID of the user
- email? string? - The publicly visible email address of the user
- nodeId string - The GraphQL node identifier of the user
- organizationsUrl string - API URL to list the user's organizations
github: CollaboratorsusernameBody
Fields
- permission "read"|"write"|"admin" (default "write") - The permission to grant the collaborator
github: CollaboratorsusernameBody1
Fields
- permission string(default "push") - The permission to grant the collaborator. Only valid on organization-owned repositories. We accept the following permissions to be set: pull, triage, push, maintain, admin and you can also specify a custom repository role name, if the owning organization has defined any
github: ColumnIdMovesBody
Fields
- position string - The position of the column in a project. Can be one of: first, last, or after:<column_id> to place after the specified column
github: ColumnscolumnIdBody
Fields
- name string - Name of the project column
github: CombinedBillingUsage
Fields
- daysLeftInBillingCycle int - Numbers of days left in billing cycle
- estimatedPaidStorageForMonth int - Estimated storage space (GB) used in billing cycle
- estimatedStorageForMonth int - Estimated sum of free and paid storage space (GB) used in billing cycle
github: CombinedCommitStatus
Combined Commit Status
Fields
- commitUrl string - API URL for the commit this status is associated with.
- totalCount int - The total number of statuses for this commit.
- statuses SimpleCommitStatus[] - The list of individual commit statuses.
- state string - The combined state of all statuses for the commit.
- repository MinimalRepository - The repository containing the commit.
- sha string - The SHA of the commit.
- url string - API URL for this combined commit status.
github: CommentIdReactionsBody
Fields
- content "+1"|"-1"|"laugh"|"confused"|"heart"|"hooray"|"rocket"|"eyes" - The reaction type to add to the commit comment
github: CommentIdReactionsBody1
Fields
- content "+1"|"-1"|"laugh"|"confused"|"heart"|"hooray"|"rocket"|"eyes" - The reaction type to add to the issue comment
github: CommentIdReactionsBody2
Fields
- content "+1"|"-1"|"laugh"|"confused"|"heart"|"hooray"|"rocket"|"eyes" - The reaction type to add to the pull request review comment
github: CommentIdRepliesBody
Fields
- body string - The text of the review comment
github: CommentNumberReactionsBody
Fields
- content "+1"|"-1"|"laugh"|"confused"|"heart"|"hooray"|"rocket"|"eyes" - The reaction type to add to the team discussion comment
github: CommentscommentIdBody
Fields
- body string - The contents of the comment
github: CommentscommentIdBody1
Fields
- body string - The contents of the comment
github: CommentscommentIdBody2
Fields
- body string - The text of the reply to the review comment
github: Commit
Commit
Fields
- committer NullableSimpleUser? - The GitHub user who committed the commit.
- stats? CommitStats - Statistics about additions and deletions in the commit.
- author NullableSimpleUser? - The GitHub user who authored the commit.
- htmlUrl string - URL of the commit page on GitHub
- commentsUrl string - API URL for the commit's comments
- 'commit CommitCommit - The raw Git commit data including message and authorship.
- files? DiffEntry[] - The list of files changed in the commit
- sha string - The SHA hash of the commit
- url string - API URL for the commit
- nodeId string - The GraphQL node identifier of the commit
- parents CommitParents[] - The parent commits of this commit
github: CommitActivity
Commit Activity
Fields
- total int - The total number of commits in the week.
- week int - The Unix timestamp representing the start of the week.
- days int[] - The number of commits per day of the week, Sunday through Saturday.
github: CommitComment
Commit Comment
Fields
- line int? - The line number in the file the comment applies to.
- createdAt string - The date and time the comment was created.
- body string - The content of the commit comment.
- url string - API URL for the commit comment.
- authorAssociation AuthorAssociation - The commenter's association with the repository.
- path string? - The relative file path the comment is associated with.
- updatedAt string - The date and time the comment was last updated.
- htmlUrl string - URL of the commit comment on GitHub.
- reactions? ReactionRollup - Reaction counts for the commit comment.
- id int - The unique identifier of the commit comment.
- position int? - The line index in the diff the comment applies to.
- commitId string - The SHA of the commit the comment is associated with.
- user NullableSimpleUser? - The user who created the commit comment.
- nodeId string - The GraphQL node identifier of the commit comment.
github: CommitCommit
The Git commit data
Fields
- commentCount int - The number of comments on this commit.
- committer NullableGitUser? - The Git user information for the committer.
- author NullableGitUser? - The Git user information for the author.
- tree CommitCommitTree - The Git tree object associated with this commit.
- message string - The commit message.
- url string - The API URL for this commit object.
- verification? Verification - The signature verification details for this commit.
github: CommitCommitTree
Fields
- sha string - The SHA hash of the commit tree object.
- url string - The API URL of the commit tree resource.
github: CommitComparison
Commit Comparison
Fields
- baseCommit Commit - The base commit used as the starting point for comparison.
- behindBy int - Number of commits the head is behind the base.
- diffUrl string - The URL to view the diff between the two commits.
- aheadBy int - Number of commits the head is ahead of the base.
- mergeBaseCommit Commit - The common ancestor commit of the two compared commits.
- url string - The API URL for this commit comparison.
- totalCommits int - The total number of commits between the two references.
- patchUrl string - The URL to download the patch for this comparison.
- htmlUrl string - The HTML URL to view the comparison on GitHub.
- commits Commit[] - The list of commits between the base and head.
- files? DiffEntry[] - The list of files changed between the two commits.
- permalinkUrl string - The permanent URL for this commit comparison.
- status "diverged"|"ahead"|"behind"|"identical" - The relationship status between the base and head commits.
github: CommitParents
Fields
- htmlUrl? string - The URL to view the parent commit on GitHub.
- sha string - The SHA hash of the parent commit.
- url string - The API URL for the parent commit resource.
github: CommitSearchResultItem
Commit Search Result Item
Fields
- score decimal - The search relevance score for this commit result.
- committer NullableGitUser? - The Git user who committed the changes.
- author NullableSimpleUser? - The GitHub user who authored the commit.
- htmlUrl string - The URL to view this commit on GitHub.
- textMatches? SearchResultTextMatches - Text fragments that matched the search query within this commit.
- commentsUrl string - The API URL to retrieve comments for this commit.
- 'commit CommitSearchResultItemCommit - Detailed commit data including message, tree, and author information.
- repository MinimalRepository - The repository where this commit was made.
- sha string - The SHA hash uniquely identifying this commit.
- url string - The API URL for this commit resource.
- parents CommitSearchResultItemParents[] - List of parent commits for this commit.
- nodeId string - The unique GraphQL node identifier for this commit.
github: CommitSearchResultItemCommit
Fields
- commentCount int - The number of comments on the commit.
- committer NullableGitUser? - The Git user who committed the change.
- author CommitSearchResultItemCommitAuthor - The author information for the commit.
- tree CommitSearchResultItemCommitTree - The Git tree object associated with the commit.
- message string - The commit message describing the changes made.
- url string - The API URL for the commit resource.
- verification? Verification - The GPG signature verification status of the commit.
github: CommitSearchResultItemCommitAuthor
Fields
- date string - The date and time when the commit was authored.
- name string - The name of the commit author.
- email string - The email address of the commit author.
github: CommitSearchResultItemCommitTree
Fields
- sha string - The SHA of the Git tree object for the commit.
- url string - The API URL for the Git tree object.
github: CommitSearchResultItemParents
Fields
- htmlUrl? string - The HTML URL of the parent commit on GitHub.
- sha? string - The SHA hash of the parent commit.
- url? string - The API URL of the parent commit.
github: CommitSearchResultItemResponse
Commit Search Result Item
Fields
- totalCount int - The total number of commits matching the search query.
- incompleteResults boolean - Whether the search results are incomplete due to a timeout.
- items CommitSearchResultItem[] - The list of commit search result items.
github: CommitShaCommentsBody
Fields
- path? string - Relative path of the file to comment on
- line? int - Deprecated. Use position parameter instead. Line number in the file to comment on
- position? int - Line index in the diff to comment on
- body string - The contents of the comment
github: CommitStats
The commit statistics showing additions, deletions, and total changes
Fields
- total? int - The total number of lines changed in the commit.
- additions? int - The number of lines added in the commit.
- deletions? int - The number of lines deleted in the commit.
github: CommunityProfile
Community Profile
Fields
- healthPercentage int - The overall community health score as a percentage.
- updatedAt string? - The date and time when the community profile was last updated.
- documentation string? - URL to the repository's documentation.
- description string? - The description of the repository.
- files CommunityProfileFiles - Community health files present in the repository.
- contentReportsEnabled? boolean - Indicates whether content reporting is enabled for the repository.
github: CommunityProfileFiles
Fields
- issueTemplate NullableCommunityHealthFile? - The issue template community health file for the repository.
- license NullableLicenseSimple? - The license associated with the repository.
- codeOfConductFile NullableCommunityHealthFile? - The code of conduct file community health file for the repository.
- contributing NullableCommunityHealthFile? - The contributing guidelines community health file for the repository.
- readme NullableCommunityHealthFile? - The README community health file for the repository.
- pullRequestTemplate NullableCommunityHealthFile? - The pull request template community health file for the repository.
- codeOfConduct NullableCodeOfConductSimple? - The code of conduct associated with the repository.
github: ConnectionConfig
Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint.
Fields
- auth BearerTokenConfig - Configurations related to client authentication
- httpVersion HttpVersion(default http:HTTP_2_0) - The HTTP version understood by the client
- http1Settings ClientHttp1Settings(default {}) - Configurations related to HTTP/1.x protocol
- http2Settings ClientHttp2Settings(default {}) - Configurations related to HTTP/2 protocol
- timeout decimal(default 30) - The maximum time to wait (in seconds) for a response before closing the connection
- forwarded string(default "disable") - The choice of setting
forwarded/x-forwardedheader
- followRedirects? FollowRedirects - Configurations associated with Redirection
- poolConfig? PoolConfiguration - Configurations associated with request pooling
- cache CacheConfig(default {}) - HTTP caching related configurations
- compression Compression(default http:COMPRESSION_AUTO) - Specifies the way of handling compression (
accept-encoding) header
- circuitBreaker? CircuitBreakerConfig - Configurations associated with the behaviour of the Circuit Breaker
- retryConfig? RetryConfig - Configurations associated with retrying
- cookieConfig? CookieConfig - Configurations associated with cookies
- responseLimits ResponseLimitConfigs(default {}) - Configurations associated with inbound response size limits
- secureSocket? ClientSecureSocket - SSL/TLS-related options
- proxy? ProxyConfig - Proxy server related options
- socketConfig ClientSocketConfig(default {}) - Provides settings related to client socket configuration
- validation boolean(default true) - Enables the inbound payload validation functionality which provided by the constraint package. Enabled by default
- laxDataBinding boolean(default true) - Enables relaxed data binding on the client side. When enabled,
nilvalues are treated as optional, and absent fields are handled asnilabletypes. Enabled by default.
github: ContainerMetadata
Fields
- tags string[] - The list of tags associated with the container package.
github: ContentDirectoryInner
Fields
- path string - The path to the content item within the repository.
- size int - The size of the content item in bytes.
- links ContentDirectoryInnerLinks - Hypermedia links related to this content item.
- htmlUrl string? - The HTML URL to view this content item on GitHub.
- name string - The name of the file or directory.
- downloadUrl string? - The URL to download the raw content of the file.
- 'type "dir"|"file"|"submodule"|"symlink" - The type of content item (file, dir, symlink, or submodule).
- gitUrl string? - The Git API URL for this content item's blob or tree.
- sha string - The SHA hash of this content item.
- content? string - The Base64-encoded content of the file, if applicable.
- url string - The API URL for this content item.
github: ContentDirectoryInnerLinks
Hypermedia links related to this content item
Fields
- git string? - URL to the Git API endpoint for this content item.
- self string - URL to the API endpoint for this content item.
- html string? - URL to the HTML web page for this content item.
github: ContentFile
Content File
Fields
- links ContentSymlinkLinks - Hypermedia links for navigating related content resources.
- submoduleGitUrl? string - Git URL of the submodule repository, if applicable.
- 'type "file" - Type of the content, always 'file' for this schema.
- encoding string - Encoding format used for the file content, such as base64.
- sha string - SHA hash of the file blob.
- content string - Base64-encoded content of the file.
- url string - API URL for accessing this file's content.
- target? string - Symlink target path if the file is a symbolic link.
- path string - Path to the file within the repository.
- size int - Size of the file in bytes.
- htmlUrl string? - HTML URL for viewing this file in the GitHub UI.
- name string - Name of the file.
- downloadUrl string? - Direct URL for downloading the raw file content.
- gitUrl string? - API URL for accessing the underlying Git blob object.
github: ContentspathBody
Fields
- committer? ReposownerrepocontentspathCommitter - The person that committed the file on behalf of the author.
- author? ReposownerrepocontentspathAuthor - The author of the file being created or updated.
- message string - The commit message
- sha? string - Required if you are updating a file. The blob SHA of the file being replaced
- branch? string - The branch name. Default: the repository’s default branch
- content string - The new file content, using Base64 encoding
github: ContentspathBody1
Fields
- committer? ReposownerrepocontentspathCommitter1 - The person who committed the file deletion.
- author? ReposownerrepocontentspathAuthor1 - The author of the file deletion commit.
- message string - The commit message
- sha string - The blob SHA of the file being deleted
- branch? string - The branch name. Default: the repository’s default branch
github: ContentSubmodule
An object describing a submodule
Fields
- path string - The path of the submodule within the repository.
- size int - The size of the submodule content in bytes.
- submoduleGitUrl string - The Git URL of the submodule repository.
- links ContentSymlinkLinks - Links to related resources for the submodule.
- htmlUrl string? - The URL to view the submodule on GitHub.
- name string - The name of the submodule.
- downloadUrl string? - The URL to download the submodule content.
- 'type "submodule" - The content type, always 'submodule' for submodule entries.
- gitUrl string? - The API URL to retrieve the Git object for the submodule.
- sha string - The SHA hash identifying the submodule commit.
- url string - The API URL of the submodule resource.
github: ContentSymlink
An object describing a symlink
Fields
- path string - The file path of the symlink within the repository.
- size int - The size of the symlink target path in bytes.
- links ContentSymlinkLinks - Hypermedia links related to the symlink content.
- htmlUrl string? - The URL to view the symlink on GitHub.
- name string - The name of the symlink file.
- downloadUrl string? - The URL to download the symlink target file.
- 'type "symlink" - The content type, always 'symlink' for symlink objects.
- gitUrl string? - The API URL for the Git blob associated with the symlink.
- sha string - The SHA hash of the symlink object.
- url string - The API URL for the symlink content.
- target string - The path the symlink points to.
github: ContentSymlinkLinks
Fields
- git string? - API URL for the symlink's Git object.
- self string - API URL for this symlink content resource.
- html string? - URL of the symlink on GitHub.
github: ContentTraffic
Content Traffic
Fields
- path string - The path of the content page receiving traffic.
- count int - The total number of views for the content page.
- uniques int - The number of unique visitors to the content page.
- title string - The title of the content page.
github: Contributor
Contributor
Fields
- gistsUrl? string - API URL template for the user's gists.
- reposUrl? string - API URL to list the user's repositories.
- followingUrl? string - API URL template to check who the user is following.
- starredUrl? string - API URL template for repositories the user has starred.
- login? string - The username of the contributor.
- followersUrl? string - API URL to list the user's followers.
- 'type string - The type of the account.
- url? string - API URL for the contributor.
- subscriptionsUrl? string - API URL to list repositories the user is watching.
- receivedEventsUrl? string - API URL for events received by the user.
- contributions int - The total number of contributions made by the contributor.
- avatarUrl? string - URL of the user's avatar image.
- eventsUrl? string - API URL template for the user's events.
- htmlUrl? string - URL of the user's GitHub profile page.
- siteAdmin? boolean - Whether the user is a GitHub site administrator.
- name? string - The display name of the contributor.
- id? int - The unique identifier of the contributor.
- gravatarId? string? - The Gravatar ID of the user.
- email? string - The publicly visible email address of the contributor.
- nodeId? string - The GraphQL node identifier of the contributor.
- organizationsUrl? string - API URL to list the user's organizations.
github: ContributorActivity
Contributor Activity
Fields
- total int - The total number of commits made by the contributor.
- weeks ContributorActivityWeeks[] - Weekly breakdown of the contributor's commit activity.
- author NullableSimpleUser? - The contributor whose activity is being reported.
github: ContributorActivityWeeks
Fields
- a? int - The number of lines added during the week.
- c? int - The number of commits made during the week.
- d? int - The number of lines deleted during the week.
- w? int - The start of the week as a Unix timestamp.
github: ConvertedNoteToIssueIssueEvent
Converted Note to Issue Issue Event
Fields
- actor SimpleUser - The user who triggered the converted note to issue event.
- commitUrl string? - The URL of the commit associated with this event.
- performedViaGithubApp Integration - The GitHub App that performed this event, if any.
- createdAt string - The timestamp when the event was created.
- id int - The unique identifier of the issue event.
- event string - The type of event that occurred on the issue.
- commitId string? - The SHA of the commit associated with this event.
- url string - The API URL of the issue event.
- projectCard? RemovedFromProjectIssueEventProjectCard - The project card that was converted to an issue.
- nodeId string - The GraphQL node ID of the issue event.
github: CopilotListCopilotSeatsQueries
Represents the Queries record for the operation: copilot/list-copilot-seats
Fields
- perPage int(default 50) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: CopilotOrganizationDetails
Information about the seat breakdown and policies set for an organization with a Copilot for Business subscription
Fields
- seat_breakdown CopilotSeatBreakdown - Breakdown of Copilot seat usage across the organization.
- public_code_suggestions "allow"|"block"|"unconfigured"|"unknown" - The organization policy for allowing or disallowing Copilot to make suggestions that match public code.
- copilot_chat? "enabled"|"disabled"|"unconfigured" - The organization policy for allowing or disallowing organization members to use Copilot Chat within their editor.
- seat_management_setting "assign_all"|"assign_selected"|"disabled"|"unconfigured" - The mode of assigning new seats.
github: CopilotSeatBreakdown
The breakdown of Copilot for Business seats for the organization
Fields
- inactiveThisCycle? int - The number of seats that have not used Copilot during the current billing cycle
- total? int - The total number of seats being billed for the organization as of the current billing cycle
- addedThisCycle? int - Seats added during the current billing cycle
- pendingInvitation? int - The number of seats that have been assigned to users that have not yet accepted an invitation to this organization
- activeThisCycle? int - The number of seats that have used Copilot during the current billing cycle
- pendingCancellation? int - The number of seats that are pending cancellation at the end of the current billing cycle
github: CopilotSeatCancelled
The total number of seat assignments cancelled
Fields
- seatsCancelled int - The number of Copilot seat assignments that were cancelled.
github: CopilotSeatCreated
The total number of seat assignments created
Fields
- seatsCreated int - The number of Copilot seat assignments successfully created.
github: CopilotSeatDetails
Information about a Copilot for Business seat assignment for a user, team, or organization
Fields
- updatedAt? string - Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format
- lastActivityEditor? string? - Last editor that was used by the user for a GitHub Copilot completion
- lastActivityAt? string? - Timestamp of user's last GitHub Copilot activity, in ISO 8601 format
- assigningTeam? Team? - The team that granted access to GitHub Copilot to the assignee. This will be null if the user was assigned a seat individually
- createdAt string - Timestamp of when the assignee was last granted access to GitHub Copilot, in ISO 8601 format
- pendingCancellationDate? string? - The pending cancellation date for the seat, in YYYY-MM-DD format. This will be null unless the assignee's Copilot access has been canceled during the current billing cycle. If the seat has been cancelled, this corresponds to the start of the organization's next billing cycle
- assignee SimpleUser|Team|Organization - The assignee that has been granted access to GitHub Copilot
github: CopilotSeatDetailsResponse
Information about a Copilot for Business seat assignment for a user, team, or organization
Fields
- totalSeats? int - Total number of Copilot For Business seats for the organization currently being billed
- seats? CopilotSeatDetails[] - List of Copilot seat assignments for the organization.
github: CustomDeploymentRuleApp
A GitHub App that is providing a custom deployment protection rule
Fields
- integrationUrl string - The URL for the endpoint to get details about the app
- id int - The unique identifier of the deployment protection rule integration
- slug string - The slugified name of the deployment protection rule integration
- nodeId string - The node ID for the deployment protection rule integration
github: CustomDeploymentRuleAppResponse
A GitHub App that is providing a custom deployment protection rule
Fields
- availableCustomDeploymentProtectionRuleIntegrations? CustomDeploymentRuleApp[] - List of available custom deployment protection rule integrations for this environment.
- totalCount? int - The total number of custom deployment protection rule integrations available for this environment
github: DemilestonedIssueEvent
Demilestoned Issue Event
Fields
- actor SimpleUser - The user who triggered the demilestone event.
- commitUrl string? - API URL for the commit associated with the event.
- performedViaGithubApp NullableIntegration? - The GitHub App that performed the demilestone event.
- milestone MilestonedIssueEventMilestone - The milestone that was removed from the issue.
- createdAt string - The date and time the event was created.
- id int - The unique identifier of the event.
- event string - The type of event that occurred.
- commitId string? - The SHA of the commit associated with the event.
- url string - API URL for the event.
- nodeId string - The GraphQL node identifier of the event.
github: DependabotAlert
A Dependabot alert
Fields
- dependency DependabotAlertWithRepositoryDependency - The vulnerable dependency associated with this alert.
- securityAdvisory DependabotAlertSecurityAdvisory - The security advisory details for this alert.
- securityVulnerability DependabotAlertSecurityVulnerability - The specific vulnerability details for this alert.
- createdAt AlertCreatedAt - The date and time the alert was created.
- dismissedComment string? - An optional comment associated with the alert's dismissal
- autoDismissedAt? AlertAutoDismissedAt? - The date and time the alert was automatically dismissed.
- url AlertUrl - The API URL for this Dependabot alert.
- number AlertNumber - The unique number identifying this Dependabot alert in the repository.
- updatedAt AlertUpdatedAt - The date and time the alert was last updated.
- htmlUrl AlertHtmlUrl - The URL of the Dependabot alert on GitHub.
- fixedAt AlertFixedAt? - The date and time the alert was fixed.
- state "auto_dismissed"|"dismissed"|"fixed"|"open" - The state of the Dependabot alert
- dismissedBy NullableSimpleUser? - The user who dismissed the alert.
- dismissedReason "fix_started"|"inaccurate"|"no_bandwidth"|"not_used"|"tolerable_risk"? - The reason that the alert was dismissed
- dismissedAt AlertDismissedAt? - The date and time the alert was dismissed.
github: DependabotAlertPackage
Details for the vulnerable package
Fields
- ecosystem string - The package's language or package management ecosystem
- name string - The unique package name within its ecosystem
github: DependabotAlertSecurityAdvisory
Details for the GitHub Security Advisory
Fields
- summary string - A short, plain text summary of the advisory
- severity "low"|"medium"|"high"|"critical" - The severity of the advisory
- references DependabotAlertSecurityAdvisoryReferences[] - Links to additional advisory information
- identifiers DependabotAlertSecurityAdvisoryIdentifiers[] - Values that identify this advisory among security information sources
- description string - A long-form Markdown-supported description of the advisory
- cwes DependabotAlertSecurityAdvisoryCwes[] - Details for the advisory pertaining to Common Weakness Enumeration
- ghsaId string - The unique GitHub Security Advisory ID assigned to the advisory
- updatedAt string - The time that the advisory was last modified in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
- cveId string? - The unique CVE ID assigned to the advisory
- vulnerabilities DependabotAlertSecurityVulnerability[] - Vulnerable version range information for the advisory
- withdrawnAt string? - The time that the advisory was withdrawn in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
- publishedAt string - The time that the advisory was published in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
- cvss DependabotAlertSecurityAdvisoryCvss - The CVSS score and vector string for the advisory.
github: DependabotAlertSecurityAdvisoryCvss
Details for the advisory pertaining to the Common Vulnerability Scoring System
Fields
- score decimal - The overall CVSS score of the advisory
- vectorString string? - The full CVSS vector string for the advisory
github: DependabotAlertSecurityAdvisoryCwes
A CWE weakness assigned to the advisory
Fields
- cweId string - The unique CWE ID
- name string - The short, plain text name of the CWE
github: DependabotAlertSecurityAdvisoryIdentifiers
An advisory identifier
Fields
- 'type "CVE"|"GHSA" - The type of advisory identifier
- value string - The value of the advisory identifer
github: DependabotAlertSecurityAdvisoryReferences
A link to additional advisory information
Fields
- url string - The URL of the reference
github: DependabotAlertSecurityVulnerability
Details pertaining to one vulnerable version range for the advisory
Fields
- severity "low"|"medium"|"high"|"critical" - The severity of the vulnerability
- firstPatchedVersion DependabotAlertSecurityVulnerabilityFirstPatchedVersion? - The earliest version of the package that resolves this vulnerability.
- package DependabotAlertPackage - The package ecosystem and name affected by this vulnerability.
- vulnerableVersionRange string - Conditions that identify vulnerable versions of this vulnerability's package
github: DependabotAlertSecurityVulnerabilityFirstPatchedVersion
Details pertaining to the package version that patches this vulnerability
Fields
- identifier string - The package version that patches this vulnerability
github: DependabotAlertWithRepository
A Dependabot alert
Fields
- dependency DependabotAlertWithRepositoryDependency - The vulnerable dependency that triggered the alert.
- securityAdvisory DependabotAlertSecurityAdvisory - The security advisory associated with the alert.
- securityVulnerability DependabotAlertSecurityVulnerability - The specific vulnerability details from the security advisory.
- createdAt AlertCreatedAt - The date and time the alert was created.
- dismissedComment string? - An optional comment associated with the alert's dismissal
- repository SimpleRepository - The repository where the vulnerable dependency was detected.
- autoDismissedAt? AlertAutoDismissedAt? - The date and time the alert was automatically dismissed.
- url AlertUrl - The API URL for the Dependabot alert.
- number AlertNumber - The number that uniquely identifies the alert within the repository.
- updatedAt AlertUpdatedAt - The date and time the alert was last updated.
- htmlUrl AlertHtmlUrl - The URL of the alert's page on GitHub.
- fixedAt AlertFixedAt? - The date and time the vulnerability was fixed.
- state "auto_dismissed"|"dismissed"|"fixed"|"open" - The state of the Dependabot alert
- dismissedBy NullableSimpleUser? - The user who dismissed the alert.
- dismissedReason "fix_started"|"inaccurate"|"no_bandwidth"|"not_used"|"tolerable_risk"? - The reason that the alert was dismissed
- dismissedAt AlertDismissedAt? - The date and time the alert was dismissed.
github: DependabotAlertWithRepositoryDependency
Details for the vulnerable dependency
Fields
- package? DependabotAlertPackage - The package associated with the vulnerable dependency.
- manifestPath? string - The full path to the dependency manifest file, relative to the root of the repository
- scope? "development"|"runtime"? - The execution scope of the vulnerable dependency
github: DependabotListAlertsForEnterpriseQueries
Represents the Queries record for the operation: dependabot/list-alerts-for-enterprise
Fields
- severity? string - A comma-separated list of severities. If specified, only alerts with these severities will be returned. Can be: low, medium, high, critical
- perPage int(default 30) - The number of results per page (max 100)
- package? string - A comma-separated list of package names. If specified, only alerts for these packages will be returned
- ecosystem? string - A comma-separated list of ecosystems. If specified, only alerts for these ecosystems will be returned. Can be: composer, go, maven, npm, nuget, pip, pub, rubygems, rust
- last? int - Deprecated. The number of results per page (max 100), starting from the last matching result. This parameter must not be used in combination with first. Instead, use per_page in combination with before to fetch the last page of results
- before? string - A cursor, as given in the Link header. If specified, the query only searches for results before this cursor
- scope? "development"|"runtime" - The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned
- state? string - A comma-separated list of states. If specified, only alerts with these states will be returned. Can be: auto_dismissed, dismissed, fixed, open
- sort "created"|"updated" (default "created") - The property by which to sort the results. created means when the alert was created. updated means when the alert's state last changed
- after? string - A cursor, as given in the Link header. If specified, the query only searches for results after this cursor
- first int(default 30) - Deprecated. The number of results per page (max 100), starting from the first matching result. This parameter must not be used in combination with last. Instead, use per_page in combination with after to fetch the first page of results
- direction "asc"|"desc" (default "desc") - The direction to sort the results by
github: DependabotListAlertsForOrgQueries
Represents the Queries record for the operation: dependabot/list-alerts-for-org
Fields
- severity? string - A comma-separated list of severities. If specified, only alerts with these severities will be returned. Can be: low, medium, high, critical
- perPage int(default 30) - The number of results per page (max 100)
- package? string - A comma-separated list of package names. If specified, only alerts for these packages will be returned
- ecosystem? string - A comma-separated list of ecosystems. If specified, only alerts for these ecosystems will be returned. Can be: composer, go, maven, npm, nuget, pip, pub, rubygems, rust
- last? int - Deprecated. The number of results per page (max 100), starting from the last matching result. This parameter must not be used in combination with first. Instead, use per_page in combination with before to fetch the last page of results
- before? string - A cursor, as given in the Link header. If specified, the query only searches for results before this cursor
- scope? "development"|"runtime" - The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned
- state? string - A comma-separated list of states. If specified, only alerts with these states will be returned. Can be: auto_dismissed, dismissed, fixed, open
- sort "created"|"updated" (default "created") - The property by which to sort the results. created means when the alert was created. updated means when the alert's state last changed
- after? string - A cursor, as given in the Link header. If specified, the query only searches for results after this cursor
- first int(default 30) - Deprecated. The number of results per page (max 100), starting from the first matching result. This parameter must not be used in combination with last. Instead, use per_page in combination with after to fetch the first page of results
- direction "asc"|"desc" (default "desc") - The direction to sort the results by
github: DependabotListAlertsForRepoQueries
Represents the Queries record for the operation: dependabot/list-alerts-for-repo
Fields
- severity? string - A comma-separated list of severities. If specified, only alerts with these severities will be returned. Can be: low, medium, high, critical
- perPage int(default 30) - The number of results per page (max 100)
- package? string - A comma-separated list of package names. If specified, only alerts for these packages will be returned
- ecosystem? string - A comma-separated list of ecosystems. If specified, only alerts for these ecosystems will be returned. Can be: composer, go, maven, npm, nuget, pip, pub, rubygems, rust
- last? int - Deprecated. The number of results per page (max 100), starting from the last matching result. This parameter must not be used in combination with first. Instead, use per_page in combination with before to fetch the last page of results
- before? string - A cursor, as given in the Link header. If specified, the query only searches for results before this cursor
- manifest? string - A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned
- sort "created"|"updated" (default "created") - The property by which to sort the results. created means when the alert was created. updated means when the alert's state last changed
- scope? "development"|"runtime" - The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned
- state? string - A comma-separated list of states. If specified, only alerts with these states will be returned. Can be: auto_dismissed, dismissed, fixed, open
- page int(default 1) - Deprecated. Page number of the results to fetch. Use cursor-based pagination with before or after instead
- after? string - A cursor, as given in the Link header. If specified, the query only searches for results after this cursor
- first int(default 30) - Deprecated. The number of results per page (max 100), starting from the first matching result. This parameter must not be used in combination with last. Instead, use per_page in combination with after to fetch the first page of results
- direction "asc"|"desc" (default "desc") - The direction to sort the results by
github: DependabotListOrgSecretsQueries
Represents the Queries record for the operation: dependabot/list-org-secrets
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: DependabotListRepoSecretsQueries
Represents the Queries record for the operation: dependabot/list-repo-secrets
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: DependabotListSelectedReposForOrgSecretQueries
Represents the Queries record for the operation: dependabot/list-selected-repos-for-org-secret
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: DependabotPublicKey
The public key used for setting Dependabot Secrets
Fields
- keyId string - The identifier for the key
- 'key string - The Base64 encoded public key
github: DependabotSecret
Set secrets for Dependabot
Fields
- updatedAt string - The timestamp when the Dependabot secret was last updated.
- name string - The name of the secret
- createdAt string - The timestamp when the Dependabot secret was created.
github: DependabotSecretResponse
Set secrets for Dependabot
Fields
- totalCount int - The total number of Dependabot secrets available.
- secrets DependabotSecret[] - The list of Dependabot secrets.
github: Dependency
Fields
- metadata? Metadata - Additional metadata key/value pairs associated with this dependency.
- packageUrl? string - Package-url (PURL) of dependency. See https://github.com/package-url/purl-spec for more details
- scope? "runtime"|"development" - A notation of whether the dependency is required for the primary build artifact (runtime) or is only used for development. Future versions of this specification may allow for more granular scopes
- relationship? "direct"|"indirect" - A notation of whether a dependency is requested directly by this manifest or is a dependency of another dependency
- dependencies? string[] - Array of package-url (PURLs) of direct child dependencies
github: DependencyGraphDiffInner
Fields
- license string? - The license associated with the dependency.
- ecosystem string - The package ecosystem of the dependency.
- packageUrl string? - The package URL (PURL) identifying the dependency.
- manifest string - The path to the manifest file containing the dependency.
- scope "unknown"|"runtime"|"development" - Where the dependency is utilized. development means that the dependency is only utilized in the development environment. runtime means that the dependency is utilized at runtime and in the development environment
- name string - The name of the dependency package.
- vulnerabilities DependencyGraphDiffInnerVulnerabilities[] - List of known vulnerabilities associated with this dependency.
- changeType "added"|"removed" - Whether the dependency was added or removed in the diff.
- sourceRepositoryUrl string? - The URL of the source repository for the dependency.
- version string - The version of the dependency.
github: DependencyGraphDiffInnerVulnerabilities
Fields
- severity string - Severity level of the vulnerability (e.g., low, medium, high, critical).
- advisoryUrl string - URL to the GitHub Security Advisory for this vulnerability.
- advisoryGhsaId string - GitHub Security Advisory identifier for this vulnerability.
- advisorySummary string - Brief description summarizing the security advisory.
github: DependencyGraphDiffRangeQueries
Represents the Queries record for the operation: dependency-graph/diff-range
Fields
- name? string - The full path, relative to the repository root, of the dependency manifest file
github: DependencyGraphSpdxSbom
A schema for the SPDX JSON format returned by the Dependency Graph
Fields
- sbom DependencyGraphSpdxSbomSbom - The SPDX-formatted software bill of materials for the repository.
github: DependencyGraphSpdxSbomSbom
Fields
- dataLicense string - The license under which the SPDX document is licensed
- documentNamespace string - The namespace for the SPDX document
- spdxVersion string - The version of the SPDX specification that this document conforms to
- sPDXID string - The SPDX identifier for the SPDX document
- name string - The name of the SPDX document
- documentDescribes string[] - The name of the repository that the SPDX document describes
- packages DependencyGraphSpdxSbomSbomPackages[] - List of packages described in the SPDX SBOM document.
- creationInfo DependencyGraphSpdxSbomSbomCreationInfo - Metadata about when and how the SPDX document was created.
github: DependencyGraphSpdxSbomSbomCreationInfo
Fields
- created string - The date and time the SPDX document was created
- creators string[] - The tools that were used to generate the SPDX document
github: DependencyGraphSpdxSbomSbomExternalRefs
Fields
- referenceLocator string - A locator for the particular external resource this reference refers to
- referenceType string - The category of reference to an external resource this reference refers to
- referenceCategory string - The category of reference to an external resource this reference refers to
github: DependencyGraphSpdxSbomSbomPackages
Fields
- filesAnalyzed? boolean - Whether the package's file content has been subjected to analysis during the creation of the SPDX document
- licenseConcluded? string - The license of the package as determined while creating the SPDX document
- sPDXID? string - A unique SPDX identifier for the package
- supplier? string - The distribution source of this package, or NOASSERTION if this was not determined
- name? string - The name of the package
- externalRefs? DependencyGraphSpdxSbomSbomExternalRefs[] - External references providing additional information about the package.
- downloadLocation? string - The location where the package can be downloaded, or NOASSERTION if this has not been determined
- licenseDeclared? string - The license of the package as declared by its author, or NOASSERTION if this information was not available when the SPDX document was created
- versionInfo? string - The version of the package. If the package does not have an exact version specified, a version range is given
github: DeployKey
An SSH key granting access to a single repository
Fields
- readOnly boolean - Whether the deploy key has read-only access to the repository.
- addedBy? string? - The username of the user who added the deploy key.
- lastUsed? string? - The timestamp when the deploy key was last used.
- verified boolean - Whether the deploy key has been verified.
- createdAt string - The timestamp when the deploy key was created.
- id int - The unique identifier of the deploy key.
- title string - The display name of the deploy key.
- 'key string - The public SSH key string.
- url string - The API URL for this deploy key.
github: Deployment
A request for a specific ref(branch,sha,tag) to be deployed
Fields
- creator NullableSimpleUser? - The user who created the deployment.
- statusesUrl string - API URL for the deployment's statuses.
- description string? - A short description of the deployment.
- createdAt string - The date and time when the deployment was created.
- sha string - The SHA of the commit being deployed.
- url string - API URL for this deployment.
- ref string - The ref to deploy. This can be a branch, tag, or sha
- environment string - Name for the target deployment environment
- task string - Parameter to specify a task to execute
- updatedAt string - The date and time when the deployment was last updated.
- performedViaGithubApp? NullableIntegration? - The GitHub App that performed the deployment.
- payload record {}|string - Additional metadata supplied by the deployer as a JSON object.
- transientEnvironment? boolean - Specifies if the given environment is will no longer exist at some point in the future. Default: false
- originalEnvironment? string - The original environment targeted by this deployment.
- id int - Unique identifier of the deployment
- repositoryUrl string - API URL for the repository associated with this deployment.
- nodeId string - The GraphQL node identifier of the deployment.
- productionEnvironment? boolean - Specifies if the given environment is one that end-users directly interact with. Default: false
github: DeploymentBranchPolicy
Details of a deployment branch or tag policy
Fields
- name? string - The name pattern that branches or tags must match in order to deploy to the environment
- id? int - The unique identifier of the branch or tag policy
- 'type? "branch"|"tag" - Whether this rule targets a branch or tag
- nodeId? string - The global node ID of the deployment branch or tag policy.
github: DeploymentBranchPolicyNamePattern
Fields
- name string - The name pattern that branches must match in order to deploy to the environment. Wildcard characters will not match /. For example, to match branches that begin with release/ and contain an additional single slash, use release//. For more information about pattern matching syntax, see the Ruby File.fnmatch documentation
github: DeploymentBranchPolicyNamePatternWithType
Fields
- name string - The name pattern that branches or tags must match in order to deploy to the environment. Wildcard characters will not match /. For example, to match branches that begin with release/ and contain an additional single slash, use release//. For more information about pattern matching syntax, see the Ruby File.fnmatch documentation
- 'type? "branch"|"tag" - Whether this rule targets a branch or tag
github: DeploymentBranchPolicyResponse
Details of a deployment branch or tag policy
Fields
- totalCount int - The number of deployment branch policies for the environment
- branchPolicies DeploymentBranchPolicy[] - List of deployment branch or tag policies for the environment.
github: DeploymentBranchPolicySettings
The type of deployment branch policy for this environment. To allow all branches to deploy, set to null
Fields
- customBranchPolicies boolean - Whether only branches that match the specified name patterns can deploy to this environment. If custom_branch_policies is true, protected_branches must be false; if custom_branch_policies is false, protected_branches must be true
- protectedBranches boolean - Whether only branches with branch protection rules can deploy to this environment. If protected_branches is true, custom_branch_policies must be false; if protected_branches is false, custom_branch_policies must be true
github: DeploymentIdStatusesBody
Fields
- environment? string - Name for the target deployment environment, which can be changed when setting a deploy status. For example, production, staging, or qa. If not defined, the environment of the previous status on the deployment will be used, if it exists. Otherwise, the environment of the deployment will be used
- environmentUrl string(default "") - Sets the URL for accessing your environment. Default: ""
- targetUrl string(default "") - The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. Note: It's recommended to use the log_url parameter, which replaces target_url
- logUrl string(default "") - The full URL of the deployment's output. This parameter replaces target_url. We will continue to accept target_url to support legacy uses, but we recommend replacing target_url with log_url. Setting log_url will automatically set target_url to the same value. Default: ""
- autoInactive? boolean - Adds a new inactive status to all prior non-transient, non-production environment deployments with the same repository and environment name as the created status's deployment. An inactive status is only added to deployments that had a success state. Default: true
- description string(default "") - A short description of the status. The maximum description length is 140 characters
- state "error"|"failure"|"inactive"|"in_progress"|"queued"|"pending"|"success" - The state of the status. When you set a transient deployment to inactive, the deployment will be shown as destroyed in GitHub
github: DeploymentProtectionRule
Deployment protection rule
Fields
- app CustomDeploymentRuleApp - The GitHub App that provides the deployment protection rule.
- id int - The unique identifier for the deployment protection rule
- enabled boolean - Whether the deployment protection rule is enabled for the environment
- nodeId string - The node ID for the deployment protection rule
github: DeploymentProtectionRuleResponse
Deployment protection rule
Fields
- totalCount? int - The number of enabled custom deployment protection rules for this environment
- customDeploymentProtectionRules? DeploymentProtectionRule[] - The list of enabled custom deployment protection rules.
github: DeploymentSimple
A deployment created as the result of an Actions check run from a workflow that references an environment
Fields
- statusesUrl string - The API URL for listing the deployment's statuses.
- description string? - A short description of the deployment.
- createdAt string - The date and time the deployment was created, in ISO 8601 format.
- url string - The API URL for the deployment.
- environment string - Name for the target deployment environment
- task string - Parameter to specify a task to execute
- updatedAt string - The date and time the deployment was last updated, in ISO 8601 format.
- performedViaGithubApp? NullableIntegration? - The GitHub App that triggered the deployment, if applicable.
- transientEnvironment? boolean - Specifies if the given environment is will no longer exist at some point in the future. Default: false
- originalEnvironment? string - The original target environment for the deployment.
- id int - Unique identifier of the deployment
- repositoryUrl string - The API URL for the repository associated with the deployment.
- nodeId string - The GraphQL node identifier of the deployment.
- productionEnvironment? boolean - Specifies if the given environment is one that end-users directly interact with. Default: false
github: DeploymentStatus
The status of a deployment
Fields
- creator NullableSimpleUser? - The user who created this deployment status.
- targetUrl string(default "") - Deprecated: the URL to associate with this status
- deploymentUrl string - The URL of the deployment associated with this status.
- description string(default "") - A short description of the status
- createdAt string - The timestamp indicating when the deployment status was created.
- url string - The API URL of the deployment status resource.
- environment string(default "") - The environment of the deployment that the status is for
- environmentUrl string(default "") - The URL for accessing your environment
- updatedAt string - The timestamp indicating when the deployment status was last updated.
- performedViaGithubApp? NullableIntegration? - The GitHub App that triggered this deployment status.
- logUrl string(default "") - The URL to associate with this status
- id int - The unique identifier of the deployment status.
- state "error"|"failure"|"inactive"|"pending"|"success"|"queued"|"in_progress" - The state of the status
- repositoryUrl string - The URL of the repository associated with this deployment status.
- nodeId string - The GraphQL node identifier of the deployment status.
github: Devcontainers
Dev Containers
Fields
- path string - The file path to the dev container configuration.
- name? string - The internal name identifier of the dev container.
- displayName? string - The human-readable display name of the dev container.
github: DevcontainersResponse
Dev Containers
Fields
- devcontainers Devcontainers[] - List of dev container configurations found in the repository.
- totalCount int - The total number of dev container configurations.
github: DiffEntry
Diff Entry
Fields
- patch? string - The patch content showing the diff changes for the file.
- filename string - The path of the file in the repository.
- additions int - The number of lines added in the file.
- deletions int - The number of lines deleted from the file.
- changes int - The total number of lines changed in the file.
- previousFilename? string - The previous path of the file before renaming.
- sha string - The SHA hash identifying the file blob.
- blobUrl string - URL to the file blob on GitHub.
- rawUrl string - URL to the raw file content.
- status "added"|"removed"|"modified"|"renamed"|"copied"|"changed"|"unchanged" - The change status of the file in the diff.
- contentsUrl string - URL to retrieve the file contents via the API.
github: DiscussionNumberCommentsBody
Fields
- body string - The discussion comment's body text
github: DiscussionNumberReactionsBody
Fields
- content "+1"|"-1"|"laugh"|"confused"|"heart"|"hooray"|"rocket"|"eyes" - The reaction type to add to the team discussion
github: DiscussionsdiscussionNumberBody
Fields
- title? string - The discussion post's title
- body? string - The discussion post's body text
github: DockerMetadata
Fields
- tag? string[] - The list of tags associated with the Docker container image.
github: Email
Fields
- visibility string? - The visibility of the email address (public or private).
- verified boolean - Whether the email address has been verified.
- email string - The email address.
- primary boolean - Whether this is the primary email address for the account.
github: EmailVisibilityBody
Fields
- visibility "public"|"private" - Denotes whether an email is publicly visible
github: EmptyObject
An object without any properties
github: Enterprise
An enterprise on GitHub
Fields
- websiteUrl? string? - The enterprise's website URL
- updatedAt string? - The date and time the enterprise was last updated.
- avatarUrl string - The URL of the enterprise's avatar image.
- htmlUrl string - The GitHub web URL for the enterprise's page.
- name string - The name of the enterprise
- description? string? - A short description of the enterprise
- createdAt string? - The date and time the enterprise was created.
- id int - Unique identifier of the enterprise
- slug string - The slug url identifier for the enterprise
- nodeId string - The GraphQL node ID of the enterprise.
github: Environment
Details of a deployment environment
Fields
- updatedAt string - The time that the environment was last updated, in ISO 8601 format
- htmlUrl string - URL to view the environment on GitHub.
- name string - The name of the environment
- protectionRules? EnvironmentProtectionRules[] - Built-in deployment protection rules for the environment
- deploymentBranchPolicy? DeploymentBranchPolicySettings? - The branch policy settings controlling which branches can deploy.
- createdAt string - The time that the environment was created, in ISO 8601 format
- id int - The id of the environment
- url string - API URL for this deployment environment.
- nodeId string - The GraphQL node identifier for this environment.
github: EnvironmentApprovals
An entry in the reviews log for environment deployments
Fields
- environments EnvironmentApprovalsEnvironments[] - The list of environments that were approved or rejected
- comment string - The comment submitted with the deployment review
- state "approved"|"rejected"|"pending" - Whether deployment to the environment(s) was approved or rejected or pending (with comments)
- user SimpleUser - The user who approved or rejected the deployment.
github: EnvironmentApprovalsEnvironments
Fields
- updatedAt? string - The time that the environment was last updated, in ISO 8601 format
- htmlUrl? string - The URL of the environment page on GitHub.
- name? string - The name of the environment
- createdAt? string - The time that the environment was created, in ISO 8601 format
- id? int - The id of the environment
- url? string - The API URL for the environment.
- nodeId? string - The GraphQL node identifier of the environment.
github: EnvironmentNameDeploymentProtectionRulesBody
Fields
- integrationId? int - The ID of the custom app that will be enabled on the environment
github: EnvironmentResponse
Details of a deployment environment
Fields
- environments? Environment[] - The list of deployment environments in the repository.
- totalCount? int - The number of environments in this repository
github: EnvironmentsenvironmentNameBody
Fields
- preventSelfReview? PreventSelfReview - Prevents the actor who triggered the deployment from approving it.
- deploymentBranchPolicy? DeploymentBranchPolicySettings? - The branch policy that governs which branches can deploy to this environment.
- waitTimer? WaitTimer - The time in minutes to wait before allowing deployments to proceed.
- reviewers? ReposownerrepoenvironmentsenvironmentNameReviewers[]? - The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed
github: Event
Event
Fields
- actor Actor - The user or application that triggered the event.
- 'public boolean - Whether the event is publicly visible.
- org? Actor - The organization associated with the event, if applicable.
- payload EventPayload - The event-specific payload data.
- repo EventRepo - The repository where the event occurred.
- createdAt string? - The date and time the event was created.
- id string - The unique identifier of the event.
- 'type string? - The type of GitHub event.
github: EventPayload
Fields
- pages? EventPayloadPages[] - The list of wiki pages affected by the event.
- issue? Issue - The issue associated with the event.
- action? string - The action that triggered the event.
- comment? IssueComment - The issue comment associated with the event.
github: EventPayloadPages
Fields
- summary? string? - A summary of the wiki page change.
- pageName? string - The name of the wiki page that was changed.
- htmlUrl? string - The URL of the wiki page on GitHub.
- action? string - The action performed on the wiki page.
- title? string - The title of the wiki page.
- sha? string - The SHA of the commit associated with the wiki page change.
github: EventRepo
Fields
- name string - The full name of the repository associated with the event.
- id int - The unique numeric identifier of the repository.
- url string - The API URL for the repository associated with the event.
github: Feed
Feed
Fields
- securityAdvisoriesUrl? string - URL for the feed of public security advisories.
- links FeedLinks - Hypermedia links for the feed resources.
- currentUserUrl? string - URL for the authenticated user's activity feed.
- currentUserOrganizationUrl? string - URL for the authenticated user's organization activity feed.
- currentUserOrganizationUrls? string[] - List of URLs for each of the authenticated user's organization feeds.
- userUrl string - URL template for a given user's public activity feed.
- repositoryDiscussionsUrl? string - A feed of discussions for a given repository
- currentUserActorUrl? string - URL for the authenticated user's activity feed as an actor.
- repositoryDiscussionsCategoryUrl? string - A feed of discussions for a given repository and category
- currentUserPublicUrl? string - URL for the authenticated user's public activity feed.
- timelineUrl string - URL for the authenticated user's timeline feed.
github: FeedLinks
Fields
- repositoryDiscussions? LinkWithType - The feed link for repository discussions.
- currentUserOrganization? LinkWithType - The feed link for the current user's organization activity.
- currentUserOrganizations? LinkWithType[] - The feed links for all of the current user's organizations.
- currentUserActor? LinkWithType - The feed link for the current user's activity as an actor.
- timeline LinkWithType - The feed link for the authenticated user's timeline.
- user LinkWithType - The feed link for the user's public activity.
- securityAdvisories? LinkWithType - The feed link for GitHub security advisories.
- currentUserPublic? LinkWithType - The feed link for the current user's public activity.
- repositoryDiscussionsCategory? LinkWithType - The feed link for a specific repository discussion category.
- currentUser? LinkWithType - The feed link for the current authenticated user's activity.
github: FileCommit
File Commit
Fields
- 'commit FileCommitCommit - The commit object created as a result of the file operation.
- content FileCommitContent? - The file content metadata after the commit operation.
github: FileCommitCommit
Fields
- committer? FileCommitCommitAuthor - Details about the person who committed the file change.
- author? FileCommitCommitAuthor - Details about the person who authored the file change.
- htmlUrl? string - The HTML URL to view the commit on GitHub.
- tree? FileCommitCommitTree - The git tree object associated with this commit.
- message? string - The commit message describing the file change.
- sha? string - The SHA hash of the commit object.
- url? string - The API URL for the commit.
- verification? FileCommitCommitVerification - Signature verification details for the commit.
- nodeId? string - The GraphQL node ID of the commit.
- parents? CommitSearchResultItemParents[] - List of parent commits for this commit.
github: FileCommitCommitAuthor
Fields
- date? string - The date and time the author made the commit.
- name? string - The name of the commit author.
- email? string - The email address of the commit author.
github: FileCommitCommitTree
Fields
- sha? string - The SHA of the tree object.
- url? string - API URL for the tree object.
github: FileCommitCommitVerification
Fields
- reason? string - The reason for the verification status of the commit signature.
- signature? string? - The GPG signature of the commit.
- payload? string? - The signed payload used to verify the commit signature.
- verified? boolean - Whether the commit signature was successfully verified.
github: FileCommitContent
Fields
- path? string - The file path relative to the repository root.
- size? int - The size of the file in bytes.
- links? FileCommitContentLinks - Hypermedia links related to this file content resource.
- htmlUrl? string - URL to view this file on GitHub.
- name? string - The name of the file.
- downloadUrl? string - URL to download the raw file contents.
- gitUrl? string - API URL for this file's git object.
- 'type? string - The type of content, such as file or directory.
- sha? string - The SHA hash of the file blob.
- url? string - API URL for this file content resource.
github: FileCommitContentLinks
Fields
- git? string - The API URL for the git blob object of the file.
- self? string - The API URL for the file content resource.
- html? string - The HTML URL to view the file on GitHub.
github: FullRepository
Full Repository
Fields
- parent? Repository - The parent repository, if this repository is a fork.
- allowForking? boolean - Whether forking is allowed on the repository
- anonymousAccessEnabled boolean(default true) - Whether anonymous git access is allowed
- subscriptionUrl string - API URL for the authenticated user's subscription to the repository
- branchesUrl string - API URL template for listing repository branches
- issueCommentUrl string - API URL template for accessing issue comments
- allowRebaseMerge? boolean - Whether rebase merging is allowed on pull requests
- subscribersUrl string - API URL for listing repository watchers
- permissions? FullRepositoryPermissions - The permissions the authenticated user has on this repository.
- tempCloneToken? string? - A temporary token for cloning the repository
- releasesUrl string - API URL template for listing repository releases
- squashMergeCommitMessage? "PR_BODY"|"COMMIT_MESSAGES"|"BLANK" - The default value for a squash merge commit message:
- PR_BODY - default to the pull request's body.
- COMMIT_MESSAGES - default to the branch's commit messages.
- BLANK - default to a blank commit message
- subscribersCount int - The number of users watching the repository
- id int - The unique identifier of the repository
- hasDiscussions boolean - Whether the repository has discussions enabled
- forks int - The number of forks of the repository
- gitRefsUrl string - API URL template for accessing Git references
- sshUrl string - The SSH URL for cloning the repository
- fullName string - The full name of the repository in owner/name format
- size int - The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0
- templateRepository? NullableRepository? - The template repository from which this repository was created
- languagesUrl string - API URL for listing programming languages used
- htmlUrl string - URL of the repository page on GitHub
- collaboratorsUrl string - API URL template for listing repository collaborators
- cloneUrl string - The HTTPS URL for cloning the repository
- defaultBranch string - The default branch of the repository
- hooksUrl string - API URL for listing repository webhooks
- treesUrl string - API URL template for accessing Git trees
- hasDownloads? boolean - Whether the repository has downloads enabled
- createdAt string - The date the repository was created
- watchers int - The number of watchers on the repository
- deploymentsUrl string - API URL for listing repository deployments
- keysUrl string - API URL template for listing repository deploy keys
- archived boolean - Whether the repository is archived
- hasWiki boolean - Whether the repository has the wiki enabled
- updatedAt string - The date the repository was last updated
- disabled boolean - Returns whether or not this repository disabled
- compareUrl string - API URL template for comparing two commits
- gitCommitsUrl string - API URL template for accessing Git commits
- topics? string[] - The list of topics associated with the repository
- allowUpdateBranch? boolean - Whether the pull request branch can be updated from the base branch
- gitTagsUrl string - API URL template for accessing Git tags
- mergesUrl string - API URL for performing merge operations
- url string - API URL for the repository
- contentsUrl string - API URL template for accessing repository contents
- issuesUrl string - API URL template for listing repository issues
- useSquashPrTitleAsDefault? boolean - Whether the PR title is used as the default squash commit message
- organization? NullableSimpleUser? - The organization that owns the repository, if applicable.
- mergeCommitMessage? "PR_BODY"|"PR_TITLE"|"BLANK" - The default value for a merge commit message.
- PR_TITLE - default to the pull request's title.
- PR_BODY - default to the pull request's body.
- BLANK - default to a blank commit message
- assigneesUrl string - API URL template for listing repository assignees
- squashMergeCommitTitle? "PR_TITLE"|"COMMIT_OR_PR_TITLE" - The default value for a squash merge commit title:
- PR_TITLE - default to the pull request's title.
- COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)
- openIssues int - The number of open issues in the repository
- nodeId string - The GraphQL node identifier of the repository
- stargazersCount int - The number of stars on the repository
- isTemplate? boolean - Whether the repository is a template repository
- pushedAt string - The date of the most recent push to the repository
- language string? - The primary programming language of the repository
- 'source? Repository - The ultimate source repository in a fork network.
- labelsUrl string - API URL template for listing repository labels
- svnUrl string - The Subversion URL for the repository
- masterBranch? string - The name of the master branch
- archiveUrl string - API URL template for downloading repository archives
- allowMergeCommit? boolean - Whether merge commits are allowed on pull requests
- forksUrl string - API URL for listing repository forks
- visibility? string - The repository visibility: public, private, or internal
- statusesUrl string - API URL template for listing commit statuses
- networkCount int - The number of repositories in the fork network
- license NullableLicenseSimple? - The license associated with the repository.
- allowAutoMerge? boolean - Whether auto-merge is allowed on pull requests
- name string - The name of the repository
- pullsUrl string - API URL template for listing pull requests
- tagsUrl string - API URL for listing repository tags
- 'private boolean - Whether the repository is private
- contributorsUrl string - API URL for listing repository contributors
- notificationsUrl string - API URL template for listing repository notifications
- openIssuesCount int - The number of open issues in the repository
- description string? - A short description of the repository
- hasProjects boolean - Whether the repository has projects enabled
- mergeCommitTitle? "PR_TITLE"|"MERGE_MESSAGE" - The default value for a merge commit title.
- PR_TITLE - default to the pull request's title.
- MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)
- commentsUrl string - API URL template for listing commit comments
- stargazersUrl string - API URL for listing users who starred the repository
- deleteBranchOnMerge? boolean - Whether to delete branches on merge
- gitUrl string - The Git protocol URL for the repository
- hasPages boolean - Whether the repository has GitHub Pages enabled
- owner SimpleUser - The user or organization that owns the repository.
- allowSquashMerge? boolean - Whether squash merging is allowed on pull requests
- commitsUrl string - API URL template for listing repository commits
- blobsUrl string - API URL template for accessing repository blobs
- downloadsUrl string - API URL for listing repository downloads
- hasIssues boolean - Whether the repository has issues enabled
- webCommitSignoffRequired? boolean - Whether commit sign-off is required for web-based commits
- codeOfConduct? CodeOfConductSimple - The code of conduct for the repository
- mirrorUrl string? - The URL of the mirror for the repository
- milestonesUrl string - API URL template for listing repository milestones
- teamsUrl string - API URL for listing teams with access to the repository
- securityAndAnalysis? SecurityAndAnalysis? - The security and analysis settings for the repository
- 'fork boolean - Whether the repository is a fork
- eventsUrl string - API URL for listing repository events
- issueEventsUrl string - API URL template for listing issue events
- watchersCount int - The number of watchers on the repository
- homepage string? - The URL of the repository's homepage
- forksCount int - The number of forks of the repository
github: FullRepositoryPermissions
The permissions the authenticated user has on the repository
Fields
- pull boolean - Indicates whether the user has pull (read) permission.
- maintain? boolean - Indicates whether the user has maintain permission on the repository.
- admin boolean - Indicates whether the user has admin permission on the repository.
- triage? boolean - Indicates whether the user has triage permission on the repository.
- push boolean - Indicates whether the user has push (write) permission.
github: Gist
Gist
Fields
- owner? NullableSimpleUser? - The user who owns the gist.
- forks? anydata[] - List of forks of this gist.
- commitsUrl string - The API URL for the gist's commit history.
- comments int - The number of comments on the gist.
- forksUrl string - The API URL for the gist's forks.
- gitPushUrl string - The Git push URL for the gist.
- createdAt string - The timestamp when the gist was created.
- description string? - The description of the gist.
- truncated? boolean - Whether the gist content is truncated due to size limits.
- history? anydata[] - The list of revision history entries for the gist.
- url string - The API URL for the gist.
- 'public boolean - Whether the gist is publicly accessible.
- updatedAt string - The timestamp when the gist was last updated.
- htmlUrl string - The URL of the gist page on GitHub.
- gitPullUrl string - The Git pull URL for the gist.
- commentsUrl string - The API URL for the gist's comments.
- files record { BaseGistFiles... } - The files contained within the gist.
- id string - The unique identifier of the gist.
- user NullableSimpleUser? - The user associated with the gist.
- nodeId string - The GraphQL node identifier of the gist.
github: GistComment
A comment made to a gist
Fields
- authorAssociation AuthorAssociation - The commenter's association with the gist's repository.
- updatedAt string - The date and time when the comment was last updated.
- createdAt string - The date and time when the comment was created.
- id int - Unique numeric identifier for the comment.
- body string - The comment text
- user NullableSimpleUser? - The user who created the comment.
- url string - API URL for this gist comment.
- nodeId string - The GraphQL node identifier for this comment.
github: GistCommit
Gist Commit
Fields
- committedAt string - The date and time the gist revision was committed.
- changeStatus GistHistoryChangeStatus - Statistics about additions, deletions, and total changes in this revision.
- version string - The commit SHA identifying this version of the gist.
- user NullableSimpleUser? - The user who committed this version of the gist.
- url string - The API URL for this gist commit.
github: GistHistory
Gist History
Fields
- committedAt? string - The date and time the gist version was committed.
- changeStatus? GistHistoryChangeStatus - The change status showing additions and deletions for this version.
- user? NullableSimpleUser? - The user who made this change to the gist.
- version? string - The commit SHA identifier for this version of the gist.
- url? string - The API URL for this specific gist history entry.
github: GistHistoryChangeStatus
Fields
- total? int - The total number of lines changed in the gist revision.
- additions? int - The number of lines added in the gist revision.
- deletions? int - The number of lines deleted in the gist revision.
github: GistIdCommentsBody
Fields
- body string - The comment text
github: GistsBody
Fields
- 'public? boolean|"true"|"false" - Whether the gist is public or private.
- description? string - Description of the gist
- files record { GistsFiles... } - Names and content for the files that make up the gist
github: GistsFiles
Fields
- content string - Content of the file
github: GistsgistIdBody
Fields
- description? string - The description of the gist
- files? record { GistsgistIdFiles?... } - The gist files to be updated, renamed, or deleted. Each key must match the current filename (including extension) of the targeted gist file. For example: hello.py. To delete a file, set the whole file to null. For example: hello.py : null. The file will also be deleted if the specified object does not contain at least one of content or filename
github: GistsgistIdFiles
Fields
- filename? string? - The new filename for the file
- content? string - The new content of the file
github: GistSimple
Gist Simple
Fields
- forks? GistSimpleForks[]? - The list of forks of this gist.
- owner? SimpleUser - The user who owns the gist.
- commitsUrl? string - The API URL to retrieve the gist's commit history.
- comments? int - The number of comments on the gist.
- forksUrl? string - The API URL to retrieve the gist's forks.
- gitPushUrl? string - The Git URL used to push changes to the gist.
- createdAt? string - The timestamp when the gist was created.
- description? string? - A brief description of the gist.
- truncated? boolean - Indicates whether the gist content is truncated.
- forkOf? Gist? - The original gist this gist was forked from.
- history? GistHistory[]? - The list of historical versions of the gist.
- url? string - The API URL of the gist.
- 'public? boolean - Indicates whether the gist is publicly visible.
- updatedAt? string - The timestamp when the gist was last updated.
- htmlUrl? string - The browser-accessible URL of the gist.
- gitPullUrl? string - The Git URL used to pull the gist contents.
- commentsUrl? string - The API URL to retrieve comments on the gist.
- files? record { GistSimpleFiles?... } - The files contained within the gist.
- id? string - The unique identifier of the gist.
- user? string? - The username associated with the gist.
- nodeId? string - The GraphQL node ID of the gist.
github: GistSimpleFiles
Fields
- filename? string - The name of the file in the gist.
- size? int - The size of the file in bytes.
- truncated? boolean - Indicates whether the file content is truncated.
- language? string - The detected programming language of the file.
- 'type? string - The MIME type of the file.
- rawUrl? string - The URL to access the raw file content.
- content? string - The text content of the gist file.
github: GistSimpleForks
Fields
- updatedAt? string - The timestamp when the gist fork was last updated.
- createdAt? string - The timestamp when the gist fork was created.
- id? string - The unique identifier of the gist fork.
- user? PublicUser - The user who forked the gist.
- url? string - The API URL of the gist fork.
github: GistsListCommentsQueries
Represents the Queries record for the operation: gists/list-comments
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: GistsListCommitsQueries
Represents the Queries record for the operation: gists/list-commits
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: GistsListForksQueries
Represents the Queries record for the operation: gists/list-forks
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: GistsListForUserQueries
Represents the Queries record for the operation: gists/list-for-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: GistsListPublicQueries
Represents the Queries record for the operation: gists/list-public
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: GistsListQueries
Represents the Queries record for the operation: gists/list
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: GistsListStarredQueries
Represents the Queries record for the operation: gists/list-starred
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: GitBlobsBody
Fields
- encoding string(default "utf-8") - The encoding used for content. Currently, "utf-8" and "base64" are supported
- content string - The new blob's content
github: GitCommit
Low-level Git commit operations within a repository
Fields
- committer GitCommitCommitter - The person who committed the changes to the repository.
- author GitCommitCommitter - The person who originally authored the commit.
- htmlUrl string - URL of the commit page on GitHub
- tree GitCommitTree - The Git tree object this commit points to.
- message string - Message describing the purpose of the commit
- sha string - SHA for the commit
- url string - API URL for the commit
- verification GitCommitVerification - Signature verification details for this commit.
- nodeId string - The GraphQL node identifier of the commit
- parents GitCommitParents[] - The parent commits of this commit
github: GitCommitCommitter
Identifying information for the git-user
Fields
- date string - Timestamp of the commit
- name string - Name of the git user
- email string - Git email address of the user
github: GitCommitParents
Fields
- htmlUrl string - The HTML URL to view the parent commit on GitHub.
- sha string - SHA for the commit
- url string - The API URL for the parent commit.
github: GitCommitsBody
Fields
- committer? ReposownerrepogitcommitsCommitter - The person who committed the code to the repository.
- signature? string - The PGP signature of the commit. GitHub adds the signature to the gpgsig header of the created commit. For a commit signature to be verifiable by Git or GitHub, it must be an ASCII-armored detached PGP signature over the string commit as it would be written to the object database. To pass a signature parameter, you need to first manually create a valid PGP signature, which can be complicated. You may find it easier to use the command line to create signed commits
- author? ReposownerrepogitcommitsAuthor - The person who originally authored the commit.
- tree string - The SHA of the tree object this commit points to
- message string - The commit message
- parents? string[] - The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided
github: GitCommitTree
The tree object referenced by the commit
Fields
- sha string - SHA for the commit
- url string - The API URL for the tree object referenced by the commit.
github: GitCommitVerification
The GPG signature verification data for the commit
Fields
- reason string - The reason for the verification status of the signature.
- signature string? - The GPG signature string for the commit.
- payload string? - The signed data payload used to verify the signature.
- verified boolean - Indicates whether the commit signature is verified.
github: GitGetTreeQueries
Represents the Queries record for the operation: git/get-tree
Fields
- recursive? string - Setting this parameter to any value returns the objects or subtrees referenced by the tree specified in :tree_sha. For example, setting recursive to any of the following will enable returning objects or subtrees: 0, 1, "true", and "false". Omit this parameter to prevent recursively returning objects or subtrees
github: GitignoreTemplate
Gitignore Template
Fields
- name string - The name of the gitignore template.
- 'source string - The gitignore template content with ignore patterns.
github: GitRef
Git references within a repository
Fields
- ref string - The fully qualified name of the Git reference.
- url string - API URL for this Git reference.
- nodeId string - The GraphQL node identifier of the Git reference.
- 'object GitRefObject - The Git object this reference points to.
github: GitRefObject
Fields
- 'type string - The type of Git object the reference points to.
- sha string - SHA for the reference
- url string - The API URL for the Git reference object.
github: GitRefsBody
Fields
- ref string - The name of the fully qualified reference (ie: refs/heads/master). If it doesn't start with 'refs' and have at least two slashes, it will be rejected
- sha string - The SHA1 value for this reference
github: GitTag
Metadata for a Git tag
Fields
- tagger GitTagTagger - The person who created the tag.
- tag string - Name of the tag
- message string - Message describing the purpose of the tag
- sha string - The SHA hash identifying the tag object.
- url string - URL for the tag
- verification? Verification - The verification details of the tag signature.
- nodeId string - The GraphQL node identifier of the tag.
- 'object GitTagObject - The Git object that this tag points to.
github: GitTagObject
Fields
- 'type string - The type of Git object the tag points to.
- sha string - The SHA of the Git object the tag points to.
- url string - The API URL for the tagged Git object.
github: GitTagsBody
Fields
- tagger? ReposownerrepogittagsTagger - The person creating the tag, including name, email, and date.
- tag string - The tag's name. This is typically a version (e.g., "v0.0.1")
- message string - The tag message
- 'type "commit"|"tree"|"blob" - The type of the object we're tagging. Normally this is a commit but it can also be a tree or a blob
- 'object string - The SHA of the git object this is tagging
github: GitTagTagger
Fields
- date string - The date and time when the tag was created.
- name string - The name of the person who created the tag.
- email string - The email address of the person who created the tag.
github: GitTree
The hierarchy between files in a Git repository
Fields
- tree GitTreeTree[] - Objects specifying a tree structure
- truncated boolean - Indicates whether the tree was truncated due to size limits.
- sha string - The SHA1 hash of the Git tree object.
- url string - The API URL for this Git tree.
github: GitTreesBody
Fields
- baseTree? string - The SHA1 of an existing Git tree object which will be used as the base for the new tree. If provided, a new Git tree object will be created from entries in the Git tree object pointed to by base_tree and entries defined in the tree parameter. Entries defined in the tree parameter will overwrite items from base_tree with the same path. If you're creating new changes on a branch, then normally you'd set base_tree to the SHA1 of the Git tree object of the current latest commit on the branch you're working on. If not provided, GitHub will create a new Git tree object from only the entries defined in the tree parameter. If you create a new commit pointing to such a tree, then all files which were a part of the parent commit's tree and were not defined in the tree parameter will be listed as deleted by the new commit
- tree ReposownerrepogittreesTree[] - Objects (of path, mode, type, and sha) specifying a tree structure
github: GitTreeTree
Fields
- mode? string - File mode of the tree node, representing permissions and type.
- path? string - Path of the file or directory within the repository tree.
- size? int - Size in bytes of the file represented by this tree node.
- 'type? string - Type of the tree node, such as blob, tree, or commit.
- sha? string - SHA1 checksum hash of the tree node object.
- url? string - API URL for retrieving this tree node's details.
github: GlobalAdvisory
A GitHub Security Advisory
Fields
- summary string - A short summary of the advisory
- severity "critical"|"high"|"medium"|"low"|"unknown" - The severity of the advisory
- sourceCodeLocation string? - The URL of the advisory's source code
- references string[]? - A list of reference URLs related to the advisory.
- repositoryAdvisoryUrl string? - The API URL for the repository advisory
- identifiers GlobalAdvisoryIdentifiers[]? - A list of identifiers such as CVE or GHSA IDs for the advisory.
- description string? - A detailed description of what the advisory entails
- 'type "reviewed"|"unreviewed"|"malware" - The type of advisory
- cwes GlobalAdvisoryCwes[]? - The Common Weakness Enumeration (CWE) entries associated with the advisory.
- nvdPublishedAt string? - The date and time when the advisory was published in the National Vulnerability Database, in ISO 8601 format. This field is only populated when the advisory is imported from the National Vulnerability Database
- url string - The API URL for the advisory
- ghsaId string - The GitHub Security Advisory ID
- updatedAt string - The date and time of when the advisory was last updated, in ISO 8601 format
- cveId string? - The Common Vulnerabilities and Exposures (CVE) ID
- credits GlobalAdvisoryCredits[]? - The users who contributed to the advisory
- htmlUrl string - The URL for the advisory
- githubReviewedAt string? - The date and time of when the advisory was reviewed by GitHub, in ISO 8601 format
- withdrawnAt string? - The date and time of when the advisory was withdrawn, in ISO 8601 format
- vulnerabilities GlobalAdvisoryVulnerabilities[]? - The products and respective version ranges affected by the advisory
- publishedAt string - The date and time of when the advisory was published, in ISO 8601 format
- cvss GlobalAdvisoryCvss? - The CVSS score and vector string for the advisory.
github: GlobalAdvisoryCredits
Fields
- 'type SecurityAdvisoryCreditTypes - The type of credit assigned for the security advisory contribution.
- user SimpleUser - The user receiving credit for the security advisory.
github: GlobalAdvisoryCvss
Fields
- score decimal? - The CVSS score
- vectorString string? - The CVSS vector
github: GlobalAdvisoryCwes
Fields
- cweId string - The Common Weakness Enumeration (CWE) identifier
- name string - The name of the CWE
github: GlobalAdvisoryIdentifiers
Fields
- 'type "CVE"|"GHSA" - The type of identifier
- value string - The identifier value
github: GlobalAdvisoryPackage
The name of the package affected by the vulnerability
Fields
- ecosystem SecurityAdvisoryEcosystems - The package ecosystem in which the vulnerability exists.
- name string? - The unique package name within its ecosystem
github: GlobalAdvisoryVulnerabilities
Fields
- firstPatchedVersion string? - The package version that resolve the vulnerability
- package GlobalAdvisoryPackage? - The package affected by this vulnerability.
- vulnerableFunctions string[]? - The functions in the package that are affected by the vulnerability
- vulnerableVersionRange string? - The range of the package versions affected by the vulnerability
github: GpgKey
A unique encryption key
Fields
- publicKey string - The public key value of the GPG key.
- keyId string - The unique identifier string of the GPG key.
- createdAt string - Timestamp when the GPG key was created.
- revoked boolean - Indicates whether the GPG key has been revoked.
- rawKey string? - The raw key data string of the GPG key.
- emails GpgKeyEmails[] - List of email addresses associated with the GPG key.
- canCertify boolean - Indicates whether this key can be used to certify other keys.
- expiresAt string? - Timestamp when the GPG key expires, or null if it never expires.
- canEncryptComms boolean - Indicates whether this key can encrypt communications.
- name? string? - The display name associated with the GPG key.
- canEncryptStorage boolean - Indicates whether this key can encrypt storage.
- canSign boolean - Indicates whether this key can be used to create signatures.
- id int - The unique numeric identifier of the GPG key.
- subkeys GpgKeySubkeys[] - List of subkeys associated with this GPG key.
- primaryKeyId int? - The ID of the primary GPG key this key is associated with.
github: GpgKeyEmails
Fields
- verified? boolean - Indicates whether the email address is verified for the GPG key.
- email? string - The email address associated with the GPG key.
github: GpgKeySubkeys
Fields
- publicKey? string - The public key data for the GPG subkey.
- keyId? string - The identifier of the GPG subkey.
- createdAt? string - Timestamp when the GPG subkey was created.
- revoked? boolean - Whether the GPG subkey has been revoked.
- rawKey? string? - The raw key data for the GPG subkey.
- emails? GpgKeyEmails[] - Email addresses associated with the GPG subkey.
- canCertify? boolean - Whether the GPG subkey can certify other keys.
- expiresAt? string? - Timestamp when the GPG subkey expires.
- canEncryptComms? boolean - Whether the GPG subkey can encrypt communications.
- canEncryptStorage? boolean - Whether the GPG subkey can encrypt storage.
- canSign? boolean - Whether the GPG subkey can create signatures.
- id? int - Unique identifier of the GPG subkey.
- subkeys? anydata[] - List of subkeys associated with this GPG subkey.
- primaryKeyId? int - Identifier of the primary GPG key that owns this subkey.
github: Hook
Webhooks for repositories
Fields
- testUrl string - The URL used to test the webhook delivery.
- active boolean - Determines whether the hook is actually triggered on pushes
- createdAt string - The date and time the webhook was created.
- 'type string - The type of webhook.
- url string - The API URL for the webhook.
- updatedAt string - The date and time the webhook was last updated.
- name string - The name of a valid service, use 'web' for a webhook
- id int - Unique identifier of the webhook
- lastResponse HookResponse - The last response received from the webhook endpoint.
- config HookConfig - Configuration settings for the webhook.
- pingUrl string - The URL used to ping the webhook.
- events string[] - Determines what events the hook is triggered for. Default: ['push']
- deliveriesUrl? string - The API URL listing deliveries for this webhook.
github: HookConfig
Fields
- password? string - The password used for authentication with the webhook endpoint.
- contentType? WebhookConfigContentType - The media type used to serialize webhook payloads.
- insecureSsl? WebhookConfigInsecureSsl - Determines whether SSL verification is bypassed for webhook delivery.
- digest? string - The digest value used for webhook payload verification.
- subdomain? string - The subdomain used for the webhook service integration.
- secret? WebhookConfigSecret - The secret token used to sign webhook payloads.
- email? string - The email address associated with the webhook configuration.
- room? string - The chat room associated with the webhook integration.
- url? WebhookConfigUrl - The URL to which webhook payloads are delivered.
- token? string - The authentication token for the webhook service integration.
github: HookConfigBody
Fields
- contentType? WebhookConfigContentType - The media type used to serialize the webhook payload.
- insecureSsl? WebhookConfigInsecureSsl - Whether SSL verification is skipped when delivering payloads.
- secret? WebhookConfigSecret - The shared secret used to generate the HMAC signature of webhook payloads.
- url? WebhookConfigUrl - The URL to which webhook payloads are delivered.
github: HookDelivery
Delivery made by a webhook
Fields
- request HookDeliveryRequest - The request that was sent for this webhook delivery.
- statusCode int - Status code received when delivery was made
- installationId int? - The id of the GitHub App installation associated with this event
- redelivery boolean - Whether the delivery is a redelivery
- url? string - The URL target of the delivery
- duration decimal - Time spent delivering
- response HookDeliveryResponse - The response received for this webhook delivery.
- guid string - Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event)
- action string? - The type of activity for the event that triggered the delivery
- repositoryId int? - The id of the repository associated with this event
- id int - Unique identifier of the delivery
- event string - The event that triggered the delivery
- deliveredAt string - Time when the delivery was delivered
- status string - Description of the status of the attempted delivery
github: HookDeliveryItem
Delivery made by a webhook, without request and response information
Fields
- duration decimal - Time spent delivering
- statusCode int - Status code received when delivery was made
- guid string - Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event)
- action string? - The type of activity for the event that triggered the delivery
- installationId int? - The id of the GitHub App installation associated with this event
- repositoryId int? - The id of the repository associated with this event
- id int - Unique identifier of the webhook delivery
- event string - The event that triggered the delivery
- deliveredAt string - Time when the webhook delivery occurred
- redelivery boolean - Whether the webhook delivery is a redelivery
- status string - Describes the response returned after attempting the delivery
github: HookDeliveryRequest
Fields
- headers record {}? - The request headers sent with the webhook delivery
- payload record {}? - The webhook payload
github: HookDeliveryResponse
Fields
- headers record {}? - The response headers received when the delivery was made
- payload record {}? - The response payload received
github: HookIdConfigBody
Fields
- contentType? WebhookConfigContentType - The media type used to serialize the webhook payload.
- insecureSsl? WebhookConfigInsecureSsl - Whether to disable SSL verification for webhook delivery.
- secret? WebhookConfigSecret - The secret used to sign webhook payloads for verification.
- url? WebhookConfigUrl - The URL to which webhook payloads will be delivered.
github: HookResponse
Fields
- code int? - The HTTP response code from the webhook delivery.
- message string? - The response message from the webhook delivery.
- status string? - The response status string from the webhook delivery.
github: HookshookIdBody
Fields
- name? string - The name of the webhook.
- active boolean(default true) - Determines if notifications are sent when the webhook is triggered. Set to true to send notifications
- config? OrgsorghookshookIdConfig - The configuration settings for the webhook.
github: HookshookIdBody1
Fields
- removeEvents? string[] - Determines a list of events to be removed from the list of events that the Hook triggers for
- active boolean(default true) - Determines if notifications are sent when the webhook is triggered. Set to true to send notifications
- addEvents? string[] - Determines a list of events to be added to the list of events that the Hook triggers for
- config? ReposownerrepohookshookIdConfig - Configuration object for the webhook including URL and content type.
github: Hovercard
Hovercard
Fields
- contexts HovercardContexts[] - List of contextual information displayed in the hovercard.
github: HovercardContexts
Fields
- message string - The context message displayed in the hovercard.
- octicon string - The octicon icon name used for the hovercard context.
github: Import
A repository import from an external source
Fields
- failedStep? string? - The name of the import step that failed.
- errorMessage? string? - The error message if the import encountered a failure.
- pushPercent? int? - The percentage of the push phase that has completed.
- largeFilesCount? int - The number of large files identified during the import.
- vcsUrl string - The URL of the originating repository
- vcs string? - The version control system of the source repository.
- svcRoot? string - The root path of the source version control repository.
- authorsUrl string - The REST API URL to retrieve the list of import authors.
- message? string - A status message describing the current state of the import.
- projectChoices? ImportProjectChoices[] - Available project choices when multiple projects are detected.
- url string - The REST API URL of the import.
- commitCount? int? - The total number of commits imported from the source repository.
- useLfs? boolean - Whether large files are stored using Git Large File Storage.
- tfvcProject? string - The TFVC project name being imported.
- authorsCount? int? - The number of authors identified in the import source.
- htmlUrl string - The GitHub web URL of the imported repository.
- importPercent? int? - The percentage of the import phase that has completed.
- hasLargeFiles? boolean - Whether the import source contains large files.
- statusText? string? - A human-readable description of the current import status.
- repositoryUrl string - The REST API URL of the destination repository.
- svnRoot? string - The root path of the SVN repository being imported.
- largeFilesSize? int - The total size in kilobytes of large files in the import.
- status "auth"|"error"|"none"|"detecting"|"choose"|"auth_failed"|"importing"|"mapping"|"waiting_to_push"|"pushing"|"complete"|"setup"|"unknown"|"detection_found_multiple"|"detection_found_nothing"|"detection_needs_auth" - The current status of the import process.
github: ImportLfsBody
Fields
- useLfs "opt_in"|"opt_out" - Whether to store large files during the import. opt_in means large files will be stored using Git LFS. opt_out means large files will be removed during the import
github: ImportProjectChoices
Fields
- humanName? string - The human-readable name of the importable project.
- tfvcProject? string - The TFVC project name for Team Foundation Version Control imports.
- vcs? string - The version control system type of the importable project.
github: Installation
Installation
Fields
- accessTokensUrl string - The API URL to create access tokens for the installation.
- repositoriesUrl string - The API URL listing repositories accessible to the installation.
- targetType string - The type of account the installation targets, such as User or Organization.
- singleFileName string? - The single file path the installation is granted access to.
- createdAt string - The date and time the installation was created.
- targetId int - The ID of the user or organization this token is being scoped to
- contactEmail? string? - The contact email address associated with the installation.
- repositorySelection "all"|"selected" - Describe whether all repositories have been selected or there's a selection involved
- appSlug string - The URL-friendly slug identifier for the GitHub App.
- suspendedBy NullableSimpleUser? - The user who suspended the installation, if applicable.
- updatedAt string - The date and time the installation was last updated.
- permissions AppPermissions - The permissions granted to the installation.
- htmlUrl string - The GitHub web URL for the GitHub App's installation page.
- hasMultipleSingleFiles? boolean - Indicates whether the installation has access to multiple single files.
- id int - The ID of the installation
- appId int - The ID of the GitHub App associated with this installation.
- singleFilePaths? string[] - The list of file paths the installation is granted single-file access to.
- account SimpleUser|Enterprise? - The account (user or organization) where the app is installed.
- events string[] - The list of events the installation is subscribed to.
- suspendedAt string? - The date and time the installation was suspended.
github: InstallationIdAccessTokensBody
Fields
- repositoryIds? int[] - List of repository IDs that the token should have access to
- repositories? string[] - List of repository names that the token should have access to
- permissions? AppPermissions - The permissions granted to the installation access token.
github: InstallationResponse
Installation
Fields
- totalCount int - The total number of installations returned.
- installations Installation[] - The list of GitHub App installations.
github: InstallationToken
Authentication token for a GitHub App installed on a user or org
Fields
- repositorySelection? "all"|"selected" - Indicates whether the token applies to all or selected repositories.
- singleFile? string - The path of the single file the token has access to.
- expiresAt string - The date and time when the installation token expires.
- repositories? Repository[] - The list of repositories the token has access to.
- permissions? AppPermissions - The permissions granted to the installation token.
- hasMultipleSingleFiles? boolean - Indicates whether the token grants access to multiple single files.
- singleFilePaths? string[] - The list of file paths the token has single-file access to.
- token string - The authentication token string for the installation.
github: Integration
GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub
Fields
- owner NullableSimpleUser? - The user or organization that owns the GitHub app.
- installationsCount? int - The number of installations associated with the GitHub app
- description string? - A short description of the GitHub app.
- createdAt string - The date and time the GitHub app was created.
- clientId? string - The client ID used for OAuth authentication.
- externalUrl string - The external URL linked to the GitHub app.
- updatedAt string - The date and time the GitHub app was last updated.
- permissions IntegrationPermissions - The set of permissions granted to the GitHub app.
- htmlUrl string - The URL of the GitHub app's GitHub profile page.
- name string - The name of the GitHub app
- webhookSecret? string? - The secret used to secure webhook payloads.
- pem? string - The private key PEM used to sign access token requests.
- id int - Unique identifier of the GitHub app
- clientSecret? string - The client secret used for OAuth authentication.
- slug? string - The slug name of the GitHub app
- events string[] - The list of events for the GitHub app
- nodeId string - The GraphQL node identifier of the GitHub app.
github: IntegrationInstallationRequest
Request to install an integration on a target
Fields
- requester SimpleUser - The user who requested the integration installation.
- createdAt string - The date and time the installation request was created.
- id int - Unique identifier of the request installation
- account SimpleUser|Enterprise - The target account for the integration installation request.
- nodeId? string - The GraphQL node identifier of the installation request.
github: IntegrationPermissions
The set of permissions for the GitHub app
Fields
- issues? string - Permission level granted for issues.
- checks? string - Permission level granted for check runs and check suites.
- metadata? string - Permission level granted for repository metadata.
- contents? string - Permission level granted for repository contents.
- deployments? string - Permission level granted for deployments.
- string... - Rest field
github: InteractionLimit
Limit interactions to a specific type of user for a specified duration
Fields
- 'limit InteractionGroup - The type of user interaction to restrict.
- expiry? InteractionExpiry - The duration for which the interaction limit is active.
github: InteractionLimitResponse
Interaction limit settings
Fields
- expiresAt string - The date and time when the interaction limit expires.
- origin string - The origin context where the interaction limit is applied.
- 'limit InteractionGroup - The type of interaction limit currently active.
github: InteractionLimitResponseAnyAnyOf2
github: InvitationsinvitationIdBody
Fields
- permissions? "read"|"write"|"maintain"|"triage"|"admin" - The permissions that the associated user will have on the repository. Valid values are read, write, maintain, triage, and admin
github: Issue
Issues are a great way to keep track of tasks, enhancements, and bugs for your projects
Fields
- bodyHtml? string - The HTML-rendered body of the issue
- bodyText? string - The plain text body of the issue
- assignees? SimpleUser[]? - The users assigned to the issue
- createdAt string - The date the issue was created
- title string - Title of the issue
- body? string? - Contents of the issue
- repository? Repository - The repository this issue belongs to.
- closedBy? NullableSimpleUser? - The user who closed the issue
- labelsUrl string - API URL template for the issue's labels
- authorAssociation AuthorAssociation - The association of the author with the repository
- number int - Number uniquely identifying the issue within its repository
- updatedAt string - The date the issue was last updated
- performedViaGithubApp? NullableIntegration? - The GitHub App that triggered the event
- draft? boolean - Whether the issue is a draft
- commentsUrl string - API URL for the issue's comments
- activeLockReason? string? - The reason the issue conversation was locked
- id int - The unique identifier of the issue
- repositoryUrl string - API URL for the repository containing the issue
- state string - State of the issue; either 'open' or 'closed'
- locked boolean - Whether the issue conversation is locked
- timelineUrl? string - API URL for the issue's timeline events
- stateReason? "completed"|"reopened"|"not_planned"? - The reason for the current state
- pullRequest? IssuePullRequest - Pull request details linked to this issue, if applicable.
- comments int - The number of comments on the issue
- closedAt string? - The date the issue was closed
- url string - URL for the issue
- labels IssueLabels[] - Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository
- milestone NullableMilestone? - The milestone associated with this issue.
- eventsUrl string - API URL for the issue's events
- htmlUrl string - URL of the issue page on GitHub
- reactions? ReactionRollup - Reaction counts aggregated for the issue.
- assignee NullableSimpleUser? - The primary user assigned to the issue.
- user NullableSimpleUser? - The user who created the issue.
- nodeId string - The GraphQL node identifier of the issue
github: IssueComment
Comments provide a way for people to collaborate on an issue
Fields
- issueUrl string - API URL for the associated issue
- bodyHtml? string - The HTML-rendered body of the comment
- bodyText? string - The plain text body of the comment
- createdAt string - The date the comment was created
- body? string - Contents of the issue comment
- url string - URL for the issue comment
- authorAssociation AuthorAssociation - The association of the comment author with the repository
- updatedAt string - The date the comment was last updated
- performedViaGithubApp? NullableIntegration? - The GitHub App that created the comment
- htmlUrl string - URL of the comment on GitHub
- reactions? ReactionRollup - Reaction counts aggregated by emoji for the comment.
- id int - Unique identifier of the issue comment
- user NullableSimpleUser? - The user who created the issue comment.
- nodeId string - The GraphQL node identifier of the comment
github: IssueEvent
Issue Event
Fields
- requestedTeam? Team - The team requested for review in this event.
- dismissedReview? IssueEventDismissedReview - Details of the dismissed review associated with this event.
- issue? NullableIssue? - The issue associated with this event.
- lockReason? string? - The reason the issue was locked.
- assigner? NullableSimpleUser? - The user who performed the assignment action.
- createdAt string - The date and time the event was created.
- requestedReviewer? NullableSimpleUser? - The user requested as a reviewer in this event.
- label? IssueEventLabel - The label added or removed in this event.
- url string - The API URL for this issue event.
- projectCard? IssueEventProjectCard - The project card associated with this event.
- actor NullableSimpleUser? - The user who triggered this event.
- authorAssociation? AuthorAssociation - The role of the actor in relation to the repository.
- commitUrl string? - The API URL of the commit associated with this event.
- reviewRequester? NullableSimpleUser? - The user who requested the review.
- milestone? IssueEventMilestone - The milestone added or removed in this event.
- performedViaGithubApp? NullableIntegration? - The GitHub app that performed this event, if applicable.
- rename? IssueEventRename - The rename details if the issue was renamed.
- id int - The unique identifier of the issue event.
- assignee? NullableSimpleUser? - The user assigned or unassigned in this event.
- event string - The type of event that occurred on the issue.
- commitId string? - The SHA of the commit associated with this event.
- nodeId string - The GraphQL node identifier of this event.
github: IssueEventDismissedReview
Fields
- reviewId int - The unique identifier of the dismissed pull request review.
- state string - The state of the review at the time it was dismissed.
- dismissalCommitId? string? - The SHA of the commit at which the review was dismissed.
- dismissalMessage string? - The message provided when the review was dismissed.
github: IssueEventLabel
Issue Event Label
Fields
- color string? - The hex color code of the label.
- name string? - The name of the label.
github: IssueEventMilestone
Issue Event Milestone
Fields
- title string - The title of the milestone associated with the issue event.
github: IssueEventProjectCard
Issue Event Project Card
Fields
- projectId int - The unique identifier of the project containing the card.
- columnName string - The name of the project column containing the card.
- projectUrl string - API URL for the project associated with the card.
- id int - The unique identifier of the project card.
- previousColumnName? string - The name of the column the card was moved from.
- url string - API URL for the project card.
github: IssueEventRename
Issue Event Rename
Fields
- 'from string - The previous name of the issue before renaming.
- to string - The new name of the issue after renaming.
github: IssueNumberAssigneesBody
Fields
- assignees? string[] - Usernames of people to assign this issue to. NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise.
github: IssueNumberAssigneesBody1
Fields
- assignees? string[] - Usernames of assignees to remove from an issue. NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise.
github: IssueNumberLockBody
Fields
- lockReason? "off-topic"|"too heated"|"resolved"|"spam" - The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons:
- off-topic
- too heated
- resolved
- spam
github: IssueNumberReactionsBody
Fields
- content "+1"|"-1"|"laugh"|"confused"|"heart"|"hooray"|"rocket"|"eyes" - The reaction type to add to the issue
github: IssuePullRequest
Pull request metadata if this issue is a pull request
Fields
- patchUrl string? - The URL to download the pull request as a patch file.
- mergedAt? string? - The date and time the pull request was merged.
- htmlUrl string? - The GitHub web URL of the associated pull request.
- diffUrl string? - The URL to download the pull request as a diff file.
- url string? - The REST API URL of the associated pull request.
github: IssueSearchResultItem
Issue Search Result Item
Fields
- bodyHtml? string - The HTML-rendered body of the issue.
- bodyText? string - The plain-text body of the issue.
- assignees? SimpleUser[]? - The list of users assigned to the issue.
- createdAt string - The date and time the issue was created.
- title string - The title of the issue.
- body? string? - The body content of the issue.
- repository? Repository - The repository containing the issue.
- labelsUrl string - API URL for listing labels on this issue.
- authorAssociation AuthorAssociation - The author's association with the repository.
- number int - The issue number within the repository.
- score decimal - The relevance score of the issue in search results.
- updatedAt string - The date and time the issue was last updated.
- performedViaGithubApp? NullableIntegration? - The GitHub App that triggered the issue action, if any.
- draft? boolean - Whether the associated pull request is a draft.
- commentsUrl string - API URL for listing comments on the issue.
- activeLockReason? string? - The reason the issue is locked, if applicable.
- repositoryUrl string - API URL for the repository containing the issue.
- id int - The unique identifier of the issue.
- state string - The state of the issue, either open or closed.
- locked boolean - Whether the issue is locked.
- timelineUrl? string - API URL for the issue's timeline events.
- stateReason? string? - The reason the issue was set to its current state.
- pullRequest? IssueSearchResultItemPullRequest - Pull request metadata if the issue is linked to one.
- comments int - The number of comments on the issue.
- closedAt string? - The date and time the issue was closed.
- url string - API URL for the issue.
- labels IssueSearchResultItemLabels[] - The list of labels applied to the issue.
- milestone NullableMilestone? - The milestone associated with the issue.
- eventsUrl string - API URL for listing events on the issue.
- htmlUrl string - URL of the issue page on GitHub.
- textMatches? SearchResultTextMatches - Text fragments matching the search query.
- reactions? ReactionRollup - Reaction counts for the issue.
- assignee NullableSimpleUser? - The primary user assigned to the issue.
- user NullableSimpleUser? - The user who created the issue.
- nodeId string - The GraphQL node identifier of the issue.
github: IssueSearchResultItemLabels
Fields
- default? boolean - Whether this is a default label provided by GitHub.
- color? string - The hexadecimal color code of the label.
- name? string - The name of the label.
- description? string? - A short description of the label.
- id? int - The unique identifier of the label.
- url? string - The API URL for the label.
- nodeId? string - The GraphQL node identifier of the label.
github: IssueSearchResultItemPullRequest
Fields
- patchUrl string? - The URL to download the patch for this pull request.
- mergedAt? string? - The timestamp when this pull request was merged.
- htmlUrl string? - The HTML URL to view this pull request on GitHub.
- diffUrl string? - The URL to view the diff for this pull request.
- url string? - The API URL for this pull request.
github: IssueSearchResultItemResponse
Issue Search Result Item
Fields
- totalCount int - The total number of issues matching the search query.
- incompleteResults boolean - Indicates whether the search results are incomplete.
- items IssueSearchResultItem[] - The list of issues matching the search query.
github: IssuesissueNumberBody
Fields
- stateReason? "completed"|"not_planned"|"reopened"? - The reason for the state change. Ignored unless state is changed
- assignees? string[] - Usernames to assign to this issue. Pass one or more user logins to replace the set of assignees on this issue. Send an empty array ([]) to clear all assignees from the issue. Only users with push access can set assignees for new issues. Without push access to the repository, assignee changes are silently dropped
- assignee? string? - Username to assign to this issue. This field is deprecated.
- state? "open"|"closed" - The open or closed state of the issue
- body? string? - The contents of the issue
- labels? ReposownerrepoissuesissueNumberLabels[] - Labels to associate with this issue. Pass one or more labels to replace the set of labels on this issue. Send an empty array ([]) to clear all labels from the issue. Only users with push access can set labels for issues. Without push access to the repository, label changes are silently dropped
github: IssuesListAssigneesQueries
Represents the Queries record for the operation: issues/list-assignees
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: IssuesListCommentsForRepoQueries
Represents the Queries record for the operation: issues/list-comments-for-repo
Fields
- perPage int(default 30) - The number of results per page (max 100)
- sort "created"|"updated" (default "created") - The property to sort the results by
- page int(default 1) - Page number of the results to fetch
- direction? "asc"|"desc" - Either asc or desc. Ignored without the sort parameter
github: IssuesListCommentsQueries
Represents the Queries record for the operation: issues/list-comments
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: IssuesListEventsForRepoQueries
Represents the Queries record for the operation: issues/list-events-for-repo
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: IssuesListEventsForTimelineQueries
Represents the Queries record for the operation: issues/list-events-for-timeline
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: IssuesListEventsQueries
Represents the Queries record for the operation: issues/list-events
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: IssuesListForAuthenticatedUserQueries
Represents the Queries record for the operation: issues/list-for-authenticated-user
Fields
- filter "assigned"|"created"|"mentioned"|"subscribed"|"repos"|"all" (default "assigned") - Indicates which sorts of issues to return. assigned means issues assigned to you. created means issues created by you. mentioned means issues mentioning you. subscribed means issues you're subscribed to updates for. all or repos means all issues you can see, regardless of participation or creation
- perPage int(default 30) - The number of results per page (max 100)
- state "open"|"closed"|"all" (default "open") - Indicates the state of the issues to return
- sort "created"|"updated"|"comments" (default "created") - What to sort results by
- page int(default 1) - Page number of the results to fetch
- labels? string - A list of comma separated label names. Example: bug,ui,@high
- direction "asc"|"desc" (default "desc") - The direction to sort the results by
github: IssuesListForOrgQueries
Represents the Queries record for the operation: issues/list-for-org
Fields
- filter "assigned"|"created"|"mentioned"|"subscribed"|"repos"|"all" (default "assigned") - Indicates which sorts of issues to return. assigned means issues assigned to you. created means issues created by you. mentioned means issues mentioning you. subscribed means issues you're subscribed to updates for. all or repos means all issues you can see, regardless of participation or creation
- perPage int(default 30) - The number of results per page (max 100)
- state "open"|"closed"|"all" (default "open") - Indicates the state of the issues to return
- sort "created"|"updated"|"comments" (default "created") - What to sort results by
- page int(default 1) - Page number of the results to fetch
- labels? string - A list of comma separated label names. Example: bug,ui,@high
- direction "asc"|"desc" (default "desc") - The direction to sort the results by
github: IssuesListForRepoQueries
Represents the Queries record for the operation: issues/list-for-repo
Fields
- perPage int(default 30) - The number of results per page (max 100)
- creator? string - The user that created the issue
- milestone? string - If an integer is passed, it should refer to a milestone by its number field. If the string * is passed, issues with any milestone are accepted. If the string none is passed, issues without milestones are returned
- state "open"|"closed"|"all" (default "open") - Indicates the state of the issues to return
- assignee? string - Can be the name of a user. Pass in none for issues with no assigned user, and * for issues assigned to any user
- sort "created"|"updated"|"comments" (default "created") - What to sort results by
- page int(default 1) - Page number of the results to fetch
- mentioned? string - A user that's mentioned in the issue
- labels? string - A list of comma separated label names. Example: bug,ui,@high
- direction "asc"|"desc" (default "desc") - The direction to sort the results by
github: IssuesListLabelsForMilestoneQueries
Represents the Queries record for the operation: issues/list-labels-for-milestone
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: IssuesListLabelsForRepoQueries
Represents the Queries record for the operation: issues/list-labels-for-repo
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: IssuesListLabelsOnIssueQueries
Represents the Queries record for the operation: issues/list-labels-on-issue
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: IssuesListMilestonesQueries
Represents the Queries record for the operation: issues/list-milestones
Fields
- perPage int(default 30) - The number of results per page (max 100)
- state "open"|"closed"|"all" (default "open") - The state of the milestone. Either open, closed, or all
- sort "due_on"|"completeness" (default "due_on") - What to sort results by. Either due_on or completeness
- page int(default 1) - Page number of the results to fetch
- direction "asc"|"desc" (default "asc") - The direction of the sort. Either asc or desc
github: IssuesListQueries
Represents the Queries record for the operation: issues/list
Fields
- filter "assigned"|"created"|"mentioned"|"subscribed"|"repos"|"all" (default "assigned") - Indicates which sorts of issues to return. assigned means issues assigned to you. created means issues created by you. mentioned means issues mentioning you. subscribed means issues you're subscribed to updates for. all or repos means all issues you can see, regardless of participation or creation
- perPage int(default 30) - The number of results per page (max 100)
- collab? boolean - If true, include issues from collaborating repositories.
- owned? boolean - If true, include issues from repositories owned by the authenticated user.
- state "open"|"closed"|"all" (default "open") - Indicates the state of the issues to return
- sort "created"|"updated"|"comments" (default "created") - What to sort results by
- orgs? boolean - If true, include issues from organization repositories.
- page int(default 1) - Page number of the results to fetch
- labels? string - A list of comma separated label names. Example: bug,ui,@high
- direction "asc"|"desc" (default "desc") - The direction to sort the results by
- pulls? boolean - If true, include pull requests in the results.
github: JitConfig
Fields
- runner Runner - The runner associated with this just-in-time configuration.
- encodedJitConfig string - The base64 encoded runner configuration
github: Job
Information of a job execution in a workflow run
Fields
- runnerId int? - The ID of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)
- runId int - The id of the associated workflow run
- workflowName string? - The name of the workflow
- headBranch string? - The name of the current branch
- runnerName string? - The name of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)
- runnerGroupName string? - The name of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)
- createdAt string - The time that the job created, in ISO 8601 format
- steps? JobSteps[] - Steps in this job
- headSha string - The SHA of the commit that is being run
- url string - The API URL for this workflow job.
- checkRunUrl string - The API URL for the check run associated with this job.
- labels string[] - Labels for the workflow job. Specified by the "runs_on" attribute in the action's workflow file
- conclusion "success"|"failure"|"neutral"|"cancelled"|"skipped"|"timed_out"|"action_required"? - The outcome of the job
- completedAt string? - The time that the job finished, in ISO 8601 format
- runUrl string - The API URL for the workflow run associated with this job.
- htmlUrl string? - The HTML URL for viewing this job on GitHub.
- name string - The name of the job
- runAttempt? int - Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run
- startedAt string - The time that the job started, in ISO 8601 format
- id int - The id of the job
- runnerGroupId int? - The ID of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)
- nodeId string - The GraphQL node ID for the job.
- status "queued"|"in_progress"|"completed" - The phase of the lifecycle that the job is currently in
github: JobIdRerunBody
Fields
- enableDebugLogging boolean(default false) - Whether to enable debug logging for the re-run
github: JobResponse
Information of a job execution in a workflow run
Fields
- totalCount int - The total number of jobs in the workflow run.
- jobs Job[] - The list of jobs in the workflow run.
github: JobSteps
Fields
- conclusion string? - The outcome of the job
- number int - The sequential step number within the job.
- completedAt? string? - The time that the job finished, in ISO 8601 format
- name string - The name of the job
- startedAt? string? - The time that the step started, in ISO 8601 format
- status "queued"|"in_progress"|"completed" - The phase of the lifecycle that the job is currently in
github: Key
Key
Fields
- readOnly boolean - Whether the SSH key grants read-only access to the repository.
- verified boolean - Whether the SSH key has been verified.
- createdAt string - The date and time the key was created.
- id int - The unique identifier of the SSH key.
- title string - The display title of the SSH key.
- 'key string - The public SSH key value.
- url string - The API URL for the SSH key.
github: KeySimple
Key Simple
Fields
- id int - The unique identifier of the SSH key.
- 'key string - The public SSH key value.
github: Label
Color-coded labels help you categorize and filter your issues (just like labels in Gmail)
Fields
- default boolean - Whether this label comes by default in a new repository
- color string - 6-character hex code, without the leading #, identifying the color
- name string - The name of the label
- description string? - Optional description of the label, such as its purpose
- id int - Unique identifier for the label
- url string - URL for the label
- nodeId string - The GraphQL node ID of the label.
github: LabeledIssueEvent
Labeled Issue Event
Fields
- actor SimpleUser - The user who triggered this labeled event.
- commitUrl string? - API URL of the commit associated with this event.
- performedViaGithubApp NullableIntegration? - The GitHub App that triggered this event, if any.
- createdAt string - The timestamp when this event was created.
- id int - Unique numeric identifier for this event.
- label UnlabeledIssueEventLabel - The label that was applied in this event.
- event string - The type of event that occurred.
- commitId string? - The SHA of the commit associated with this event.
- url string - API URL for this event.
- nodeId string - Global node identifier for this event.
github: LabelSearchResultItem
Label Search Result Item
Fields
- score decimal - Search relevance score for this label result.
- default boolean - Indicates whether this is a default label for new repositories.
- color string - Hex color code associated with the label.
- textMatches? SearchResultTextMatches - Text match metadata for highlighted search result snippets.
- name string - Name of the label.
- description string? - Short description of the label's purpose.
- id int - Unique numeric identifier of the label.
- url string - API URL for accessing this label.
- nodeId string - Global GraphQL node identifier for the label.
github: LabelSearchResultItemResponse
Label Search Result Item
Fields
- totalCount int - The total number of labels matching the search query.
- incompleteResults boolean - Whether the search results are incomplete due to a timeout.
- items LabelSearchResultItem[] - The list of label search result items.
github: LabelsLabelsOneOf112
Fields
- color? string? - The hexadecimal color code for the label.
- name? string - The name of the label.
- description? string? - A short description of the label.
- id? int - The unique identifier of the label.
github: LabelsLabelsOneOf12
Fields
- color? string? - The hexadecimal color code for the label.
- name? string - The name of the label.
- description? string? - A short description of the label's purpose.
- id? int - The unique identifier of the label.
github: LabelsLabelsOneOf122
Fields
- default? boolean - Indicates whether this is a default label for the repository.
- color? string? - The hex color code of the label.
- name? string - The name of the label.
- description? string? - A brief description of the label.
- id? int - The unique identifier of the label.
- url? string - The API URL of the label.
- nodeId? string - The GraphQL node identifier of the label.
github: LabelsLabelsOneOf132
Fields
- default? boolean - Indicates whether this is a default label for the repository.
- color? string? - The hexadecimal color code for the label.
- name? string - The name of the label.
- description? string? - A short description of the label.
- id? int - The unique numeric identifier of the label.
- url? string - The URL of the label resource.
- nodeId? string - The GraphQL node identifier for the label.
github: LabelsnameBody
Fields
- color? string - The hexadecimal color code for the label, without the leading #
- description? string - A short description of the label. Must be 100 characters or fewer
- newName? string - The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji
. For a full list of available emoji and codes, see "Emoji cheat sheet."
github: Language
Language
Fields
- int... - Rest field
github: License
License
Fields
- featured boolean - Indicates whether the license is featured on GitHub.
- implementation string - Instructions on how to implement the license in a project.
- description string - A brief description of the license.
- body string - The full text body of the license.
- spdxId string? - The SPDX identifier for the license.
- url string? - The API URL for the license resource.
- permissions string[] - List of permissions granted by this license.
- htmlUrl string - The URL to the human-readable license page.
- name string - The full name of the license.
- conditions string[] - List of conditions required by this license.
- 'key string - The unique key identifier for the license.
- nodeId string - The GraphQL node ID for the license.
- limitations string[] - List of limitations imposed by this license.
github: LicenseContent
License Content
Fields
- links ContentSymlinkLinks - Hypermedia links for navigating related resources.
- 'type string - The type of the content object.
- encoding string - The encoding used for the content field.
- sha string - The SHA hash of the file content.
- url string - The API URL for the license content.
- content string - The Base64-encoded content of the license file.
- path string - The path of the license file within the repository.
- license NullableLicenseSimple? - The license information associated with this content.
- size int - The size of the file in bytes.
- htmlUrl string? - The HTML URL to view the license file on GitHub.
- name string - The filename of the license file.
- downloadUrl string? - The URL to download the raw license file content.
- gitUrl string? - The API URL for the git blob object of the license file.
github: LicensesGetAllCommonlyUsedQueries
Represents the Queries record for the operation: licenses/get-all-commonly-used
Fields
- perPage int(default 30) - The number of results per page (max 100)
- featured? boolean - Filter to only return featured licenses.
- page int(default 1) - Page number of the results to fetch
github: LicenseSimple
License Simple
Fields
- htmlUrl? string - URL of the license page on GitHub.
- name string - The full name of the license.
- spdxId string? - The SPDX identifier for the license.
- 'key string - The unique key identifier for the license.
- url string? - API URL for the license.
- nodeId string - The GraphQL node identifier of the license.
github: Link
Hypermedia Link
Fields
- href string - The URL of the hyperlink.
github: LinkWithType
Hypermedia Link with Type
Fields
- href string - The URL of the hypermedia link.
- 'type string - The media type of the hypermedia link.
github: LockedIssueEvent
Locked Issue Event
Fields
- actor SimpleUser - The user who locked the issue.
- commitUrl string? - API URL for the commit associated with this event.
- performedViaGithubApp NullableIntegration? - The GitHub App that triggered the lock event.
- lockReason string? - The reason the issue was locked.
- createdAt string - The date and time when the issue was locked.
- id int - The unique identifier of this event.
- event string - The type of event that occurred.
- commitId string? - The SHA of the commit associated with this event.
- url string - API URL for this event.
- nodeId string - The GraphQL node identifier of this event.
github: Manifest
Fields
- metadata? Metadata - Additional metadata associated with the dependency manifest.
- file? ManifestFile - The file details associated with the dependency manifest.
- name string - The name of the manifest
- resolved? record { Dependency... } - A collection of resolved package dependencies
github: ManifestConversions
Fields
- Fields Included from *Integration
- owner NullableSimpleUser|()
- installationsCount int
- description string|()
- createdAt string
- clientId string
- externalUrl string
- updatedAt string
- permissions IntegrationPermissions
- htmlUrl string
- name string
- webhookSecret string|()
- pem string
- id int
- clientSecret string
- slug string
- events string[]
- nodeId string
- anydata...
- client_id string -
- client_secret string -
- webhook_secret string? -
- pem string -
github: ManifestFile
Fields
- sourceLocation? string - The path of the manifest file relative to the root of the Git repository
github: MarkdownBody
Fields
- mode "markdown"|"gfm" (default "markdown") - The rendering mode
- context? string - The repository context to use when creating references in gfm mode. For example, setting context to octo-org/octo-repo will change the text #42 into an HTML link to issue 42 in the octo-org/octo-repo repository
- text string - The Markdown text to render in HTML
github: MarketplaceAccount
Fields
- organizationBillingEmail? string? - The billing email address for the organization account.
- id int - The unique identifier of the marketplace account.
- 'type string - The type of account, such as User or Organization.
- login string - The login username of the marketplace account.
- url string - The API URL for the marketplace account.
- email? string? - The email address associated with the marketplace account.
- nodeId? string - The GraphQL node identifier of the marketplace account.
github: MarketplaceListingPlan
Marketplace Listing Plan
Fields
- hasFreeTrial boolean - Indicates whether this plan offers a free trial period.
- accountsUrl string - The API URL to list accounts subscribed to this plan.
- description string - A description of the Marketplace listing plan.
- url string - The API URL for this Marketplace listing plan.
- unitName string? - The name of the unit for per-unit pricing plans.
- number int - The unique plan number for this Marketplace listing.
- yearlyPriceInCents int - The yearly price of the plan in US cents.
- name string - The name of the Marketplace listing plan.
- id int - The unique identifier of this Marketplace listing plan.
- monthlyPriceInCents int - The monthly price of the plan in US cents.
- state string - The current state of the Marketplace listing plan.
- priceModel "FREE"|"FLAT_RATE"|"PER_UNIT" - The pricing model used for this plan (FREE, FLAT_RATE, or PER_UNIT).
- bullets string[] - A list of feature bullet points describing this plan.
github: MarketplacePurchase
Marketplace Purchase
Fields
- marketplacePendingChange? MarketplacePurchaseMarketplacePendingChange? - A pending change to the user's Marketplace subscription.
- organizationBillingEmail? string - The billing email address of the purchasing organization.
- id int - The unique identifier of the Marketplace purchaser account.
- marketplacePurchase MarketplacePurchaseMarketplacePurchase - The details of the current Marketplace purchase subscription.
- 'type string - The type of account making the Marketplace purchase.
- login string - The username of the account making the Marketplace purchase.
- url string - The REST API URL of the purchasing account.
- email? string? - The email address of the account making the Marketplace purchase.
github: MarketplacePurchaseMarketplacePendingChange
Fields
- isInstalled? boolean - Indicates whether the Marketplace plan is currently installed.
- effectiveDate? string - The date when the pending plan change takes effect.
- id? int - Unique identifier of the pending Marketplace change.
- plan? MarketplaceListingPlan - The Marketplace listing plan associated with the pending change.
- unitCount? int? - The number of units for the pending Marketplace plan change.
github: MarketplacePurchaseMarketplacePurchase
Fields
- isInstalled? boolean - Indicates whether the GitHub App is installed for this purchase.
- freeTrialEndsOn? string? - The date and time when the free trial period ends.
- onFreeTrial? boolean - Indicates whether the account is currently on a free trial.
- updatedAt? string - The date and time when the purchase was last updated.
- billingCycle? string - The billing cycle frequency for the Marketplace plan.
- plan? MarketplaceListingPlan - The Marketplace listing plan associated with this purchase.
- unitCount? int? - The number of units purchased for the Marketplace plan.
- nextBillingDate? string? - The date and time of the next scheduled billing.
github: MembershipsusernameBody
Fields
- role "admin"|"member" (default "member") - The role to give the user in the organization. Can be one of:
- admin - The user will become an owner of the organization.
- member - The user will become a non-owner member of the organization
github: MembershipsusernameBody1
Fields
- role "member"|"maintainer" (default "member") - The role that this user should have in the team
github: MergedBranchResponse
Merged branch response message
Fields
- message? string - Response message indicating the result of the branch merge.
github: MergedUpstream
Results of a successful merge upstream request
Fields
- baseBranch? string - The name of the base branch that was synced upstream.
- mergeType? "merge"|"fast-forward"|"none" - The type of merge operation performed during the upstream sync.
- message? string - A message describing the result of the upstream merge.
github: Metadata
User-defined metadata to store domain-specific information limited to 8 keys with scalar values
github: MetaGetOctocatQueries
Represents the Queries record for the operation: meta/get-octocat
Fields
- s? string - The words to show in Octocat's speech bubble
github: Migration
A migration
Fields
- owner NullableSimpleUser? - The user or organization that owns the migration.
- archiveUrl? string - The URL to download the migration archive.
- excludeGitData boolean - Whether Git data is excluded from the migration.
- createdAt string - The timestamp when the migration was created.
- excludeReleases boolean - Whether releases are excluded from the migration.
- excludeOwnerProjects boolean - Whether owner projects are excluded from the migration.
- lockRepositories boolean - Whether repositories are locked during the migration.
- url string - The API URL for this migration.
- excludeMetadata boolean - Whether metadata is excluded from the migration.
- updatedAt string - The timestamp when the migration was last updated.
- repositories Repository[] - The repositories included in the migration. Only returned for export migrations
- guid string - The unique GUID identifier for the migration.
- excludeAttachments boolean - Whether attachments are excluded from the migration.
- orgMetadataOnly boolean - Whether only organization metadata is included in the migration.
- exclude? string[] - Exclude related items from being returned in the response in order to improve performance of the request. The array can include any of: "repositories"
- id int - The unique identifier of the migration.
- state string - The current state of the migration.
- nodeId string - The GraphQL node identifier of the migration.
github: MigrationsGetCommitAuthorsQueries
Represents the Queries record for the operation: migrations/get-commit-authors
Fields
- since? int - A user ID. Only return users with an ID greater than this ID
github: MigrationsGetStatusForAuthenticatedUserQueries
Represents the Queries record for the operation: migrations/get-status-for-authenticated-user
Fields
- exclude? string[] - Exclude attributes from the API response to improve performance.
github: MigrationsGetStatusForOrgQueries
Represents the Queries record for the operation: migrations/get-status-for-org
Fields
- exclude? ("repositories")[] - Exclude attributes from the API response to improve performance
github: MigrationsListForAuthenticatedUserQueries
Represents the Queries record for the operation: migrations/list-for-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: MigrationsListForOrgQueries
Represents the Queries record for the operation: migrations/list-for-org
Fields
- perPage int(default 30) - The number of results per page (max 100)
- exclude? ("repositories")[] - Exclude attributes from the API response to improve performance
- page int(default 1) - Page number of the results to fetch
github: MigrationsListReposForAuthenticatedUserQueries
Represents the Queries record for the operation: migrations/list-repos-for-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: MigrationsListReposForOrgQueries
Represents the Queries record for the operation: migrations/list-repos-for-org
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: Milestone
A collection of related issues and pull requests
Fields
- creator NullableSimpleUser? - The user who created the milestone.
- closedAt string? - The date the milestone was closed
- description string? - A description of the milestone
- createdAt string - The date the milestone was created
- title string - The title of the milestone
- closedIssues int - The number of closed issues in the milestone
- url string - API URL for the milestone
- dueOn string? - The due date for the milestone
- labelsUrl string - API URL for issues with this milestone
- number int - The number of the milestone
- updatedAt string - The date the milestone was last updated
- htmlUrl string - URL of the milestone page on GitHub
- id int - The unique identifier of the milestone
- state "open"|"closed" (default "open") - The state of the milestone
- openIssues int - The number of open issues in the milestone
- nodeId string - The GraphQL node identifier of the milestone
github: MilestonedIssueEvent
Milestoned Issue Event
Fields
- actor SimpleUser - The user who triggered the milestoned event.
- commitUrl string? - The API URL of the commit associated with the event.
- performedViaGithubApp NullableIntegration? - The GitHub App that performed this event, if applicable.
- milestone MilestonedIssueEventMilestone - The milestone added to the issue.
- createdAt string - Timestamp when the event was created.
- id int - The unique numeric identifier for the event.
- event string - The type of event that occurred.
- commitId string? - The SHA of the commit associated with the event.
- url string - The API URL for this event.
- nodeId string - The GraphQL node ID for the event.
github: MilestonedIssueEventMilestone
Fields
- title string - The title of the milestone associated with the issue event.
github: MilestonesmilestoneNumberBody
Fields
- description? string - A description of the milestone
- state "open"|"closed" (default "open") - The state of the milestone. Either open or closed
- title? string - The title of the milestone
github: MinimalRepository
Minimal Repository
Fields
- allowForking? boolean - Whether forking is allowed on the repository
- stargazersCount? int - The number of stars on the repository
- isTemplate? boolean - Whether the repository is a template repository
- pushedAt? string? - The date of the most recent push to the repository
- subscriptionUrl string - API URL for the authenticated user's subscription to the repository
- language? string? - The primary programming language of the repository
- branchesUrl string - API URL template for listing repository branches
- issueCommentUrl string - API URL template for accessing issue comments
- labelsUrl string - API URL template for listing repository labels
- subscribersUrl string - API URL for listing repository watchers
- permissions? MinimalRepositoryPermissions - The permissions the authenticated user has on this repository.
- tempCloneToken? string - A temporary token for cloning the repository
- releasesUrl string - API URL template for listing repository releases
- svnUrl? string - The Subversion URL for the repository
- subscribersCount? int - The number of users watching the repository
- id int - The unique identifier of the repository
- hasDiscussions? boolean - Whether the repository has discussions enabled
- forks? int - The number of forks of the repository
- archiveUrl string - API URL template for downloading repository archives
- gitRefsUrl string - API URL template for accessing Git references
- forksUrl string - API URL for listing repository forks
- visibility? string - The visibility of the repository
- statusesUrl string - API URL template for listing commit statuses
- networkCount? int - The number of repositories in the fork network
- sshUrl? string - The SSH URL for cloning the repository
- roleName? string - The role name assigned to the user for this repository
- license? MinimalRepositoryLicense? - The license applied to the repository.
- fullName string - The full name of the repository in owner/name format
- size? int - The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0
- languagesUrl string - API URL for listing programming languages used
- htmlUrl string - URL of the repository page on GitHub
- collaboratorsUrl string - API URL template for listing repository collaborators
- cloneUrl? string - The HTTPS URL for cloning the repository
- name string - The name of the repository
- pullsUrl string - API URL template for listing pull requests
- defaultBranch? string - The default branch of the repository
- hooksUrl string - API URL for listing repository webhooks
- treesUrl string - API URL template for accessing Git trees
- tagsUrl string - API URL for listing repository tags
- 'private boolean - Whether the repository is private
- contributorsUrl string - API URL for listing repository contributors
- hasDownloads? boolean - Whether the repository has downloads enabled
- notificationsUrl string - API URL template for listing repository notifications
- openIssuesCount? int - The number of open issues in the repository
- description string? - A short description of the repository
- createdAt? string? - The date the repository was created
- watchers? int - The number of watchers on the repository
- deploymentsUrl string - API URL for listing repository deployments
- keysUrl string - API URL template for listing repository deploy keys
- hasProjects? boolean - Whether the repository has projects enabled
- archived? boolean - Whether the repository is archived
- hasWiki? boolean - Whether the repository has the wiki enabled
- updatedAt? string? - The date the repository was last updated
- commentsUrl string - API URL template for listing commit comments
- stargazersUrl string - API URL for listing users who starred the repository
- disabled? boolean - Whether the repository is disabled
- deleteBranchOnMerge? boolean - Whether to delete branches on merge
- gitUrl? string - The Git protocol URL for the repository
- hasPages? boolean - Whether the repository has GitHub Pages enabled
- owner SimpleUser - The account that owns the repository.
- commitsUrl string - API URL template for listing repository commits
- compareUrl string - API URL template for comparing two commits
- gitCommitsUrl string - API URL template for accessing Git commits
- topics? string[] - The list of topics associated with the repository
- blobsUrl string - API URL template for accessing repository blobs
- gitTagsUrl string - API URL template for accessing Git tags
- mergesUrl string - API URL for performing merge operations
- downloadsUrl string - API URL for listing repository downloads
- hasIssues? boolean - Whether the repository has issues enabled
- codeOfConduct? CodeOfConduct - The code of conduct for the repository
- webCommitSignoffRequired? boolean - Whether commit sign-off is required for web-based commits
- url string - API URL for the repository
- contentsUrl string - API URL template for accessing repository contents
- mirrorUrl? string? - The URL of the mirror for the repository
- milestonesUrl string - API URL template for listing repository milestones
- teamsUrl string - API URL for listing teams with access to the repository
- securityAndAnalysis? SecurityAndAnalysis? - The security and analysis settings for the repository
- 'fork boolean - Whether the repository is a fork
- issuesUrl string - API URL template for listing repository issues
- eventsUrl string - API URL for listing repository events
- issueEventsUrl string - API URL template for listing issue events
- assigneesUrl string - API URL template for listing repository assignees
- openIssues? int - The number of open issues in the repository
- watchersCount? int - The number of watchers on the repository
- nodeId string - The GraphQL node identifier of the repository
- homepage? string? - The URL of the repository's homepage
- forksCount? int - The number of forks of the repository
github: MinimalRepositoryLicense
The license information for the repository
Fields
- name? string - The full name of the repository's license.
- spdxId? string - The SPDX identifier for the license.
- 'key? string - The unique key identifier for the license.
- url? string? - The API URL for the license details.
- nodeId? string - The GraphQL node ID of the license.
github: MinimalRepositoryPermissions
The permissions the authenticated user has on the repository
Fields
- pull? boolean - Indicates whether the user has pull (read) permission.
- maintain? boolean - Indicates whether the user has maintain permission.
- admin? boolean - Indicates whether the user has admin permission.
- triage? boolean - Indicates whether the user has triage permission.
- push? boolean - Indicates whether the user has push (write) permission.
github: MinimalRepositoryResponse
Minimal Repository
Fields
- repositories MinimalRepository[] - The list of minimal repository objects returned.
- totalCount int - The total number of repositories in the response.
github: MovedColumnInProjectIssueEvent
Moved Column in Project Issue Event
Fields
- actor SimpleUser - The user who triggered the move column event.
- commitUrl string? - The URL of the commit associated with the event.
- performedViaGithubApp NullableIntegration? - The GitHub App that performed this event, if applicable.
- createdAt string - The date and time the event was created.
- id int - The unique identifier of the event.
- event string - The type of event that occurred.
- commitId string? - The SHA of the commit associated with the event.
- url string - The API URL for the event.
- projectCard? RemovedFromProjectIssueEventProjectCard - The project card that was moved to a different column.
- nodeId string - The GraphQL node identifier of the event.
github: NameRepositoriesBody
Fields
- selectedRepositoryIds int[] - The IDs of the repositories that can access the organization variable
github: NotificationRead
Fields
- message? string - A message describing the result of marking notifications as read.
- url? string - The URL to check the status of the mark-as-read operation.
github: NotificationsBody
Fields
- read? boolean - Whether the notification has been read
github: NotificationThread
Thread
Fields
- reason string - The reason the user is receiving the notification.
- updatedAt string - The date and time the notification was last updated.
- unread boolean - Whether the notification has been read.
- subject NotificationThreadSubject - The subject of the notification thread.
- subscriptionUrl string - API URL for managing the thread subscription.
- id string - The unique identifier of the notification thread.
- repository MinimalRepository - The repository associated with the notification thread.
- lastReadAt string? - The date and time the thread was last marked as read.
- url string - API URL for the notification thread.
github: NotificationThreadSubject
Fields
- latestCommentUrl string - API URL of the latest comment on the notification subject.
- title string - The title of the notification subject.
- 'type string - The type of resource this notification subject refers to.
- url string - API URL for the notification subject resource.
github: NullableCodeOfConductSimple
Code of Conduct Simple
Fields
- htmlUrl string? - The HTML URL to view the code of conduct on GitHub.
- name string - The name of the code of conduct.
- url string - The API URL for this code of conduct.
- 'key string - The unique key identifying this code of conduct.
github: NullableCodespaceMachine
A description of the machine powering a codespace
Fields
- cpus int - How many cores are available to the codespace
- name string - The name of the machine
- prebuildAvailability "none"|"ready"|"in_progress"? - Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be "null" if prebuilds are not supported or prebuild availability could not be determined. Value will be "none" if no prebuild is available. Latest values "ready" and "in_progress" indicate the prebuild availability status
- operatingSystem string - The operating system of the machine
- displayName string - The display name of the machine includes cores, memory, and storage
- memoryInBytes int - How much memory is available to the codespace
- storageInBytes int - How much storage is available to the codespace
github: NullableCollaborator
Collaborator
Fields
- gistsUrl string - API URL template for the user's gists
- reposUrl string - API URL to list the user's repositories
- followingUrl string - API URL template to check who the user is following
- starredUrl string - API URL template for repositories the user has starred
- login string - The username of the user
- followersUrl string - API URL to list the user's followers
- 'type string - The type of the account
- url string - API URL for the user
- roleName string - The role name assigned to the collaborator
- subscriptionsUrl string - API URL to list repositories the user is watching
- receivedEventsUrl string - API URL for events received by the user
- avatarUrl string - URL of the user's avatar image
- eventsUrl string - API URL template for the user's events
- permissions? NullableCollaboratorPermissions - The permission levels granted to the collaborator on the repository.
- htmlUrl string - URL of the user's GitHub profile page
- name? string? - The display name of the user
- siteAdmin boolean - Whether the user is a GitHub site administrator
- id int - The unique identifier of the user
- gravatarId string? - The Gravatar ID of the user
- email? string? - The publicly visible email address of the user
- nodeId string - The GraphQL node identifier of the user
- organizationsUrl string - API URL to list the user's organizations
github: NullableCollaboratorPermissions
The permissions the collaborator has on the repository
Fields
- pull boolean - Indicates whether the collaborator has pull (read) permission.
- maintain? boolean - Indicates whether the collaborator has maintain permission.
- admin boolean - Indicates whether the collaborator has admin permission.
- triage? boolean - Indicates whether the collaborator has triage permission.
- push boolean - Indicates whether the collaborator has push (write) permission.
github: NullableCommunityHealthFile
Fields
- htmlUrl string - The HTML URL of the community health file on GitHub.
- url string - The API URL of the community health file.
github: NullableGitUser
Metaproperties for Git author/committer information
Fields
- date? string - The date and time associated with the Git author or committer.
- name? string - The name of the Git author or committer.
- email? string - The email address of the Git author or committer.
github: NullableIntegration
GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub
Fields
- owner NullableSimpleUser? - The user or organization that owns the GitHub app.
- installationsCount? int - The number of installations associated with the GitHub app
- description string? - Short description of the GitHub app.
- createdAt string - Timestamp when the GitHub app was created.
- clientId? string - The OAuth client ID of the GitHub app.
- externalUrl string - External URL for the GitHub app's homepage.
- updatedAt string - Timestamp when the GitHub app was last updated.
- permissions IntegrationPermissions - The set of permissions granted to the GitHub app.
- htmlUrl string - URL to the GitHub app's web page on GitHub.
- name string - The name of the GitHub app
- webhookSecret? string? - The secret used to secure webhook payloads from the GitHub app.
- pem? string - The private key PEM used to sign access tokens for the GitHub app.
- id int - Unique identifier of the GitHub app
- clientSecret? string - The OAuth client secret of the GitHub app.
- slug? string - The slug name of the GitHub app
- events string[] - The list of events for the GitHub app
- nodeId string - Global Node ID of the GitHub app.
github: NullableIssue
Issues are a great way to keep track of tasks, enhancements, and bugs for your projects
Fields
- bodyHtml? string - The HTML-rendered body of the issue
- bodyText? string - The plain text body of the issue
- assignees? SimpleUser[]? - The users assigned to the issue
- createdAt string - The date the issue was created
- title string - Title of the issue
- body? string? - Contents of the issue
- repository? Repository - The repository in which the issue exists.
- closedBy? NullableSimpleUser? - The user who closed the issue
- labelsUrl string - API URL template for the issue's labels
- authorAssociation AuthorAssociation - The association of the author with the repository
- number int - Number uniquely identifying the issue within its repository
- updatedAt string - The date the issue was last updated
- performedViaGithubApp? NullableIntegration? - The GitHub App that triggered the event
- draft? boolean - Whether the issue is a draft
- commentsUrl string - API URL for the issue's comments
- activeLockReason? string? - The reason the issue conversation was locked
- id int - The unique identifier of the issue
- repositoryUrl string - API URL for the repository containing the issue
- state string - State of the issue; either 'open' or 'closed'
- locked boolean - Whether the issue conversation is locked
- timelineUrl? string - API URL for the issue's timeline events
- stateReason? "completed"|"reopened"|"not_planned"? - The reason for the current state
- pullRequest? IssuePullRequest - Pull request metadata if the issue is linked to a pull request.
- comments int - The number of comments on the issue
- closedAt string? - The date the issue was closed
- url string - URL for the issue
- labels NullableIssueLabels[] - Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository
- milestone NullableMilestone? - The milestone associated with the issue.
- eventsUrl string - API URL for the issue's events
- htmlUrl string - URL of the issue page on GitHub
- reactions? ReactionRollup - Reaction summary counts for the issue.
- assignee NullableSimpleUser? - The primary user assigned to the issue.
- user NullableSimpleUser? - The user who created the issue.
- nodeId string - The GraphQL node identifier of the issue
github: NullableLicenseSimple
License Simple
Fields
- htmlUrl? string - The URL to the human-readable license page.
- name string - The full name of the license.
- spdxId string? - The SPDX identifier for the license.
- 'key string - The unique key identifier for the license.
- url string? - The API URL for the license resource.
- nodeId string - The GraphQL node ID for the license.
github: NullableMilestone
A collection of related issues and pull requests
Fields
- creator NullableSimpleUser? - The user who created the milestone.
- closedAt string? - The date the milestone was closed
- description string? - A description of the milestone
- createdAt string - The date the milestone was created
- title string - The title of the milestone
- closedIssues int - The number of closed issues in the milestone
- url string - API URL for the milestone
- dueOn string? - The due date for the milestone
- labelsUrl string - API URL for issues with this milestone
- number int - The number of the milestone
- updatedAt string - The date the milestone was last updated
- htmlUrl string - URL of the milestone page on GitHub
- id int - The unique identifier of the milestone
- state "open"|"closed" (default "open") - The state of the milestone
- openIssues int - The number of open issues in the milestone
- nodeId string - The GraphQL node identifier of the milestone
github: NullableMinimalRepository
Minimal Repository
Fields
- allowForking? boolean - Whether forking is allowed on the repository
- stargazersCount? int - The number of stars on the repository
- isTemplate? boolean - Whether the repository is a template repository
- pushedAt? string? - The date of the most recent push to the repository
- subscriptionUrl string - API URL for the authenticated user's subscription to the repository
- language? string? - The primary programming language of the repository
- branchesUrl string - API URL template for listing repository branches
- issueCommentUrl string - API URL template for accessing issue comments
- labelsUrl string - API URL template for listing repository labels
- subscribersUrl string - API URL for listing repository watchers
- permissions? MinimalRepositoryPermissions - The permissions the authenticated user has on the repository.
- tempCloneToken? string - A temporary token for cloning the repository
- releasesUrl string - API URL template for listing repository releases
- svnUrl? string - The Subversion URL for the repository
- subscribersCount? int - The number of users watching the repository
- id int - The unique identifier of the repository
- hasDiscussions? boolean - Whether the repository has discussions enabled
- forks? int - The number of forks of the repository
- archiveUrl string - API URL template for downloading repository archives
- gitRefsUrl string - API URL template for accessing Git references
- forksUrl string - API URL for listing repository forks
- visibility? string - The visibility of the repository
- statusesUrl string - API URL template for listing commit statuses
- networkCount? int - The number of repositories in the fork network
- sshUrl? string - The SSH URL for cloning the repository
- roleName? string - The role name assigned to the user for this repository
- license? NullableMinimalRepositoryLicense? - The license associated with the repository.
- fullName string - The full name of the repository in owner/name format
- size? int - The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0
- languagesUrl string - API URL for listing programming languages used
- htmlUrl string - URL of the repository page on GitHub
- collaboratorsUrl string - API URL template for listing repository collaborators
- cloneUrl? string - The HTTPS URL for cloning the repository
- name string - The name of the repository
- pullsUrl string - API URL template for listing pull requests
- defaultBranch? string - The default branch of the repository
- hooksUrl string - API URL for listing repository webhooks
- treesUrl string - API URL template for accessing Git trees
- tagsUrl string - API URL for listing repository tags
- 'private boolean - Whether the repository is private
- contributorsUrl string - API URL for listing repository contributors
- hasDownloads? boolean - Whether the repository has downloads enabled
- notificationsUrl string - API URL template for listing repository notifications
- openIssuesCount? int - The number of open issues in the repository
- description string? - A short description of the repository
- createdAt? string? - The date the repository was created
- watchers? int - The number of watchers on the repository
- deploymentsUrl string - API URL for listing repository deployments
- keysUrl string - API URL template for listing repository deploy keys
- hasProjects? boolean - Whether the repository has projects enabled
- archived? boolean - Whether the repository is archived
- hasWiki? boolean - Whether the repository has the wiki enabled
- updatedAt? string? - The date the repository was last updated
- commentsUrl string - API URL template for listing commit comments
- stargazersUrl string - API URL for listing users who starred the repository
- disabled? boolean - Whether the repository is disabled
- deleteBranchOnMerge? boolean - Whether to delete branches on merge
- gitUrl? string - The Git protocol URL for the repository
- hasPages? boolean - Whether the repository has GitHub Pages enabled
- owner SimpleUser - The user or organization that owns the repository.
- commitsUrl string - API URL template for listing repository commits
- compareUrl string - API URL template for comparing two commits
- gitCommitsUrl string - API URL template for accessing Git commits
- topics? string[] - The list of topics associated with the repository
- blobsUrl string - API URL template for accessing repository blobs
- gitTagsUrl string - API URL template for accessing Git tags
- mergesUrl string - API URL for performing merge operations
- downloadsUrl string - API URL for listing repository downloads
- hasIssues? boolean - Whether the repository has issues enabled
- codeOfConduct? CodeOfConduct - The code of conduct for the repository
- webCommitSignoffRequired? boolean - Whether commit sign-off is required for web-based commits
- url string - API URL for the repository
- contentsUrl string - API URL template for accessing repository contents
- mirrorUrl? string? - The URL of the mirror for the repository
- milestonesUrl string - API URL template for listing repository milestones
- teamsUrl string - API URL for listing teams with access to the repository
- securityAndAnalysis? SecurityAndAnalysis? - The security and analysis settings for the repository
- 'fork boolean - Whether the repository is a fork
- issuesUrl string - API URL template for listing repository issues
- eventsUrl string - API URL for listing repository events
- issueEventsUrl string - API URL template for listing issue events
- assigneesUrl string - API URL template for listing repository assignees
- openIssues? int - The number of open issues in the repository
- watchersCount? int - The number of watchers on the repository
- nodeId string - The GraphQL node identifier of the repository
- homepage? string? - The URL of the repository's homepage
- forksCount? int - The number of forks of the repository
github: NullableMinimalRepositoryLicense
The license information for the repository
Fields
- name? string - The full name of the license.
- spdxId? string - The SPDX identifier of the license.
- 'key? string - The lowercase license key identifier.
- url? string - API URL for the license.
- nodeId? string - The GraphQL node identifier of the license.
github: NullableRepository
A repository on GitHub
Fields
- allowForking? boolean - Whether to allow forking this repo
- anonymousAccessEnabled? boolean - Whether anonymous git access is enabled for this repository
- subscriptionUrl string - API URL for managing the repository subscription.
- branchesUrl string - API URL template for the repository's branches.
- issueCommentUrl string - API URL template for the repository's issue comments.
- allowRebaseMerge boolean(default true) - Whether to allow rebase merges for pull requests
- permissions? TeamRepositoryPermissions - The permissions the authenticated user has on this repository.
- subscribersUrl string - API URL for the repository's subscribers list.
- tempCloneToken? string - Temporary token used for cloning the repository.
- releasesUrl string - API URL template for the repository's releases.
- squashMergeCommitMessage? "PR_BODY"|"COMMIT_MESSAGES"|"BLANK" - The default value for a squash merge commit message:
- PR_BODY - default to the pull request's body.
- COMMIT_MESSAGES - default to the branch's commit messages.
- BLANK - default to a blank commit message
- subscribersCount? int - Number of users watching the repository.
- id int - Unique identifier of the repository
- hasDiscussions boolean(default false) - Whether discussions are enabled
- forks int - Number of forks of the repository.
- gitRefsUrl string - API URL template for the repository's git refs.
- sshUrl string - SSH URL used to clone the repository.
- fullName string - Full repository name including owner, e.g., 'owner/repo'.
- size int - The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0
- templateRepository? NullableRepositoryTemplateRepository? - The template repository used to create this repository.
- languagesUrl string - API URL for the repository's language breakdown.
- htmlUrl string - URL to the repository's GitHub web page.
- collaboratorsUrl string - API URL template for the repository's collaborators.
- cloneUrl string - HTTPS URL used to clone the repository.
- defaultBranch string - The default branch of the repository
- hooksUrl string - API URL for the repository's webhooks.
- treesUrl string - API URL template for the repository's git trees.
- hasDownloads boolean(default true) - Whether downloads are enabled
- createdAt string? - Timestamp when the repository was created.
- watchers int - Number of users watching the repository.
- deploymentsUrl string - API URL for the repository's deployments.
- keysUrl string - API URL template for the repository's deploy keys.
- archived boolean(default false) - Whether the repository is archived
- hasWiki boolean(default true) - Whether the wiki is enabled
- updatedAt string? - Timestamp when the repository was last updated.
- disabled boolean - Returns whether or not this repository disabled
- compareUrl string - API URL template for comparing two refs in the repository.
- gitCommitsUrl string - API URL template for the repository's git commits.
- topics? string[] - List of topics associated with the repository.
- allowUpdateBranch boolean(default false) - Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging
- gitTagsUrl string - API URL template for the repository's git tags.
- mergesUrl string - API URL for the repository's branch merges.
- starredAt? string - Timestamp when the repository was starred by the authenticated user.
- url string - API URL for the repository.
- contentsUrl string - API URL template for the repository's file contents.
- issuesUrl string - API URL template for the repository's issues.
- useSquashPrTitleAsDefault boolean(default false) - Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead
- organization? NullableSimpleUser? - The organization that owns the repository, if applicable.
- mergeCommitMessage? "PR_BODY"|"PR_TITLE"|"BLANK" - The default value for a merge commit message.
- PR_TITLE - default to the pull request's title.
- PR_BODY - default to the pull request's body.
- BLANK - default to a blank commit message
- assigneesUrl string - API URL template for the repository's assignees.
- squashMergeCommitTitle? "PR_TITLE"|"COMMIT_OR_PR_TITLE" - The default value for a squash merge commit title:
- PR_TITLE - default to the pull request's title.
- COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)
- openIssues int - Number of open issues and pull requests in the repository.
- nodeId string - Global Node ID of the repository.
- stargazersCount int - Number of users who have starred the repository.
- isTemplate boolean(default false) - Whether this repository acts as a template that can be used to generate new repositories
- pushedAt string? - Timestamp of the most recent push to the repository.
- language string? - Primary programming language used in the repository.
- labelsUrl string - API URL template for the repository's labels.
- svnUrl string - SVN URL used to access the repository.
- masterBranch? string - The name of the repository's master branch.
- archiveUrl string - API URL template for downloading an archive of the repository.
- allowMergeCommit boolean(default true) - Whether to allow merge commits for pull requests
- forksUrl string - API URL for the repository's forks.
- visibility string(default "public") - The repository visibility: public, private, or internal
- statusesUrl string - API URL template for commit statuses in the repository.
- networkCount? int - Number of repositories in the repository's network.
- license NullableLicenseSimple? - The license associated with the repository.
- allowAutoMerge boolean(default false) - Whether to allow Auto-merge to be used on pull requests
- name string - The name of the repository
- pullsUrl string - API URL template for the repository's pull requests.
- tagsUrl string - API URL for the repository's tags.
- 'private boolean(default false) - Whether the repository is private or public
- contributorsUrl string - API URL for the repository's contributors.
- notificationsUrl string - API URL template for the repository's notifications.
- openIssuesCount int - Number of open issues in the repository.
- description string? - Short description of the repository.
- hasProjects boolean(default true) - Whether projects are enabled
- mergeCommitTitle? "PR_TITLE"|"MERGE_MESSAGE" - The default value for a merge commit title.
- PR_TITLE - default to the pull request's title.
- MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)
- commentsUrl string - API URL template for the repository's comments.
- stargazersUrl string - API URL for users who have starred the repository.
- deleteBranchOnMerge boolean(default false) - Whether to delete head branches when pull requests are merged
- gitUrl string - Git URL used to access the repository.
- hasPages boolean - Whether GitHub Pages is enabled for the repository.
- owner SimpleUser - The user or organization that owns the repository.
- allowSquashMerge boolean(default true) - Whether to allow squash merges for pull requests
- commitsUrl string - API URL template for the repository's commits.
- blobsUrl string - API URL template for the repository's git blobs.
- downloadsUrl string - API URL for the repository's downloads.
- hasIssues boolean(default true) - Whether issues are enabled
- webCommitSignoffRequired boolean(default false) - Whether to require contributors to sign off on web-based commits
- mirrorUrl string? - URL of the repository's mirror, if it is a mirror.
- milestonesUrl string - API URL template for the repository's milestones.
- teamsUrl string - API URL for the repository's teams.
- 'fork boolean - Whether the repository is a fork of another repository.
- eventsUrl string - API URL for the repository's events.
- issueEventsUrl string - API URL template for the repository's issue events.
- watchersCount int - Number of users watching the repository.
- homepage string? - URL of the repository's homepage or website.
- forksCount int - Number of forks of the repository.
github: NullableRepositoryTemplateRepository
Fields
- stargazersCount? int - The number of stars on the repository.
- isTemplate? boolean - Whether this repository acts as a template for generating new repositories.
- pushedAt? string - The date of the most recent push to the repository.
- subscriptionUrl? string - API URL for the authenticated user's subscription to the repository.
- language? string - The primary programming language of the repository.
- branchesUrl? string - API URL template for listing repository branches.
- issueCommentUrl? string - API URL template for accessing issue comments.
- allowRebaseMerge? boolean - Whether to allow rebase merges for pull requests.
- labelsUrl? string - API URL template for listing repository labels.
- subscribersUrl? string - API URL for listing repository watchers.
- permissions? RepositoryTemplateRepositoryPermissions - The permissions the authenticated user has on this repository.
- tempCloneToken? string - A temporary token for cloning the repository.
- releasesUrl? string - API URL template for listing repository releases.
- svnUrl? string - The Subversion URL for the repository.
- squashMergeCommitMessage? "PR_BODY"|"COMMIT_MESSAGES"|"BLANK" - The default value for a squash merge commit message:
- PR_BODY - default to the pull request's body.
- COMMIT_MESSAGES - default to the branch's commit messages.
- BLANK - default to a blank commit message
- subscribersCount? int - The number of users watching the repository.
- id? int - The unique identifier of the repository.
- archiveUrl? string - API URL template for downloading repository archives.
- allowMergeCommit? boolean - Whether to allow merge commits for pull requests.
- gitRefsUrl? string - API URL template for accessing Git references.
- forksUrl? string - API URL for listing repository forks.
- visibility? string - The repository visibility: public, private, or internal.
- statusesUrl? string - API URL template for listing commit statuses.
- networkCount? int - The number of repositories in the fork network.
- sshUrl? string - The SSH URL for cloning the repository.
- fullName? string - The full name of the repository in owner/name format.
- size? int - The size of the repository in kilobytes.
- allowAutoMerge? boolean - Whether to allow auto-merge on pull requests.
- languagesUrl? string - API URL for listing programming languages used.
- htmlUrl? string - URL of the repository page on GitHub.
- collaboratorsUrl? string - API URL template for listing repository collaborators.
- cloneUrl? string - The HTTPS URL for cloning the repository.
- name? string - The name of the repository.
- pullsUrl? string - API URL template for listing pull requests.
- defaultBranch? string - The default branch of the repository.
- hooksUrl? string - API URL for listing repository webhooks.
- treesUrl? string - API URL template for accessing Git trees.
- tagsUrl? string - API URL for listing repository tags.
- 'private? boolean - Whether the repository is private or public.
- contributorsUrl? string - API URL for listing repository contributors.
- hasDownloads? boolean - Whether downloads are enabled.
- notificationsUrl? string - API URL template for listing repository notifications.
- openIssuesCount? int - The number of open issues in the repository.
- description? string - A short description of the repository.
- createdAt? string - The date the repository was created.
- deploymentsUrl? string - API URL for listing repository deployments.
- keysUrl? string - API URL template for listing repository deploy keys.
- hasProjects? boolean - Whether projects are enabled.
- archived? boolean - Whether the repository is archived.
- hasWiki? boolean - Whether the wiki is enabled.
- updatedAt? string - The date the repository was last updated.
- mergeCommitTitle? "PR_TITLE"|"MERGE_MESSAGE" - The default value for a merge commit title.
- PR_TITLE - default to the pull request's title.
- MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)
- commentsUrl? string - API URL template for listing commit comments.
- stargazersUrl? string - API URL for listing users who starred the repository.
- disabled? boolean - Whether the repository is disabled.
- deleteBranchOnMerge? boolean - Whether to delete head branches when pull requests are merged.
- gitUrl? string - The Git protocol URL for the repository.
- hasPages? boolean - Whether the repository has GitHub Pages enabled.
- owner? RepositoryTemplateRepositoryOwner - The account that owns the template repository.
- allowSquashMerge? boolean - Whether to allow squash merges for pull requests.
- commitsUrl? string - API URL template for listing repository commits.
- compareUrl? string - API URL template for comparing two commits.
- gitCommitsUrl? string - API URL template for accessing Git commits.
- topics? string[] - The list of topics associated with the repository.
- blobsUrl? string - API URL template for accessing repository blobs.
- allowUpdateBranch? boolean - Whether pull request head branches can be updated even if not required.
- gitTagsUrl? string - API URL template for accessing Git tags.
- mergesUrl? string - API URL for performing merge operations.
- downloadsUrl? string - API URL for listing repository downloads.
- hasIssues? boolean - Whether issues are enabled.
- url? string - API URL for the repository.
- contentsUrl? string - API URL template for accessing repository contents.
- mirrorUrl? string - The URL of the mirror for the repository.
- milestonesUrl? string - API URL template for listing repository milestones.
- teamsUrl? string - API URL for listing teams with access to the repository.
- 'fork? boolean - Whether the repository is a fork.
- issuesUrl? string - API URL template for listing repository issues.
- eventsUrl? string - API URL for listing repository events.
- useSquashPrTitleAsDefault? boolean - Whether to use the pull request title as the default squash merge commit title.
- issueEventsUrl? string - API URL template for listing issue events.
- mergeCommitMessage? "PR_BODY"|"PR_TITLE"|"BLANK" - The default value for a merge commit message.
- PR_TITLE - default to the pull request's title.
- PR_BODY - default to the pull request's body.
- BLANK - default to a blank commit message
- assigneesUrl? string - API URL template for listing repository assignees.
- squashMergeCommitTitle? "PR_TITLE"|"COMMIT_OR_PR_TITLE" - The default value for a squash merge commit title:
- PR_TITLE - default to the pull request's title.
- COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)
- watchersCount? int - The number of watchers on the repository.
- nodeId? string - The GraphQL node identifier of the repository.
- homepage? string - The URL of the repository's homepage.
- forksCount? int - The number of forks of the repository.
github: NullableScopedInstallation
Fields
- repositorySelection "all"|"selected" - Describe whether all repositories have been selected or there's a selection involved
- repositoriesUrl string - API URL for listing repositories accessible to this installation.
- permissions AppPermissions - The permissions granted to this installation.
- singleFileName string? - The path of the single file the installation is restricted to.
- hasMultipleSingleFiles? boolean - Whether the installation has access to multiple single files.
- singleFilePaths? string[] - The list of file paths the installation is restricted to.
- account SimpleUser - The user or organization account associated with this installation.
github: NullableSimpleCommit
A commit
Fields
- committer SimpleCommitCommitter? - The user who committed the changes to the repository.
- treeId string - SHA for the commit's tree
- author SimpleCommitAuthor? - The user who authored the commit.
- id string - SHA for the commit
- message string - Message describing the purpose of the commit
- timestamp string - Timestamp of the commit
github: NullableSimpleUser
A GitHub user
Fields
- gistsUrl string - API URL template for the user's gists
- reposUrl string - API URL to list the user's repositories
- followingUrl string - API URL template to check who the user is following
- starredUrl string - API URL template for repositories the user has starred
- login string - The username of the user
- followersUrl string - API URL to list the user's followers
- 'type string - The type of the account
- starredAt? string - The time the user starred the resource
- url string - API URL for the user
- subscriptionsUrl string - API URL to list repositories the user is watching
- receivedEventsUrl string - API URL for events received by the user
- avatarUrl string - URL of the user's avatar image
- eventsUrl string - API URL template for the user's events
- htmlUrl string - URL of the user's GitHub profile page
- name? string? - The display name of the user
- siteAdmin boolean - Whether the user is a GitHub site administrator
- id int - The unique identifier of the user
- gravatarId string? - The Gravatar ID of the user
- email? string? - The publicly visible email address of the user
- nodeId string - The GraphQL node identifier of the user
- organizationsUrl string - API URL to list the user's organizations
github: NullableTeamSimple
Groups of organization members that gives permissions on specified repositories
Fields
- repositoriesUrl string - The API URL listing repositories accessible to the team.
- membersUrl string - The API URL template listing members of the team.
- description string? - Description of the team
- privacy? string - The level of privacy this team should have
- permission string - Permission that the team will have for its repositories
- url string - URL for the team
- notificationSetting? string - The notification setting the team has set
- ldapDn? string - Distinguished Name (DN) that team maps to within LDAP environment
- htmlUrl string - The GitHub web URL for the team's page.
- name string - Name of the team
- id int - Unique identifier of the team
- slug string - The URL-friendly identifier for the team.
- nodeId string - The GraphQL node ID of the team.
github: OidcCustomSub
Actions OIDC Subject customization
Fields
- includeClaimKeys string[] - Array of unique strings. Each claim key can only contain alphanumeric characters and underscores
github: OidcCustomSubRepo
Actions OIDC subject customization for a repository
Fields
- includeClaimKeys? string[] - Array of unique strings. Each claim key can only contain alphanumeric characters and underscores
- useDefault boolean - Whether to use the default template or not. If true, the include_claim_keys field is ignored
github: Organization
GitHub account for managing multiple users, teams, and repositories
Fields
- reposUrl string - API URL for listing the organization's repositories
- hasRepositoryProjects boolean - Specifies if repository projects are enabled for repositories that belong to this org
- membersUrl string - API URL template for listing the organization's members
- description string? - A short description of the organization
- createdAt string - The date the organization was created
- login string - Unique login name of the organization
- blog? string - Display blog url for the organization
- 'type string - The type of the account
- publicMembersUrl string - API URL template for listing public members
- updatedAt string - The date the organization was last updated
- company? string - Display company name for the organization
- id int - The unique identifier of the organization
- publicRepos int - The number of public repositories in the organization
- plan? OrganizationPlan - The subscription plan associated with the organization.
- email? string - Display email for the organization
- isVerified? boolean - Whether the organization's domain is verified
- publicGists int - The number of public gists in the organization
- url string - URL for the organization
- issuesUrl string - API URL for listing the organization's issues
- followers int - The number of followers of the organization
- avatarUrl string - URL of the organization's avatar image
- eventsUrl string - API URL for listing the organization's events
- hasOrganizationProjects boolean - Specifies if organization projects are enabled for this org
- htmlUrl string - URL of the organization's GitHub profile page
- following int - The number of accounts the organization is following
- name? string - Display name for the organization
- location? string - Display location for the organization
- hooksUrl string - API URL for listing the organization's webhooks
- nodeId string - The GraphQL node identifier of the organization
github: OrganizationActionsSecret
Secrets for GitHub Actions for an organization
Fields
- updatedAt string - The timestamp indicating when the secret was last updated.
- visibility "all"|"private"|"selected" - Visibility of a secret
- name string - The name of the secret
- selectedRepositoriesUrl? string - The URL to list repositories with access to this secret.
- createdAt string - The timestamp indicating when the secret was created.
github: OrganizationActionsSecretResponse
Secrets for GitHub Actions for an organization
Fields
- totalCount int - The total number of Actions secrets available to the organization.
- secrets OrganizationActionsSecret[] - List of Actions secrets configured for the organization.
github: OrganizationActionsVariable
Organization variable for GitHub Actions
Fields
- updatedAt string - The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ
- visibility "all"|"private"|"selected" - Visibility of a variable
- name string - The name of the variable
- selectedRepositoriesUrl? string - API URL to list repositories that can access this variable.
- createdAt string - The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ
- value string - The value of the variable
github: OrganizationActionsVariableResponse
Organization variable for GitHub Actions
Fields
- variables OrganizationActionsVariable[] - The list of organization-level Actions variables.
- totalCount int - The total number of organization Actions variables.
github: OrganizationDependabotSecret
Secrets for GitHub Dependabot for an organization
Fields
- updatedAt string - The date and time the secret was last updated.
- visibility "all"|"private"|"selected" - Visibility of a secret
- name string - The name of the secret
- selectedRepositoriesUrl? string - The API URL to list repositories with access to this secret.
- createdAt string - The date and time the secret was created.
github: OrganizationDependabotSecretResponse
Secrets for GitHub Dependabot for an organization
Fields
- totalCount int - The total number of Dependabot secrets in the organization.
- secrets OrganizationDependabotSecret[] - The list of Dependabot secrets for the organization.
github: OrganizationFull
Organization Full
Fields
- reposUrl string - API URL for listing the organization's repositories
- membersCanCreateInternalRepositories? boolean - Whether members can create internal repositories
- secretScanningPushProtectionCustomLink? string? - An optional URL string to display to contributors who are blocked from pushing a secret
- membersCanCreatePublicPages? boolean - Whether members can create public GitHub Pages sites
- blog? string - The URL of the organization's blog or website
- 'type string - The type of the account
- publicMembersUrl string - API URL template for listing public members
- privateGists? int? - The number of private gists
- defaultRepositoryPermission? string? - The default permission level for organization repositories
- billingEmail? string? - The billing email address for the organization
- diskUsage? int? - The total disk usage in kilobytes
- collaborators? int? - The number of collaborators on private repositories. This field may be null if the number of private repositories is over 50,000
- id int - The unique identifier of the organization
- secretScanningPushProtectionEnabledForNewRepositories? boolean - Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role
- plan? TeamOrganizationPlan - The subscription plan associated with the organization.
- membersCanCreatePrivatePages? boolean - Whether members can create private GitHub Pages sites
- membersCanCreateRepositories? boolean? - Whether members can create repositories
- membersCanCreatePrivateRepositories? boolean - Whether members can create private repositories
- publicGists int - The number of public gists in the organization
- followers int - The number of followers of the organization
- hasOrganizationProjects boolean - Whether the organization has projects enabled
- following int - The number of accounts the organization is following
- htmlUrl string - URL of the organization's GitHub profile page
- name? string - The display name of the organization
- hooksUrl string - API URL for listing the organization's webhooks
- dependabotSecurityUpdatesEnabledForNewRepositories? boolean - Whether dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role
- dependabotAlertsEnabledForNewRepositories? boolean - Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role
- hasRepositoryProjects boolean - Whether repositories can have projects enabled
- membersUrl string - API URL template for listing the organization's members
- twitterUsername? string? - The Twitter username of the organization
- description string? - A short description of the organization
- advancedSecurityEnabledForNewRepositories? boolean - Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role
- createdAt string - The date the organization was created
- login string - The login name of the organization
- dependencyGraphEnabledForNewRepositories? boolean - Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role
- totalPrivateRepos? int - The total number of private repositories
- secretScanningEnabledForNewRepositories? boolean - Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role
- updatedAt string - The date the organization was last updated
- membersAllowedRepositoryCreationType? string - The types of repositories members can create
- membersCanForkPrivateRepositories? boolean? - Whether members can fork private repositories
- company? string? - The company name of the organization
- ownedPrivateRepos? int - The number of owned private repositories
- publicRepos int - The number of public repositories in the organization
- email? string? - The publicly visible email of the organization
- twoFactorRequirementEnabled? boolean? - Whether two-factor authentication is required for members
- archivedAt string? - The date the organization was archived
- isVerified? boolean - Whether the organization's domain is verified
- webCommitSignoffRequired? boolean - Whether commit sign-off is required for web-based commits
- url string - API URL for the organization
- membersCanCreatePublicRepositories? boolean - Whether members can create public repositories
- issuesUrl string - API URL for listing the organization's issues
- avatarUrl string - URL of the organization's avatar image
- eventsUrl string - API URL for listing the organization's events
- membersCanCreatePages? boolean - Whether members can create GitHub Pages sites
- location? string - The geographic location of the organization
- secretScanningPushProtectionCustomLinkEnabled? boolean - Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection
- nodeId string - The GraphQL node identifier of the organization
github: OrganizationInvitation
Organization Invitation
Fields
- invitationSource? string - The source of the invitation, e.g., member or team.
- role string - The role assigned to the invited user in the organization.
- createdAt string - The timestamp when the invitation was created.
- inviter SimpleUser - The user who sent the organization invitation.
- id int - The unique identifier of the organization invitation.
- failedAt? string? - The timestamp when the invitation failed, if applicable.
- login string? - The GitHub username of the invited user.
- invitationTeamsUrl string - The URL listing teams associated with this invitation.
- email string? - The email address of the invited user.
- failedReason? string? - The reason the invitation failed, if applicable.
- teamCount int - The number of teams the invited user is being added to.
- nodeId string - The GraphQL node ID of the organization invitation.
github: OrganizationPlan
The billing plan for the organization
Fields
- privateRepos? int - The number of private repositories allowed under this plan.
- filledSeats? int - The number of seats currently in use.
- name? string - The name of the billing plan.
- seats? int - The total number of seats available under this plan.
- space? int - The total storage space allocated under this plan in bytes.
github: OrganizationProgrammaticAccessGrant
Minimal representation of an organization programmatic access grant for enumerations
Fields
- owner SimpleUser - The user who owns the fine-grained personal access token.
- repositorySelection "none"|"all"|"subset" - Type of repository selection requested
- repositoriesUrl string - URL to the list of repositories the fine-grained personal access token can access. Only follow when repository_selection is subset
- tokenExpiresAt string? - Date and time when the associated fine-grained personal access token expires
- permissions OrganizationProgrammaticAccessGrantPermissions - The permissions granted to the fine-grained personal access token.
- tokenLastUsedAt string? - Date and time when the associated fine-grained personal access token was last used for authentication
- id int - Unique identifier of the fine-grained personal access token. The pat_id used to get details about an approved fine-grained personal access token
- tokenExpired boolean - Whether the associated fine-grained personal access token has expired
- accessGrantedAt string - Date and time when the fine-grained personal access token was approved to access the organization
github: OrganizationProgrammaticAccessGrantPermissions
Permissions requested, categorized by type of permission
Fields
- other? record { string... } - Other miscellaneous permissions granted by the access token.
- organization? record { string... } - Organization-level permissions granted by the access token.
- repository? record { string... } - Repository-level permissions granted by the access token.
github: OrganizationProgrammaticAccessGrantRequest
Minimal representation of an organization programmatic access grant request for enumerations
Fields
- owner SimpleUser - The GitHub user who owns the fine-grained personal access token.
- reason string? - Reason for requesting access
- repositorySelection "none"|"all"|"subset" - Type of repository selection requested
- repositoriesUrl string - URL to the list of repositories requested to be accessed via fine-grained personal access token. Should only be followed when repository_selection is subset
- tokenExpiresAt string? - Date and time when the associated fine-grained personal access token expires
- permissions OrganizationProgrammaticAccessGrantPermissions - The permissions requested by the fine-grained personal access token.
- tokenLastUsedAt string? - Date and time when the associated fine-grained personal access token was last used for authentication
- createdAt string - Date and time when the request for access was created
- id int - Unique identifier of the request for access via fine-grained personal access token. The pat_request_id used to review PAT requests
- tokenExpired boolean - Whether the associated fine-grained personal access token has expired
github: OrganizationSecretScanningAlert
Fields
- secretType? string - The type of secret that secret scanning detected
- pushProtectionBypassedBy? NullableSimpleUser? - The user who bypassed push protection for this alert.
- pushProtectionBypassedAt? string? - The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
- createdAt? AlertCreatedAt - The time the alert was created in ISO 8601 format.
- secretTypeDisplayName? string - User-friendly name for the detected secret, matching the secret_type. For a list of built-in patterns, see "Secret scanning patterns."
- secret? string - The secret that was detected
- repository? SimpleRepository - The repository where the secret was detected.
- resolution? SecretScanningAlertResolution? - The resolution status of the secret scanning alert.
- url? AlertUrl - The REST API URL of the secret scanning alert.
- number? AlertNumber - The unique number identifying the alert within the repository.
- resolvedBy? NullableSimpleUser? - The user who resolved the secret scanning alert.
- updatedAt? NullableAlertUpdatedAt? - The time the alert was last updated in ISO 8601 format.
- locationsUrl? string - The REST API URL of the code locations for this alert
- resolutionComment? string? - The comment that was optionally added when this alert was closed
- resolvedAt? string? - The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
- htmlUrl? AlertHtmlUrl - The GitHub web URL of the secret scanning alert.
- pushProtectionBypassed? boolean? - Whether push protection was bypassed for the detected secret
- state? SecretScanningAlertState - The state of the secret scanning alert.
github: OrganizationSimple
A GitHub organization
Fields
- issuesUrl string - API URL to retrieve issues for the organization.
- reposUrl string - API URL to retrieve repositories for the organization.
- avatarUrl string - URL of the organization's avatar image.
- eventsUrl string - API URL to retrieve events for the organization.
- membersUrl string - API URL template to retrieve members of the organization.
- description string? - A short description of the organization.
- id int - Unique numeric identifier for the organization.
- hooksUrl string - API URL to retrieve webhooks for the organization.
- login string - The login name of the organization.
- url string - API URL for this organization.
- nodeId string - The GraphQL node identifier for the organization.
- publicMembersUrl string - API URL template to retrieve public members of the organization.
github: OrgHook
Org Hook
Fields
- updatedAt string - The timestamp indicating when the webhook was last updated.
- name string - The name of the webhook.
- active boolean - Whether the webhook is active and will receive events.
- createdAt string - The timestamp indicating when the webhook was created.
- id int - The unique identifier of the webhook.
- 'type string - The type of the webhook.
- pingUrl string - The URL used to ping the webhook.
- config OrgHookConfig - The configuration settings for the webhook.
- url string - The URL of the webhook resource.
- deliveriesUrl? string - The URL to list webhook deliveries.
- events string[] - The list of events the webhook is subscribed to.
github: OrgHookConfig
Fields
- contentType? string - The media type used to serialize payloads sent to the webhook.
- insecureSsl? string - Indicates whether SSL verification is skipped for webhook delivery.
- secret? string - The shared secret used to sign webhook payloads.
- url? string - The URL to which webhook payloads are delivered.
github: OrgHooksBody
Fields
- name string - Must be passed as "web"
- active boolean(default true) - Determines if notifications are sent when the webhook is triggered. Set to true to send notifications
- config OrgsorghooksConfig - Configuration settings for the webhook, including URL and content type.
github: OrgInvitationsBody
Fields
- role "admin"|"direct_member"|"billing_manager" (default "direct_member") - The role for the new member.
- admin - Organization owners with full administrative rights to the organization and complete access to all repositories and teams.
- direct_member - Non-owner organization members with ability to see other members and join teams by invitation.
- billing_manager - Non-owner organization members with ability to manage the billing settings of your organization
- teamIds? int[] - Specify IDs for the teams you want to invite new members to
- inviteeId? int - Required unless you provide email. GitHub user ID for the person you are inviting
- email? string - Required unless you provide invitee_id. Email address of the person you are inviting, which can be an existing GitHub user
github: OrgMembership
Org Membership
Fields
- organizationUrl string - The API URL of the organization.
- role "admin"|"member"|"billing_manager" - The user's membership type in the organization
- permissions? OrgMembershipPermissions - The permissions the user has within the organization.
- organization OrganizationSimple - The organization the membership belongs to.
- state "active"|"pending" - The state of the member in the organization. The pending state indicates the user has not yet accepted an invitation
- user NullableSimpleUser? - The user associated with this membership.
- url string - The API URL for this membership.
github: OrgMembershipPermissions
Fields
- canCreateRepository boolean - Indicates whether the member can create repositories in the organization.
github: OrgMigrationsBody
Fields
- excludeMetadata boolean(default false) - Indicates whether metadata should be excluded and only git source should be included for the migration
- repositories string[] - A list of arrays indicating which repositories should be migrated
- excludeGitData boolean(default false) - Indicates whether the repository git data should be excluded from the migration
- excludeAttachments boolean(default false) - Indicates whether attachments should be excluded from the migration (to reduce migration archive file size)
- excludeReleases boolean(default false) - Indicates whether releases should be excluded from the migration (to reduce migration archive file size)
- excludeOwnerProjects boolean(default false) - Indicates whether projects owned by the organization or users should be excluded. from the migration
- orgMetadataOnly boolean(default false) - Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags)
- exclude? ("repositories")[] - Exclude related items from being returned in the response in order to improve performance of the request
- lockRepositories boolean(default false) - Indicates whether repositories should be locked (to prevent manipulation) while migrating data
github: OrgPersonalAccessTokenRequestsBody
Fields
- reason? string? - Reason for approving or denying the requests. Max 1024 characters
- patRequestIds? int[] - Unique identifiers of the requests for access via fine-grained personal access token. Must be formed of between 1 and 100 pat_request_id values
- action "approve"|"deny" - Action to apply to the requests
github: OrgPersonalAccessTokensBody
Fields
- patIds int[] - The IDs of the fine-grained personal access tokens
- action "revoke" - Action to apply to the fine-grained personal access token
github: OrgProjectsBody
Fields
- name string - The name of the project
- body? string - The description of the project
github: OrgReposBody
Fields
- autoInit boolean(default false) - Pass true to create an initial commit with empty README
- gitignoreTemplate? string - Desired language or platform .gitignore template to apply. Use the name of the template without the extension. For example, "Haskell"
- allowSquashMerge boolean(default true) - Either true to allow squash-merging pull requests, or false to prevent squash-merging
- allowMergeCommit boolean(default true) - Either true to allow merging pull requests with a merge commit, or false to prevent merging pull requests with merge commits
- 'private boolean(default false) - Whether the repository is private
- hasDownloads boolean(default true) - Whether downloads are enabled
- visibility? "public"|"private" - The visibility of the repository
- isTemplate boolean(default false) - Either true to make this repo available as a template repository or false to prevent it
- description? string - A short description of the repository
- teamId? int - The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization
- allowRebaseMerge boolean(default true) - Either true to allow rebase-merging pull requests, or false to prevent rebase-merging
- hasIssues boolean(default true) - Either true to enable issues for this repository or false to disable them
- hasProjects boolean(default true) - Either true to enable projects for this repository or false to disable them. Note: If you're creating a repository in an organization that has disabled repository projects, the default is false, and if you pass true, the API returns an error
- licenseTemplate? string - Choose an open source license template that best suits your needs, and then use the license keyword as the license_template string. For example, "mit" or "mpl-2.0"
- hasWiki boolean(default true) - Either true to enable the wiki for this repository or false to disable it
- allowAutoMerge boolean(default false) - Either true to allow auto-merge on pull requests, or false to disallow auto-merge
- useSquashPrTitleAsDefault boolean(default false) - Either true to allow squash-merge commits to use pull request title, or false to use commit message. **This property has been deprecated. Please use squash_merge_commit_title instead
- mergeCommitTitle? "PR_TITLE"|"MERGE_MESSAGE" - The default value for a merge commit title.
- PR_TITLE - default to the pull request's title.
- MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)
- name string - The name of the repository
- squashMergeCommitMessage? "PR_BODY"|"COMMIT_MESSAGES"|"BLANK" - The default value for a squash merge commit message:
- PR_BODY - default to the pull request's body.
- COMMIT_MESSAGES - default to the branch's commit messages.
- BLANK - default to a blank commit message
- deleteBranchOnMerge boolean(default false) - Either true to allow automatically deleting head branches when pull requests are merged, or false to prevent automatic deletion. The authenticated user must be an organization owner to set this property to true.
- mergeCommitMessage? "PR_BODY"|"PR_TITLE"|"BLANK" - The default value for a merge commit message.
- PR_TITLE - default to the pull request's title.
- PR_BODY - default to the pull request's body.
- BLANK - default to a blank commit message
- squashMergeCommitTitle? "PR_TITLE"|"COMMIT_OR_PR_TITLE" - The default value for a squash merge commit title:
- PR_TITLE - default to the pull request's title.
- COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)
- homepage? string - A URL with more information about the repository
github: OrgRulesetsBody
Fields
- bypassActors? RepositoryRulesetBypassActor[] - The actors that can bypass the rules in this ruleset
- name string - The name of the ruleset
- enforcement RepositoryRuleEnforcement - The enforcement level of the ruleset.
- rules? RepositoryRule[] - An array of rules within the ruleset
- conditions? OrgRulesetConditions - The conditions that determine which repositories the ruleset applies to.
- target? "branch"|"tag" - The target of the ruleset
github: OrgsListAppInstallationsQueries
Represents the Queries record for the operation: orgs/list-app-installations
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: OrgsListBlockedUsersQueries
Represents the Queries record for the operation: orgs/list-blocked-users
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: OrgsListFailedInvitationsQueries
Represents the Queries record for the operation: orgs/list-failed-invitations
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: OrgsListForAuthenticatedUserQueries
Represents the Queries record for the operation: orgs/list-for-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: OrgsListForUserQueries
Represents the Queries record for the operation: orgs/list-for-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: OrgsListInvitationTeamsQueries
Represents the Queries record for the operation: orgs/list-invitation-teams
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: OrgsListMembershipsForAuthenticatedUserQueries
Represents the Queries record for the operation: orgs/list-memberships-for-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- state? "active"|"pending" - Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships
- page int(default 1) - Page number of the results to fetch
github: OrgsListMembersQueries
Represents the Queries record for the operation: orgs/list-members
Fields
- filter "2fa_disabled"|"all" (default "all") - Filter members returned in the list. 2fa_disabled means that only members without two-factor authentication enabled will be returned. This options is only available for organization owners
- perPage int(default 30) - The number of results per page (max 100)
- role "all"|"admin"|"member" (default "all") - Filter members returned by their role
- page int(default 1) - Page number of the results to fetch
github: OrgsListOutsideCollaboratorsQueries
Represents the Queries record for the operation: orgs/list-outside-collaborators
Fields
- filter "2fa_disabled"|"all" (default "all") - Filter the list of outside collaborators. 2fa_disabled means that only outside collaborators without two-factor authentication enabled will be returned
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: OrgsListPatGrantRepositoriesQueries
Represents the Queries record for the operation: orgs/list-pat-grant-repositories
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: OrgsListPatGrantRequestRepositoriesQueries
Represents the Queries record for the operation: orgs/list-pat-grant-request-repositories
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: OrgsListPatGrantRequestsQueries
Represents the Queries record for the operation: orgs/list-pat-grant-requests
Fields
- owner? string[] - A list of owner usernames to use to filter the results
- perPage int(default 30) - The number of results per page (max 100)
- permission? string - The permission to use to filter the results
- page int(default 1) - Page number of the results to fetch
- sort "created_at" (default "created_at") - The property by which to sort the results
- repository? string - The name of the repository to use to filter the results
- direction "asc"|"desc" (default "desc") - The direction to sort the results by
github: OrgsListPatGrantsQueries
Represents the Queries record for the operation: orgs/list-pat-grants
Fields
- owner? string[] - A list of owner usernames to use to filter the results
- perPage int(default 30) - The number of results per page (max 100)
- permission? string - The permission to use to filter the results
- page int(default 1) - Page number of the results to fetch
- sort "created_at" (default "created_at") - The property by which to sort the results
- repository? string - The name of the repository to use to filter the results
- direction "asc"|"desc" (default "desc") - The direction to sort the results by
github: OrgsListPendingInvitationsQueries
Represents the Queries record for the operation: orgs/list-pending-invitations
Fields
- perPage int(default 30) - The number of results per page (max 100)
- invitationSource "all"|"member"|"scim" (default "all") - Filter invitations by their invitation source
- role "all"|"admin"|"direct_member"|"billing_manager"|"hiring_manager" (default "all") - Filter invitations by their member role
- page int(default 1) - Page number of the results to fetch
github: OrgsListPublicMembersQueries
Represents the Queries record for the operation: orgs/list-public-members
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: OrgsListQueries
Represents the Queries record for the operation: orgs/list
Fields
- perPage int(default 30) - The number of results per page (max 100)
- since? int - An organization ID. Only return organizations with an ID greater than this ID
github: OrgsListWebhookDeliveriesQueries
Represents the Queries record for the operation: orgs/list-webhook-deliveries
Fields
- cursor? string - Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the link header for the next and previous page cursors
- perPage int(default 30) - The number of results per page (max 100)
- redelivery? boolean - Filter to only return redeliveries.
github: OrgsListWebhooksQueries
Represents the Queries record for the operation: orgs/list-webhooks
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: OrgsorgBody
Fields
- dependabotSecurityUpdatesEnabledForNewRepositories? boolean - Whether Dependabot security updates is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization." You can check which security and analysis features are currently enabled by using a GET /orgs/{org} request
- dependabotAlertsEnabledForNewRepositories? boolean - Whether Dependabot alerts is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization." You can check which security and analysis features are currently enabled by using a GET /orgs/{org} request
- membersCanCreateInternalRepositories? boolean - Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation
- secretScanningPushProtectionCustomLink? string - If secret_scanning_push_protection_custom_link_enabled is true, the URL that will be displayed to contributors who are blocked from pushing a secret
- hasRepositoryProjects? boolean - Whether repositories that belong to the organization can use repository projects
- twitterUsername? string - The Twitter username of the company
- membersCanCreatePublicPages boolean(default true) - Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted
- description? string - The description of the company
- advancedSecurityEnabledForNewRepositories? boolean - Whether GitHub Advanced Security is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization." You can check which security and analysis features are currently enabled by using a GET /orgs/{org} request
- blog? string - The URL of the organization's blog or website.
- dependencyGraphEnabledForNewRepositories? boolean - Whether dependency graph is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization." You can check which security and analysis features are currently enabled by using a GET /orgs/{org} request
- defaultRepositoryPermission "read"|"write"|"admin"|"none" (default "read") - Default permission level members have for organization repositories
- secretScanningEnabledForNewRepositories? boolean - Whether secret scanning is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization." You can check which security and analysis features are currently enabled by using a GET /orgs/{org} request
- billingEmail? string - Billing email address. This address is not publicized
- membersAllowedRepositoryCreationType? "all"|"private"|"none" - Specifies which types of repositories non-admin organization members can create. private is only available to repositories that are part of an organization on GitHub Enterprise Cloud. Note: This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in members_can_create_repositories. See the parameter deprecation notice in the operation description for details
- membersCanForkPrivateRepositories boolean(default false) - Whether organization members can fork private organization repositories
- company? string - The company name
- secretScanningPushProtectionEnabledForNewRepositories? boolean - Whether secret scanning push protection is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "Managing security managers in your organization." You can check which security and analysis features are currently enabled by using a GET /orgs/{org} request
- membersCanCreatePrivatePages boolean(default true) - Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted
- email? string - The publicly visible email address
- membersCanCreateRepositories boolean(default true) - Whether of non-admin organization members can create repositories. Note: A parameter can override this parameter. See members_allowed_repository_creation_type in this table for details
- membersCanCreatePrivateRepositories? boolean - Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation
- webCommitSignoffRequired boolean(default false) - Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface
- membersCanCreatePublicRepositories? boolean - Whether organization members can create public repositories, which are visible to anyone. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation
- hasOrganizationProjects? boolean - Whether an organization can use organization projects
- membersCanCreatePages boolean(default true) - Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted
- name? string - The shorthand name of the company
- location? string - The location
- secretScanningPushProtectionCustomLinkEnabled? boolean - Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection
github: OrgsorgBody1
Fields
- state "active" - The state that the membership should be in. Only "active" will be accepted
github: OrgsorghooksConfig
Key/value pairs to provide settings for this webhook
Fields
- password? string - Password credential used for webhook authentication.
- contentType? WebhookConfigContentType - The media type used to serialize payloads sent to this webhook.
- insecureSsl? WebhookConfigInsecureSsl - Determines whether SSL verification is skipped for webhook delivery.
- secret? WebhookConfigSecret - Secret token used to generate the HMAC hex digest signature for webhook payloads.
- url WebhookConfigUrl - The URL to which webhook payloads will be delivered.
- username? string - Username credential used for webhook authentication.
github: OrgsorghookshookIdConfig
Key/value pairs to provide settings for this webhook
Fields
- contentType? WebhookConfigContentType - The media type used to serialize payloads sent to this webhook.
- insecureSsl? WebhookConfigInsecureSsl - Determines whether SSL verification is skipped for webhook delivery.
- secret? WebhookConfigSecret - Secret token used to generate the HMAC hex digest signature for webhook payloads.
- url WebhookConfigUrl - The URL to which webhook payloads will be delivered.
github: OrgTeamsBody
Fields
- maintainers? string[] - List GitHub IDs for organization members who will become team maintainers
- parentTeamId? int - The ID of a team to set as the parent team
- name string - The name of the team
- repoNames? string[] - The full name (e.g., "organization-name/repository-name") of repositories to add the team to
- description? string - The description of the team
- privacy? "secret"|"closed" - The level of privacy this team should have. The options are:
For a non-nested team:- secret - only visible to organization owners and members of this team.
- closed - visible to all members of this organization.
Default: secret
For a parent or child team: - closed - visible to all members of this organization.
Default for child team: closed
- permission "pull"|"push" (default "pull") - Deprecated. The permission that new repositories will be added to the team with when none is specified
- notificationSetting? "notifications_enabled"|"notifications_disabled" - The notification setting the team has chosen. The options are:
- notifications_enabled - team members receive notifications when the team is @mentioned.
- notifications_disabled - no one receives notifications.
Default: notifications_enabled
github: OutsideCollaboratorsusernameBody
Fields
- async boolean(default false) - When set to true, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued
github: OwnerrepoBody
Fields
- permission string(default "push") - The permission to grant the team on this repository. We accept the following permissions to be set: pull, triage, push, maintain, admin and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's permission attribute will be used to determine what permission to grant the team on this repository
github: OwnerrepoBody1
Fields
- 'private boolean(default false) - Either true to make the repository private or false to make it public. Default: false.
Note: You will get a 422 error if the organization restricts changing repository visibility to organization owners and a non-owner tries to change the value of private
- allowForking? boolean - Either true to allow private forks, or false to prevent private forks
- isTemplate boolean(default false) - Either true to make this repo available as a template repository or false to prevent it
- description? string - A short description of the repository
- allowRebaseMerge boolean(default true) - Either true to allow rebase-merging pull requests, or false to prevent rebase-merging
- hasProjects boolean(default true) - Either true to enable projects for this repository or false to disable them. Note: If you're creating a repository in an organization that has disabled repository projects, the default is false, and if you pass true, the API returns an error
- archived boolean(default false) - Whether to archive this repository. false will unarchive a previously archived repository
- hasWiki boolean(default true) - Either true to enable the wiki for this repository or false to disable it
- mergeCommitTitle? "PR_TITLE"|"MERGE_MESSAGE" - The default value for a merge commit title.
- PR_TITLE - default to the pull request's title.
- MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)
- squashMergeCommitMessage? "PR_BODY"|"COMMIT_MESSAGES"|"BLANK" - The default value for a squash merge commit message:
- PR_BODY - default to the pull request's body.
- COMMIT_MESSAGES - default to the branch's commit messages.
- BLANK - default to a blank commit message
- deleteBranchOnMerge boolean(default false) - Either true to allow automatically deleting head branches when pull requests are merged, or false to prevent automatic deletion
- allowSquashMerge boolean(default true) - Either true to allow squash-merging pull requests, or false to prevent squash-merging
- allowMergeCommit boolean(default true) - Either true to allow merging pull requests with a merge commit, or false to prevent merging pull requests with merge commits
- visibility? "public"|"private" - The visibility of the repository
- allowUpdateBranch boolean(default false) - Either true to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise
- hasIssues boolean(default true) - Either true to enable issues for this repository or false to disable them
- webCommitSignoffRequired boolean(default false) - Either true to require contributors to sign off on web-based commits, or false to not require contributors to sign off on web-based commits
- securityAndAnalysis? ReposownerrepoSecurityAndAnalysis? - Security and analysis settings to enable or disable for the repository.
- allowAutoMerge boolean(default false) - Either true to allow auto-merge on pull requests, or false to disallow auto-merge
- useSquashPrTitleAsDefault boolean(default false) - Either true to allow squash-merge commits to use pull request title, or false to use commit message. **This property has been deprecated. Please use squash_merge_commit_title instead
- name? string - The name of the repository
- defaultBranch? string - Updates the default branch for this repository
- mergeCommitMessage? "PR_BODY"|"PR_TITLE"|"BLANK" - The default value for a merge commit message.
- PR_TITLE - default to the pull request's title.
- PR_BODY - default to the pull request's body.
- BLANK - default to a blank commit message
- squashMergeCommitTitle? "PR_TITLE"|"COMMIT_OR_PR_TITLE" - The default value for a squash merge commit title:
- PR_TITLE - default to the pull request's title.
- COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)
- homepage? string - A URL with more information about the repository
github: OwnerrepoBody2
Fields
- permission? "pull"|"push"|"admin" - The permission to grant the team on this repository. If no permission is specified, the team's permission attribute will be used to determine what permission to grant the team on this repository
github: Package
A software package
Fields
- owner? NullableSimpleUser? - The user or organization that owns the package.
- visibility "private"|"public" - The visibility level of the package, either public or private.
- updatedAt string - The date and time when the package was last updated.
- htmlUrl string - The URL to view the package on GitHub.
- name string - The name of the package
- createdAt string - The date and time when the package was created.
- id int - Unique identifier of the package
- packageType "npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" - The package registry type, such as npm or container.
- repository? NullableMinimalRepository? - The repository associated with the package.
- versionCount int - The number of versions of the package
- url string - The API URL for the package resource.
github: PackagesBillingUsage
Fields
- includedGigabytesBandwidth int - Free storage space (GB) for GitHub Packages
- totalGigabytesBandwidthUsed int - Sum of the free and paid storage space (GB) for GitHuub Packages
- totalPaidGigabytesBandwidthUsed int - Total paid storage space (GB) for GitHuub Packages
github: PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserQueries
Represents the Queries record for the operation: packages/get-all-package-versions-for-package-owned-by-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
- state "active"|"deleted" (default "active") - The state of the package, either active or deleted
github: PackagesGetAllPackageVersionsForPackageOwnedByOrgQueries
Represents the Queries record for the operation: packages/get-all-package-versions-for-package-owned-by-org
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
- state "active"|"deleted" (default "active") - The state of the package, either active or deleted
github: PackagesListPackagesForAuthenticatedUserQueries
Represents the Queries record for the operation: packages/list-packages-for-authenticated-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- visibility? "public"|"private"|"internal" - The selected visibility of the packages. This parameter is optional and only filters an existing result set. The internal visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems internal is synonymous with private. For the list of GitHub Packages registries that support granular permissions, see "About permissions for GitHub Packages."
- page int(default 1) - Page number of the results to fetch
- packageType "npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" - The type of supported package. Packages in GitHub's Gradle registry have the type maven. Docker images pushed to GitHub's Container registry (ghcr.io) have the type container. You can use the type docker to find images that were pushed to GitHub's Docker registry (docker.pkg.github.com), even if these have now been migrated to the Container registry
github: PackagesListPackagesForOrganizationQueries
Represents the Queries record for the operation: packages/list-packages-for-organization
Fields
- perPage int(default 30) - The number of results per page (max 100)
- visibility? "public"|"private"|"internal" - The selected visibility of the packages. This parameter is optional and only filters an existing result set. The internal visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems internal is synonymous with private. For the list of GitHub Packages registries that support granular permissions, see "About permissions for GitHub Packages."
- page int(default 1) - Page number of the results to fetch
- packageType "npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" - The type of supported package. Packages in GitHub's Gradle registry have the type maven. Docker images pushed to GitHub's Container registry (ghcr.io) have the type container. You can use the type docker to find images that were pushed to GitHub's Docker registry (docker.pkg.github.com), even if these have now been migrated to the Container registry
github: PackagesListPackagesForUserQueries
Represents the Queries record for the operation: packages/list-packages-for-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- visibility? "public"|"private"|"internal" - The selected visibility of the packages. This parameter is optional and only filters an existing result set. The internal visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems internal is synonymous with private. For the list of GitHub Packages registries that support granular permissions, see "About permissions for GitHub Packages."
- page int(default 1) - Page number of the results to fetch
- packageType "npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" - The type of supported package. Packages in GitHub's Gradle registry have the type maven. Docker images pushed to GitHub's Container registry (ghcr.io) have the type container. You can use the type docker to find images that were pushed to GitHub's Docker registry (docker.pkg.github.com), even if these have now been migrated to the Container registry
github: PackagesRestorePackageForAuthenticatedUserQueries
Represents the Queries record for the operation: packages/restore-package-for-authenticated-user
Fields
- token? string - package token
github: PackagesRestorePackageForOrgQueries
Represents the Queries record for the operation: packages/restore-package-for-org
Fields
- token? string - package token
github: PackagesRestorePackageForUserQueries
Represents the Queries record for the operation: packages/restore-package-for-user
Fields
- token? string - package token
github: PackageVersion
A version of a software package
Fields
- license? string - The license associated with this package version.
- metadata? PackageVersionMetadata - Additional metadata specific to the package version's ecosystem.
- updatedAt string - The date and time the package version was last updated.
- htmlUrl? string - The HTML URL for viewing the package version on GitHub.
- name string - The name of the package version
- description? string - A brief description of the package version.
- createdAt string - The date and time the package version was created.
- id int - Unique identifier of the package version
- deletedAt? string - The date and time the package version was deleted.
- url string - The API URL for this package version.
- packageHtmlUrl string - The HTML URL for the parent package on GitHub.
github: PackageVersionMetadata
Fields
- container? ContainerMetadata - Container-specific metadata for the package version.
- packageType "npm"|"maven"|"rubygems"|"docker"|"nuget"|"container" - The type of package ecosystem for this version.
- docker? DockerMetadata - Docker-specific metadata for the package version.
github: Page
The configuration for GitHub Pages for a repository
Fields
- 'public boolean - Whether the GitHub Pages site is publicly visible. If set to true, the site is accessible to anyone on the internet. If set to false, the site will only be accessible to users who have at least read access to the repository that published the site
- httpsCertificate? PagesHttpsCertificate - The HTTPS certificate associated with the GitHub Pages site.
- custom404 boolean(default false) - Whether the Page has a custom 404 page
- htmlUrl? string - The web address the Page can be accessed from
- cname string? - The Pages site's custom domain
- httpsEnforced? boolean - Whether https is enabled on the domain
- pendingDomainUnverifiedAt? string? - The timestamp when a pending domain becomes unverified
- 'source? PagesSourceHash - The source branch and directory from which the Pages site is built.
- protectedDomainState? "pending"|"verified"|"unverified"? - The state if the domain is verified
- buildType? "legacy"|"workflow"? - The process in which the Page will be built
- url string - The API address for accessing this Page resource
- status "built"|"building"|"errored"? - The status of the most recent build of the Page
github: PageBuild
Page Build
Fields
- duration int - The duration of the build in milliseconds.
- pusher NullableSimpleUser? - The user who triggered the GitHub Pages build.
- updatedAt string - The date and time the build was last updated.
- 'commit string - The SHA of the commit that triggered the build.
- createdAt string - The date and time the build was created.
- 'error PageBuildError - Error information if the build failed.
- url string - The API URL for this page build.
- status string - The current status of the GitHub Pages build.
github: PageBuildError
Fields
- message string? - The error message describing the GitHub Pages build failure.
github: PageBuildStatus
Page Build Status
Fields
- url string - The API URL for the GitHub Pages build.
- status string - The current status of the GitHub Pages build.
github: PageDeployment
The GitHub Pages deployment status
Fields
- pageUrl string - The URI to the deployed GitHub Pages
- previewUrl? string - The URI to the deployed GitHub Pages preview
- statusUrl string - The URI to monitor GitHub Pages deployment status
github: PagesDeploymentBody
The object used to create GitHub Pages deployment
Fields
- artifactUrl string - The URL of an artifact that contains the .zip or .tar of static assets to deploy. The artifact belongs to the repository
- environment string(default "github-pages") - The target environment for this GitHub Pages deployment
- oidcToken string - The OIDC token issued by GitHub Actions certifying the origin of the deployment
- pagesBuildVersion string(default "GITHUB_SHA") - A unique string that represents the version of the build for this deployment
github: PagesHealthCheck
Pages Health Check Status
Fields
- altDomain? PagesHealthCheckAltDomain? - The health check details for the alternate domain of the Pages site.
- domain? PagesHealthCheckDomain - The health check details for the primary domain of the Pages site.
github: PagesHealthCheckAltDomain
Fields
- reason? string? - The reason for the domain's current health status.
- isCloudflareIp? boolean? - Whether the domain resolves to a Cloudflare IP address.
- enforcesHttps? boolean - Whether the domain enforces HTTPS.
- isPointedToGithubPagesIp? boolean? - Whether the domain is pointed to a GitHub Pages IP address.
- isServedByPages? boolean? - Whether the domain is actively served by GitHub Pages.
- isFastlyIp? boolean? - Whether the domain resolves to a Fastly IP address.
- isApexDomain? boolean - Whether the domain is an apex (root) domain.
- host? string - The hostname of the alternate domain.
- respondsToHttps? boolean - Whether the domain responds to HTTPS requests.
- isCnameToPagesDotGithubDotCom? boolean? - Whether the domain has a CNAME record pointing to pages.github.com.
- isARecord? boolean? - Whether the domain has an A record configured.
- isCnameToGithubUserDomain? boolean? - Whether the domain has a CNAME record pointing to a GitHub user domain.
- isPagesDomain? boolean - Whether the domain is a GitHub Pages domain.
- isOldIpAddress? boolean? - Whether the domain points to a deprecated GitHub Pages IP address.
- hasCnameRecord? boolean? - Whether the domain has a CNAME record configured.
- isCnameToFastly? boolean? - Whether the domain has a CNAME record pointing to Fastly.
- dnsResolves? boolean - Whether the domain's DNS resolves successfully.
- isHttpsEligible? boolean? - Whether the domain is eligible for HTTPS enforcement.
- caaError? string? - The error message related to CAA DNS record validation, if any.
- isProxied? boolean? - Whether the domain is served through a proxy.
- isValidDomain? boolean - Whether the domain is a valid domain name.
- isNonGithubPagesIpPresent? boolean? - Whether a non-GitHub Pages IP address is present in DNS records.
- uri? string - The URI of the alternate domain.
- shouldBeARecord? boolean? - Whether the domain should be configured as an A record.
- nameservers? string - The nameservers associated with the domain.
- hasMxRecordsPresent? boolean? - Whether the domain has MX records present.
- isValid? boolean - Whether the alternate domain configuration is valid.
- httpsError? string? - The error message related to HTTPS configuration, if any.
github: PagesHealthCheckDomain
Fields
- reason? string? - Explanation of the domain health check result or failure reason.
- isCloudflareIp? boolean? - Indicates whether the domain resolves to a Cloudflare IP address.
- enforcesHttps? boolean - Indicates whether the domain enforces HTTPS connections.
- isPointedToGithubPagesIp? boolean? - Indicates whether the domain points to a GitHub Pages IP address.
- isServedByPages? boolean? - Indicates whether the domain is actively served by GitHub Pages.
- isFastlyIp? boolean? - Indicates whether the domain resolves to a Fastly CDN IP address.
- isApexDomain? boolean - Indicates whether the domain is an apex (root) domain.
- host? string - The hostname of the domain being health-checked.
- respondsToHttps? boolean - Indicates whether the domain responds to HTTPS requests.
- isCnameToPagesDotGithubDotCom? boolean? - Indicates whether the domain has a CNAME record pointing to pages.github.com.
- isARecord? boolean? - Indicates whether the domain has a DNS A record configured.
- isCnameToGithubUserDomain? boolean? - Indicates whether the domain CNAME points to a GitHub user domain.
- isPagesDomain? boolean - Indicates whether this is a recognized GitHub Pages domain.
- isOldIpAddress? boolean? - Indicates whether the domain resolves to a deprecated GitHub Pages IP address.
- hasCnameRecord? boolean? - Indicates whether the domain has a CNAME DNS record.
- isCnameToFastly? boolean? - Indicates whether the domain has a CNAME record pointing to Fastly.
- dnsResolves? boolean - Indicates whether the domain successfully resolves via DNS.
- isHttpsEligible? boolean? - Indicates whether the domain is eligible for HTTPS enforcement.
- caaError? string? - Error message from the CAA DNS record check, if any.
- isProxied? boolean? - Indicates whether the domain traffic is routed through a proxy.
- isValidDomain? boolean - Indicates whether the domain name is a valid domain.
- isNonGithubPagesIpPresent? boolean? - Indicates whether a non-GitHub Pages IP address is present for the domain.
- uri? string - The full URI of the domain being health-checked.
- shouldBeARecord? boolean? - Indicates whether the domain should be configured as an A record.
- nameservers? string - The nameservers responsible for the domain's DNS resolution.
- hasMxRecordsPresent? boolean? - Indicates whether MX records are present for the domain.
- isValid? boolean - Indicates whether the domain configuration is valid for GitHub Pages.
- httpsError? string? - Error message describing any HTTPS configuration issue for the domain.
github: PagesHttpsCertificate
Fields
- expiresAt? string - The date and time when the HTTPS certificate expires.
- description string - A description of the current certificate state or error.
- domains string[] - Array of the domain set and its alternate name (if it is configured)
- state "new"|"authorization_created"|"authorization_pending"|"authorized"|"authorization_revoked"|"issued"|"uploaded"|"approved"|"errored"|"bad_authz"|"destroy_pending"|"dns_changed" - The current provisioning state of the HTTPS certificate.
github: PagesSourceHash
Fields
- path string - The directory path used as the GitHub Pages source.
- branch string - The branch used as the GitHub Pages source.
github: ParticipationStats
Fields
- all int[] - Weekly commit counts for all users over the past year.
- owner int[] - Weekly commit counts for the repository owner over the past year.
github: PendingDeployment
Details of a deployment that is waiting for protection rules to pass
Fields
- environment PendingDeploymentEnvironment - The environment that is waiting for deployment approval.
- waitTimerStartedAt string? - The time that the wait timer began
- waitTimer int - The set duration of the wait timer
- currentUserCanApprove boolean - Whether the currently authenticated user can approve the deployment
- reviewers PendingDeploymentReviewers[] - The people or teams that may approve jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed
github: PendingDeploymentEnvironment
Fields
- htmlUrl? string - The HTML URL of the environment on GitHub.
- name? string - The name of the environment
- id? int - The id of the environment
- url? string - The API URL of the environment.
- nodeId? string - The GraphQL node identifier of the environment.
github: PendingDeploymentReviewers
Fields
- reviewer? SimpleUser|Team - The user or team assigned to review the pending deployment.
- 'type? DeploymentReviewerType - The type of reviewer, either a user or team.
github: PermissionsRepositoriesBody
Fields
- selectedRepositoryIds int[] - List of repository IDs to enable for GitHub Actions
github: PersonalAccessTokenRequestspatRequestIdBody
Fields
- reason? string? - Reason for approving or denying the request. Max 1024 characters
- action "approve"|"deny" - Action to apply to the request
github: PersonalAccessTokenspatIdBody
Fields
- action "revoke" - Action to apply to the fine-grained personal access token
github: PorterAuthor
Porter Author
Fields
- remoteName string - The author's name as it appears in the remote source repository.
- remoteId string - The author's identifier in the remote source repository.
- importUrl string - The API URL for updating this author during import.
- name string - The mapped GitHub name for the author.
- id int - The unique identifier of the porter author.
- email string - The mapped GitHub email address for the author.
- url string - The API URL for this porter author resource.
github: PorterLargeFile
Porter Large File
Fields
- refName string - The Git reference name associated with the large file.
- path string - The file path of the large file in the repository.
- size int - The size of the large file in bytes.
- oid string - The Git object identifier (OID) of the large file.
github: PrivateUser
Private User
Fields
- gistsUrl string - API URL template for the user's gists
- reposUrl string - API URL to list the user's repositories
- twoFactorAuthentication boolean - Whether the user has two-factor authentication enabled
- followingUrl string - API URL template to check who the user is following
- twitterUsername? string? - The Twitter username of the user
- bio string? - The biography of the user
- createdAt string - The date the user account was created
- login string - The username of the user
- 'type string - The type of the account
- blog string? - The URL of the user's blog or website
- privateGists int - The number of private gists the user owns
- totalPrivateRepos int - The total number of private repositories the user owns
- subscriptionsUrl string - API URL to list repositories the user is watching
- updatedAt string - The date the user account was last updated
- siteAdmin boolean - Whether the user is a GitHub site administrator
- diskUsage int - The total disk usage across all repositories in kilobytes
- collaborators int - The number of collaborators across the user's private repositories
- company string? - The company the user belongs to
- ownedPrivateRepos int - The number of private repositories owned by the user
- id int - The unique identifier of the user
- publicRepos int - The number of public repositories the user owns
- gravatarId string? - The Gravatar ID of the user
- plan? PublicUserPlan - The GitHub subscription plan associated with the user's account.
- email string? - The publicly visible email address of the user
- organizationsUrl string - API URL to list the user's organizations
- hireable boolean? - Whether the user is available for hire
- starredUrl string - API URL template for repositories the user has starred
- followersUrl string - API URL to list the user's followers
- publicGists int - The number of public gists the user owns
- url string - API URL for the user
- receivedEventsUrl string - API URL for events received by the user
- ldapDn? string - The LDAP distinguished name for the user
- followers int - The number of followers the user has
- avatarUrl string - URL of the user's avatar image
- eventsUrl string - API URL template for the user's events
- businessPlus? boolean - Whether the user has a GitHub Business Plus plan
- htmlUrl string - URL of the user's GitHub profile page
- following int - The number of users the user is following
- name string? - The display name of the user
- location string? - The geographic location of the user
- nodeId string - The GraphQL node identifier of the user
- suspendedAt? string? - The date the user account was suspended
github: PrivateVulnerabilityReportCreate
Fields
- summary string - A short summary of the advisory
- severity? "critical"|"high"|"medium"|"low"? - The severity of the advisory. You must choose between setting this field or cvss_vector_string
- cvssVectorString? string? - The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or severity
- description string - A detailed description of what the advisory impacts
- vulnerabilities? RepositoryAdvisoryCreateVulnerabilities[]? - An array of products affected by the vulnerability detailed in a repository security advisory
- cweIds? string[]? - A list of Common Weakness Enumeration (CWE) IDs
github: Project
Projects are a way to organize columns and cards of work
Fields
- columnsUrl string - The API URL to list columns in this project.
- creator NullableSimpleUser? - The GitHub user who created this project.
- 'private? boolean - Whether or not this project can be seen by everyone. Only present if owner is an organization
- organizationPermission? "read"|"write"|"admin"|"none" - The baseline permission that all organization members have on this project. Only present if owner is an organization
- createdAt string - The timestamp when this project was created.
- body string? - Body of the project
- url string - The API URL for this project resource.
- ownerUrl string - The API URL of the project's owner resource.
- number int - The sequential number identifying this project within its owner.
- updatedAt string - The timestamp when this project was last updated.
- htmlUrl string - The URL to view this project on GitHub.
- name string - Name of the project
- id int - The unique numeric identifier for this project.
- state string - State of the project; either 'open' or 'closed'
- nodeId string - The unique GraphQL node identifier for this project.
github: ProjectCard
Project cards represent a scope of work
Fields
- columnUrl string - The API URL for the column this card belongs to.
- note string? - The text note content of the project card.
- creator NullableSimpleUser? - The user who created the project card.
- columnName? string - The name of the column this card belongs to.
- createdAt string - The timestamp when the project card was created.
- projectUrl string - The API URL for the project containing this card.
- url string - The API URL for this project card.
- archived? boolean - Whether or not the card is archived
- updatedAt string - The timestamp when the project card was last updated.
- projectId? string - The identifier of the project containing this card.
- contentUrl? string - The API URL for the issue or pull request linked to this card.
- id int - The project card's ID
- nodeId string - The GraphQL node identifier of the project card.
github: ProjectCollaboratorPermission
Project Collaborator Permission
Fields
- permission string - The permission level of the collaborator on the project.
- user NullableSimpleUser? - The user associated with the collaborator permission.
github: ProjectColumn
Project columns contain cards of work
Fields
- updatedAt string - The date and time the project column was last updated.
- cardsUrl string - The API URL to list cards in this column.
- name string - Name of the project column
- projectUrl string - The API URL of the project this column belongs to.
- createdAt string - The date and time the project column was created.
- id int - The unique identifier of the project column
- url string - The API URL for this project column.
- nodeId string - The GraphQL node identifier of the project column.
github: ProjectscolumnscolumnIdcardsOneOf1
Fields
- note string? - The project card's note
github: ProjectscolumnscolumnIdcardsprojectscolumnscolumnIdcardsOneOf12
Fields
- contentType string - The piece of content associated with the card
- contentId int - The unique identifier of the content associated with the card
github: ProjectsListCardsQueries
Represents the Queries record for the operation: projects/list-cards
Fields
- archivedState "all"|"archived"|"not_archived" (default "not_archived") - Filters the project cards that are returned by the card's state
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ProjectsListCollaboratorsQueries
Represents the Queries record for the operation: projects/list-collaborators
Fields
- perPage int(default 30) - The number of results per page (max 100)
- affiliation "outside"|"direct"|"all" (default "all") - Filters the collaborators by their affiliation. outside means outside collaborators of a project that are not a member of the project's organization. direct means collaborators with permissions to a project, regardless of organization membership status. all means all collaborators the authenticated user can see
- page int(default 1) - Page number of the results to fetch
github: ProjectsListColumnsQueries
Represents the Queries record for the operation: projects/list-columns
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ProjectsListForOrgQueries
Represents the Queries record for the operation: projects/list-for-org
Fields
- perPage int(default 30) - The number of results per page (max 100)
- state "open"|"closed"|"all" (default "open") - Indicates the state of the projects to return
- page int(default 1) - Page number of the results to fetch
github: ProjectsListForRepoQueries
Represents the Queries record for the operation: projects/list-for-repo
Fields
- perPage int(default 30) - The number of results per page (max 100)
- state "open"|"closed"|"all" (default "open") - Indicates the state of the projects to return
- page int(default 1) - Page number of the results to fetch
github: ProjectsListForUserQueries
Represents the Queries record for the operation: projects/list-for-user
Fields
- perPage int(default 30) - The number of results per page (max 100)
- state "open"|"closed"|"all" (default "open") - Indicates the state of the projects to return
- page int(default 1) - Page number of the results to fetch
github: ProjectsprojectIdBody
Fields
- permission? "read"|"write"|"admin" - The permission to grant to the team for this project. Default: the team's permission attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set Content-Length to zero when calling this endpoint. For more information, see "HTTP verbs."
github: ProjectsprojectIdBody1
Fields
- 'private? boolean - Whether or not this project can be seen by everyone
- organizationPermission? "read"|"write"|"admin"|"none" - The baseline permission that all organization members have on this project
- name? string - Name of the project
- state? string - State of the project; either 'open' or 'closed'
- body? string? - Body of the project
github: ProjectsprojectIdBody2
Fields
- permission? "read"|"write"|"admin" - The permission to grant to the team for this project. Default: the team's permission attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set Content-Length to zero when calling this endpoint. For more information, see "HTTP verbs."
github: ProtectedBranch
Branch protections protect branches
Fields
- requiredPullRequestReviews? ProtectedBranchRequiredPullRequestReviews - Settings for required pull request reviews before merging.
- requiredSignatures? ProtectedBranchRequiredSignatures - Settings requiring signed commits on the protected branch.
- requiredStatusChecks? StatusCheckPolicy - Status check policy required before merging into the branch.
- allowForkSyncing? ProtectedBranchAllowForkSyncing - Settings controlling whether fork syncing is allowed on the branch.
- requiredLinearHistory? ProtectedBranchRequiredLinearHistory - Settings requiring a linear commit history on the branch.
- restrictions? BranchRestrictionPolicy - Access restrictions controlling who can push to the branch.
- enforceAdmins? ProtectedBranchEnforceAdmins - Settings for enforcing branch protections on administrators.
- url string - API URL for the protected branch.
- allowForcePushes? ProtectedBranchRequiredLinearHistory - Settings controlling whether force pushes are allowed on the branch.
- lockBranch? ProtectedBranchLockBranch - Settings controlling whether the branch is locked from changes.
- requiredConversationResolution? ProtectedBranchRequiredConversationResolution - Settings requiring all comments to be resolved before merging.
- blockCreations? ProtectedBranchRequiredLinearHistory - Settings blocking creation of matching branches or tags.
- allowDeletions? ProtectedBranchRequiredLinearHistory - Settings controlling whether the branch can be deleted.
github: ProtectedBranchAdminEnforced
Protected Branch Admin Enforced
Fields
- url string - The API URL for this admin enforcement resource.
- enabled boolean - Whether admin enforcement is enabled for the protected branch.
github: ProtectedBranchAllowForkSyncing
Whether users can pull changes from upstream when the branch is locked. Set to true to allow fork syncing. Set to false to prevent fork syncing
Fields
- enabled boolean(default false) - Indicates whether fork syncing is allowed for the locked branch.
github: ProtectedBranchEnforceAdmins
Fields
- url string - The API URL for the enforce admins branch protection setting.
- enabled boolean - Indicates whether admin enforcement is enabled for the branch.
github: ProtectedBranchLockBranch
Whether to set the branch as read-only. If this is true, users will not be able to push to the branch
Fields
- enabled boolean(default false) - Indicates whether the branch is locked as read-only.
github: ProtectedBranchPullRequestReview
Protected Branch Pull Request Review
Fields
- dismissalRestrictions? ProtectedBranchPullRequestReviewDismissalRestrictions - Restrictions on who can dismiss pull request reviews.
- requiredApprovingReviewCount? int - The number of approving reviews required before merging.
- requireCodeOwnerReviews boolean - Whether an approval from a code owner is required to merge.
- dismissStaleReviews boolean - Whether approvals are dismissed when new commits are pushed.
- bypassPullRequestAllowances? ProtectedBranchPullRequestReviewBypassPullRequestAllowances - Users, teams, or apps allowed to bypass required pull request reviews.
- requireLastPushApproval boolean(default false) - Whether the most recent push must be approved by someone other than the person who pushed it
- url? string - API URL for the pull request review protection settings.
github: ProtectedBranchPullRequestReviewBypassPullRequestAllowances
Allow specific users, teams, or apps to bypass pull request requirements
Fields
- teams? Team[] - The list of teams allowed to bypass pull request requirements
- users? SimpleUser[] - The list of users allowed to bypass pull request requirements
- apps? Integration[] - The list of apps allowed to bypass pull request requirements
github: ProtectedBranchPullRequestReviewDismissalRestrictions
Fields
- teamsUrl? string - API URL for listing teams with review dismissal access.
- teams? Team[] - The list of teams with review dismissal access
- usersUrl? string - API URL for listing users with review dismissal access.
- users? SimpleUser[] - The list of users with review dismissal access
- url? string - API URL for the dismissal restrictions resource.
- apps? Integration[] - The list of apps with review dismissal access
github: ProtectedBranchRequiredConversationResolution
Fields
- enabled? boolean - Whether all conversations must be resolved before merging.
github: ProtectedBranchRequiredLinearHistory
Fields
- enabled boolean - Whether linear history is required for the protected branch.
github: ProtectedBranchRequiredPullRequestReviews
Fields
- dismissalRestrictions? ProtectedBranchRequiredPullRequestReviewsDismissalRestrictions - Users and teams allowed to dismiss pull request reviews.
- requiredApprovingReviewCount? int - The number of approving reviews required before merging.
- requireCodeOwnerReviews? boolean - Indicates whether code owner review is required before merging.
- dismissStaleReviews? boolean - Indicates whether approvals are dismissed when new commits are pushed.
- bypassPullRequestAllowances? ProtectedBranchRequiredPullRequestReviewsBypassPullRequestAllowances - Users and teams allowed to bypass required pull request reviews.
- requireLastPushApproval boolean(default false) - Whether the most recent push must be approved by someone other than the person who pushed it
- url string - The API URL for the required pull request reviews settings.
github: ProtectedBranchRequiredPullRequestReviewsBypassPullRequestAllowances
Fields
- teams Team[] - Teams allowed to bypass required pull request reviews.
- users SimpleUser[] - Users allowed to bypass required pull request reviews.
- apps? Integration[] - Apps allowed to bypass required pull request reviews.
github: ProtectedBranchRequiredPullRequestReviewsDismissalRestrictions
Fields
- teamsUrl string - API URL for listing teams with pull request review dismissal rights.
- teams Team[] - The list of teams allowed to dismiss pull request reviews.
- usersUrl string - API URL for listing users with pull request review dismissal rights.
- url string - API URL for the dismissal restrictions resource.
- users SimpleUser[] - The list of users allowed to dismiss pull request reviews.
- apps? Integration[] - The list of apps allowed to dismiss pull request reviews.
github: ProtectedBranchRequiredSignatures
Fields
- url string - API URL for the required signatures protection rule.
- enabled boolean - Indicates whether required commit signatures are enabled for the branch.
github: ProtectedBranchRequiredStatusCheck
Protected Branch Required Status Check
Fields
- enforcementLevel? string - The enforcement level for required status checks on the branch.
- checks ProtectedBranchRequiredStatusCheckChecks[] - The list of status checks required before merging.
- contextsUrl? string - API URL to retrieve the required status check contexts.
- contexts string[] - The list of status check context names that are required.
- strict? boolean - Indicates whether branches must be up to date before merging.
- url? string - API URL for this required status check configuration.
github: ProtectedBranchRequiredStatusCheckChecks
Fields
- context string - Name of the required status check context.
- appId int? - GitHub App ID that must provide this required status check.
github: ProtectionRequiredPullRequestReviewsBody
Fields
- dismissalRestrictions? ReposownerrepobranchesbranchprotectionRequiredPullRequestReviewsDismissalRestrictions - Users and teams allowed to dismiss pull request reviews.
- requiredApprovingReviewCount? int - Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers
- requireCodeOwnerReviews? boolean - Blocks merging pull requests until code owners have reviewed
- dismissStaleReviews? boolean - Set to true if you want to automatically dismiss approving reviews when someone pushes a new commit
- bypassPullRequestAllowances? ReposownerrepobranchesbranchprotectionRequiredPullRequestReviewsBypassPullRequestAllowances - Users and teams allowed to bypass required pull request reviews.
- requireLastPushApproval boolean(default false) - Whether the most recent push must be approved by someone other than the person who pushed it. Default: false
github: ProtectionRequiredStatusChecksBody
Fields
- checks? ReposownerrepobranchesbranchprotectionRequiredStatusChecksChecks[] - The list of status checks to require in order to merge into this branch
- contexts? string[] - Deprecated: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use checks instead of contexts for more fine-grained control
- strict? boolean - Require branches to be up to date before merging
github: ProtectionRulesAnyOf1
Fields
- id int - The unique identifier of the protection rule.
- waitTimer? WaitTimer - The wait timer duration before the environment can be deployed to.
- 'type string - The type of the protection rule.
- nodeId string - The GraphQL node identifier of the protection rule.
github: ProtectionRulesProtectionRulesAnyOf12
Fields
- preventSelfReview? boolean - Whether deployments to this environment can be approved by the user who created the deployment
- id int - Unique numeric identifier for this protection rule.
- 'type string - The type of protection rule.
- reviewers? PendingDeploymentReviewers[] - The people or teams that may approve jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed
- nodeId string - Global node identifier for this protection rule.
github: ProtectionRulesProtectionRulesProtectionRulesAnyOf123
Fields
- id int - Unique numeric identifier of the protection rule.
- 'type string - Type of environment protection rule.
- nodeId string - Global GraphQL node identifier for this protection rule.
github: PublicUser
Public User
Fields
- gistsUrl string - API URL template for the user's gists
- reposUrl string - API URL to list the user's repositories
- followingUrl string - API URL template to check who the user is following
- twitterUsername? string? - The Twitter username of the user
- bio string? - The biography of the user
- createdAt string - The date the user account was created
- login string - The username of the user
- 'type string - The type of the account
- blog string? - The URL of the user's blog or website
- privateGists? int - The number of private gists the user owns
- totalPrivateRepos? int - The total number of private repositories the user owns
- subscriptionsUrl string - API URL to list repositories the user is watching
- updatedAt string - The date the user account was last updated
- siteAdmin boolean - Whether the user is a GitHub site administrator
- diskUsage? int - The total disk usage across all repositories in kilobytes
- collaborators? int - The number of collaborators across the user's private repositories
- company string? - The company the user belongs to
- ownedPrivateRepos? int - The number of private repositories owned by the user
- id int - The unique identifier of the user
- publicRepos int - The number of public repositories the user owns
- gravatarId string? - The Gravatar ID of the user
- plan? PublicUserPlan - The subscription plan associated with the user's account.
- email string? - The publicly visible email address of the user
- organizationsUrl string - API URL to list the user's organizations
- hireable boolean? - Whether the user is available for hire
- starredUrl string - API URL template for repositories the user has starred
- followersUrl string - API URL to list the user's followers
- publicGists int - The number of public gists the user owns
- url string - API URL for the user
- receivedEventsUrl string - API URL for events received by the user
- followers int - The number of followers the user has
- avatarUrl string - URL of the user's avatar image
- eventsUrl string - API URL template for the user's events
- htmlUrl string - URL of the user's GitHub profile page
- following int - The number of users the user is following
- name string? - The display name of the user
- location string? - The geographic location of the user
- nodeId string - The GraphQL node identifier of the user
- suspendedAt? string? - The date the user account was suspended
github: PublicUserPlan
The billing plan for the user
Fields
- privateRepos int - Number of private repositories allowed under this billing plan.
- name string - The name of the billing plan.
- collaborators int - Number of collaborators allowed under this billing plan.
- space int - Amount of storage space allocated under this billing plan in bytes.
github: PullNumberCodespacesBody
Fields
- geo? "EuropeWest"|"SoutheastAsia"|"UsEast"|"UsWest" - The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces location, which is being deprecated
- devcontainerPath? string - Path to devcontainer.json config to use for this codespace
- multiRepoPermissionsOptOut? boolean - Whether to authorize requested permissions from devcontainer.json
- machine? string - Machine type to use for this codespace
- location? string - The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided
- clientIp? string - IP for location auto-detection when proxying a request
- workingDirectory? string - Working directory for this codespace
- retentionPeriodMinutes? int - Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days)
- displayName? string - Display name for this codespace
- idleTimeoutMinutes? int - Time in minutes before codespace stops from inactivity
github: PullNumberCommentsBody
Fields
- path string - The relative path to the file that necessitates a comment
- side? "LEFT"|"RIGHT" - In a split diff view, the side of the diff that the pull request's changes appear on. Can be LEFT or RIGHT. Use LEFT for deletions that appear in red. Use RIGHT for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see "Diff view options" in the GitHub Help documentation
- subjectType? "line"|"file" - The level at which the comment is targeted
- line? int - Required unless using subject_type:file. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to
- startLine? int - Required when using multi-line comments unless using in_reply_to. The start_line is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see "Commenting on a pull request" in the GitHub Help documentation
- position? int - This parameter is deprecated. Use line instead. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above
- body string - The text of the review comment
- commitId string - The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the position
- startSide? "LEFT"|"RIGHT"|"side" - Required when using multi-line comments unless using in_reply_to. The start_side is the starting side of the diff that the comment applies to. Can be LEFT or RIGHT. To learn more about multi-line comments, see "Commenting on a pull request" in the GitHub Help documentation. See side in this table for additional context
- inReplyTo? int - The ID of the review comment to reply to. To find the ID of a review comment with "List review comments on a pull request". When specified, all parameters other than body in the request body are ignored
github: PullNumberMergeBody
Fields
- commitTitle? string - Title for the automatic commit message
- commitMessage? string - Extra detail to append to automatic commit message
- sha? string - SHA that pull request head must match to allow merge
- mergeMethod? "merge"|"squash"|"rebase" - The merge method to use
github: PullNumberRequestedReviewersBody1
Fields
- teamReviewers? string[] - An array of team slugs that will be removed
- reviewers string[] - An array of user logins that will be removed
github: PullNumberReviewsBody
Fields
- comments? ReposownerrepopullspullNumberreviewsComments[] - Use the following table to specify the location, destination, and contents of the draft review comment
- body? string - Required when using REQUEST_CHANGES or COMMENT for the event parameter. The body text of the pull request review
- event? "APPROVE"|"REQUEST_CHANGES"|"COMMENT" - The review action you want to perform. The review actions include: APPROVE, REQUEST_CHANGES, or COMMENT. By leaving this blank, you set the review action state to PENDING, which means you will need to submit the pull request review when you are ready
- commitId? string - The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the position. Defaults to the most recent commit in the pull request when you do not specify a value
github: PullNumberUpdateBranchBody
Fields
- expectedHeadSha? string - The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a 422 Unprocessable Entity status. You can use the "List commits" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref
github: PullRequest
Pull requests let you tell others about changes you've pushed to a repository on GitHub. Once a pull request is sent, interested parties can review the set of changes, discuss potential modifications, and even push follow-up commits if necessary
Fields
- issueUrl string - API URL for the associated issue
- rebaseable? boolean? - Whether the pull request can be rebased
- links PullRequestLinks - Hypermedia links related to the pull request.
- deletions int - The number of lines deleted in the pull request
- diffUrl string - URL of the pull request diff
- createdAt string - The date the pull request was created
- assignees? SimpleUser[]? - The users assigned to the pull request
- requestedReviewers? SimpleUser[]? - The users requested to review the pull request
- mergedBy NullableSimpleUser? - The user who merged the pull request
- title string - The title of the pull request
- body string? - The body text of the pull request
- requestedTeams? TeamSimple[]? - The teams requested to review the pull request
- head PullRequestHead - The head branch details of the pull request.
- authorAssociation AuthorAssociation - The association of the author with the repository
- number int - Number uniquely identifying the pull request within its repository
- mergeable boolean? - Whether the pull request can be merged
- patchUrl string - URL of the pull request patch
- updatedAt string - The date the pull request was last updated
- draft? boolean - Indicates whether or not the pull request is a draft
- commentsUrl string - API URL for the pull request comments
- mergeCommitSha string? - The SHA of the merge commit
- reviewCommentUrl string - API URL template for a pull request review comment
- activeLockReason? string? - The reason the pull request conversation was locked
- id int - The unique identifier of the pull request
- state "open"|"closed" - State of this Pull Request. Either open or closed
- locked boolean - Whether the pull request is locked
- mergeableState string - The mergeability state of the pull request
- commitsUrl string - API URL for the pull request commits
- closedAt string? - The date the pull request was closed
- comments int - The number of comments on the pull request
- additions int - The number of lines added in the pull request
- statusesUrl string - API URL for the pull request commit statuses
- mergedAt string? - The date the pull request was merged
- merged boolean - Whether the pull request has been merged
- reviewComments int - The number of review comments on the pull request
- autoMerge AutoMerge? - The auto-merge configuration for the pull request
- changedFiles int - The number of files changed in the pull request
- url string - API URL for the pull request
- labels PullRequestLabels[] - The labels associated with the pull request
- milestone NullableMilestone? - The milestone associated with the pull request.
- htmlUrl string - URL of the pull request page on GitHub
- reviewCommentsUrl string - API URL for the pull request review comments
- maintainerCanModify boolean - Indicates whether maintainers can modify the pull request
- commits int - The number of commits in the pull request
- assignee NullableSimpleUser? - The primary user assigned to the pull request.
- user SimpleUser - The user who created the pull request.
- nodeId string - The GraphQL node identifier of the pull request
- base PullRequestBase - The base branch details that the pull request targets.
github: PullRequestBase
The base branch of the pull request
Fields
- ref string - The branch name of the base branch.
- repo PullRequestBaseRepo - The repository object for the base branch.
- label string - The label identifying the base branch with owner prefix.
- sha string - The SHA of the latest commit on the base branch.
- user PullRequestHeadRepoOwner - The user associated with the base branch.
github: PullRequestBaseRepo
Fields
- allowForking? boolean - Indicates whether forking of the repository is allowed.
- isTemplate? boolean - Indicates whether the repository is a template repository.
- stargazersCount int - Number of users who have starred the repository.
- pushedAt string - Timestamp of the most recent push to the repository.
- subscriptionUrl string - API URL to manage subscription notifications for the repository.
- language string? - The primary programming language of the repository.
- branchesUrl string - API URL template for the repository's branches.
- issueCommentUrl string - API URL template for issue comments in the repository.
- allowRebaseMerge? boolean - Indicates whether rebase merging is allowed for pull requests.
- labelsUrl string - API URL template for the repository's labels.
- subscribersUrl string - API URL listing subscribers watching the repository.
- permissions? RepoSearchResultItemPermissions - The permissions the authenticated user has on this repository.
- tempCloneToken? string - Temporary token used for cloning the repository.
- releasesUrl string - API URL template for the repository's releases.
- svnUrl string - The SVN URL for the repository.
- id int - The unique numeric identifier for the repository.
- hasDiscussions boolean - Indicates whether the repository has discussions enabled.
- masterBranch? string - The name of the repository's master branch.
- forks int - Number of forks of the repository.
- archiveUrl string - API URL template for accessing archived contents of the repository.
- allowMergeCommit? boolean - Indicates whether merge commits are allowed for pull requests.
- gitRefsUrl string - API URL template for the repository's Git refs.
- forksUrl string - API URL listing forks of the repository.
- visibility? string - The repository visibility: public, private, or internal
- statusesUrl string - API URL template for commit statuses in the repository.
- sshUrl string - The SSH URL used to clone the repository.
- license NullableLicenseSimple? - The license associated with the repository.
- fullName string - The full name of the repository including the owner, e.g., owner/repo.
- size int - The size of the repository in kilobytes.
- languagesUrl string - API URL listing the languages used in the repository.
- collaboratorsUrl string - API URL template for the repository's collaborators.
- htmlUrl string - The URL to the repository's GitHub page.
- cloneUrl string - The HTTPS URL used to clone the repository.
- name string - The name of the repository.
- pullsUrl string - API URL template for pull requests in the repository.
- defaultBranch string - The default branch of the repository.
- hooksUrl string - API URL for the repository's webhooks.
- treesUrl string - API URL template for Git trees in the repository.
- tagsUrl string - API URL for the repository's tags.
- contributorsUrl string - API URL listing contributors to the repository.
- 'private boolean - Indicates whether the repository is private.
- hasDownloads boolean - Indicates whether the repository has downloads enabled.
- notificationsUrl string - API URL template for notifications related to the repository.
- openIssuesCount int - Number of open issues in the repository.
- description string? - A short description of the repository.
- watchers int - Number of users watching the repository.
- createdAt string - Timestamp when the repository was created.
- deploymentsUrl string - API URL for the repository's deployments.
- keysUrl string - API URL template for the repository's deploy keys.
- hasProjects boolean - Indicates whether the repository has projects enabled.
- archived boolean - Indicates whether the repository is archived and read-only.
- hasWiki boolean - Indicates whether the repository has a wiki enabled.
- updatedAt string - Timestamp when the repository was last updated.
- commentsUrl string - API URL template for comments in the repository.
- stargazersUrl string - API URL listing users who have starred the repository.
- disabled boolean - Indicates whether the repository has been disabled.
- gitUrl string - The Git URL used to clone the repository.
- hasPages boolean - Indicates whether the repository has GitHub Pages enabled.
- owner PullRequestHeadRepoOwner - The owner of the repository.
- allowSquashMerge? boolean - Indicates whether squash merging is allowed for pull requests.
- commitsUrl string - API URL template for commits in the repository.
- compareUrl string - API URL template for comparing commits in the repository.
- gitCommitsUrl string - API URL template for Git commits in the repository.
- topics? string[] - List of topic tags associated with the repository.
- blobsUrl string - API URL template for Git blobs in the repository.
- gitTagsUrl string - API URL template for Git tags in the repository.
- mergesUrl string - API URL for merges in the repository.
- downloadsUrl string - API URL for the repository's downloads.
- hasIssues boolean - Indicates whether the repository has issues enabled.
- webCommitSignoffRequired? boolean - Indicates whether web-based commits must include a sign-off.
- url string - The API URL for the repository resource.
- contentsUrl string - API URL template for the repository's file contents.
- mirrorUrl string? - The URL of the source repository if this is a mirror.
- milestonesUrl string - API URL template for the repository's milestones.
- teamsUrl string - API URL listing teams with access to the repository.
- 'fork boolean - Indicates whether the repository is a fork.
- issuesUrl string - API URL template for issues in the repository.
- eventsUrl string - API URL for events related to the repository.
- issueEventsUrl string - API URL for events related to issues in the repository.
- assigneesUrl string - API URL template for assignees in the repository.
- openIssues int - Number of currently open issues and pull requests.
- watchersCount int - Number of users watching the repository for notifications.
- nodeId string - The GraphQL node ID for the repository.
- forksCount int - Total number of forks of the repository.
- homepage string? - The URL of the repository's associated website or homepage.
github: PullRequestHead
The head branch of the pull request
Fields
- ref string - The branch name of the head ref.
- repo PullRequestHeadRepo? - The repository containing the head branch.
- label string - The label identifying the head branch, including owner prefix.
- sha string - The SHA of the head commit.
- user PullRequestHeadRepoOwner - The user associated with the head branch.
github: PullRequestHeadRepo
Fields
- allowForking? boolean - Indicates whether forking this repository is allowed.
- stargazersCount int - The number of users who have starred the repository.
- isTemplate? boolean - Indicates whether this repository is a template repository.
- pushedAt string - Timestamp of the most recent push to the repository.
- subscriptionUrl string - API URL for managing repository subscriptions.
- language string? - The primary programming language used in the repository.
- branchesUrl string - API URL template for accessing repository branches.
- issueCommentUrl string - API URL template for accessing issue comments.
- allowRebaseMerge? boolean - Indicates whether rebase merging is allowed for pull requests.
- labelsUrl string - API URL template for accessing repository labels.
- subscribersUrl string - API URL for listing repository subscribers.
- permissions? RepoSearchResultItemPermissions - The permissions the current user has on this repository.
- tempCloneToken? string - Temporary token used for cloning the repository.
- releasesUrl string - API URL template for accessing repository releases.
- svnUrl string - The SVN-compatible URL for the repository.
- id int - The unique numeric identifier of the repository.
- hasDiscussions boolean - Indicates whether the repository has discussions enabled.
- masterBranch? string - The name of the master branch of the repository.
- forks int - The number of forks of the repository.
- archiveUrl string - API URL template for downloading repository archives.
- allowMergeCommit? boolean - Indicates whether merge commits are allowed for pull requests.
- gitRefsUrl string - API URL template for accessing git refs.
- forksUrl string - API URL for listing repository forks.
- visibility? string - The repository visibility: public, private, or internal
- statusesUrl string - API URL template for accessing commit statuses.
- sshUrl string - The SSH URL used to clone the repository.
- license PullRequestHeadRepoLicense? - The license associated with the repository.
- fullName string - The full name of the repository, including owner and repo name.
- size int - The size of the repository in kilobytes.
- languagesUrl string - API URL for listing the programming languages used.
- collaboratorsUrl string - API URL template for accessing repository collaborators.
- htmlUrl string - The HTML URL for viewing the repository on GitHub.
- cloneUrl string - The HTTPS URL used to clone the repository.
- name string - The name of the repository.
- pullsUrl string - API URL template for accessing pull requests.
- defaultBranch string - The default branch of the repository.
- hooksUrl string - API URL for managing repository webhooks.
- treesUrl string - API URL template for accessing git trees.
- tagsUrl string - API URL for listing repository tags.
- contributorsUrl string - API URL for listing repository contributors.
- 'private boolean - Indicates whether the repository is private.
- hasDownloads boolean - Indicates whether the repository has downloads enabled.
- notificationsUrl string - API URL template for accessing repository notifications.
- openIssuesCount int - The number of open issues in the repository.
- description string? - A short description of the repository.
- watchers int - The number of users watching the repository.
- createdAt string - Timestamp when the repository was created.
- deploymentsUrl string - API URL for listing repository deployments.
- keysUrl string - API URL template for accessing deploy keys.
- hasProjects boolean - Indicates whether the repository has projects enabled.
- archived boolean - Indicates whether the repository has been archived.
- hasWiki boolean - Indicates whether the repository has a wiki enabled.
- updatedAt string - Timestamp when the repository was last updated.
- commentsUrl string - API URL template for accessing repository comments.
- stargazersUrl string - API URL for listing users who starred the repository.
- disabled boolean - Indicates whether the repository has been disabled.
- gitUrl string - The Git URL used to clone the repository.
- hasPages boolean - Indicates whether the repository has GitHub Pages enabled.
- owner PullRequestHeadRepoOwner - The user or organization that owns the repository.
- allowSquashMerge? boolean - Indicates whether squash merging is allowed for pull requests.
- commitsUrl string - API URL template for accessing repository commits.
- compareUrl string - API URL template for comparing two refs in the repository.
- gitCommitsUrl string - API URL template for accessing git commit objects.
- topics? string[] - List of topics associated with the repository.
- blobsUrl string - API URL template for accessing git blob objects.
- gitTagsUrl string - API URL template for accessing git tag objects.
- mergesUrl string - API URL for performing repository merges.
- downloadsUrl string - API URL for listing repository downloads.
- hasIssues boolean - Indicates whether the repository has issues enabled.
- webCommitSignoffRequired? boolean - Indicates whether web commits must be signed off.
- url string - The API URL for the repository.
- contentsUrl string - API URL template for accessing repository contents.
- mirrorUrl string? - The URL this repository mirrors, if applicable.
- milestonesUrl string - API URL template for accessing repository milestones.
- teamsUrl string - API URL for listing teams with access to the repository.
- 'fork boolean - Indicates whether this repository is a fork.
- issuesUrl string - API URL template for accessing repository issues.
- eventsUrl string - API URL for listing repository events.
- issueEventsUrl string - API URL for listing issue events in the repository.
- assigneesUrl string - API URL template for accessing possible issue assignees.
- openIssues int - The number of open issues and pull requests.
- watchersCount int - The number of users watching the repository.
- nodeId string - The GraphQL node ID of the repository.
- forksCount int - The number of forks of the repository.
- homepage string? - The URL of the repository's homepage.
github: PullRequestHeadRepoLicense
Fields
- name string - The full name of the license.
- spdxId string? - The SPDX identifier for the license.
- 'key string - The unique key identifying the license.
- url string? - API URL for the license details.
- nodeId string - The GraphQL node identifier for the license.
github: PullRequestHeadRepoOwner
Fields
- gistsUrl string - API URL template for the owner's gists.
- reposUrl string - API URL for listing the owner's repositories.
- followingUrl string - API URL template for users the owner is following.
- starredUrl string - API URL template for repositories the owner has starred.
- followersUrl string - API URL for listing the owner's followers.
- login string - The username of the repository owner.
- 'type string - The type of account, such as User or Organization.
- url string - API URL for the owner's account.
- subscriptionsUrl string - API URL for the owner's watched repositories.
- receivedEventsUrl string - API URL for events received by the owner.
- avatarUrl string - URL of the owner's profile avatar image.
- eventsUrl string - API URL template for events performed by the owner.
- htmlUrl string - URL of the owner's profile page on GitHub.
- siteAdmin boolean - Whether the owner is a GitHub site administrator.
- id int - The unique identifier of the owner.
- gravatarId string? - The Gravatar ID associated with the owner's email.
- nodeId string - The GraphQL node identifier of the owner.
- organizationsUrl string - API URL for listing the owner's organizations.
github: PullRequestLabels
Fields
- default boolean - Indicates whether this is a default label for the repository.
- color string - The hexadecimal color code for the label.
- name string - The name of the label.
- description string? - A short description of the label.
- id int - The unique numeric identifier of the label.
- url string - The URL of the label resource.
- nodeId string - The GraphQL node identifier for the label.
github: PullRequestLinks
Hypermedia links for the pull request
Fields
- comments Link - Hypermedia link to the pull request's comments.
- issue Link - Hypermedia link to the issue associated with the pull request.
- commits Link - Hypermedia link to the pull request's commits.
- statuses Link - Hypermedia link to the pull request's commit statuses.
- reviewComments Link - Hypermedia link to the pull request's review comments.
- self Link - Hypermedia link to the pull request itself.
- html Link - Hypermedia link to the pull request's HTML page.
- reviewComment Link - Hypermedia link to a single review comment resource.
github: PullRequestMergeResult
Pull Request Merge Result
Fields
- merged boolean - Whether the pull request was successfully merged.
- message string - A message describing the result of the merge.
- sha string - The SHA of the merge commit.
github: PullRequestMinimal
Fields
- head PullRequestMinimalHead - The head branch information for the pull request.
- number int - The pull request number within the repository.
- id int - Unique numeric identifier for the pull request.
- url string - API URL for this pull request.
- base PullRequestMinimalHead - The base branch information for the pull request.
github: PullRequestMinimalHead
Fields
- ref string - The name of the head branch.
- repo PullRequestMinimalHeadRepo - The repository containing the head branch.
- sha string - The SHA of the head commit.
github: PullRequestMinimalHeadRepo
Fields
- name string - The name of the repository.
- id int - The unique identifier of the repository.
- url string - API URL for the repository.
github: PullRequestReview
Pull Request Reviews are reviews on pull requests
Fields
- bodyHtml? string - The HTML-rendered body of the review
- links PullRequestReviewLinks - Hypermedia links related to the pull request review.
- submittedAt? string - The date the review was submitted
- bodyText? string - The plain text body of the review
- pullRequestUrl string - API URL for the reviewed pull request
- body string - The text of the review
- authorAssociation AuthorAssociation - The association of the reviewer with the repository
- htmlUrl string - URL of the review on GitHub
- id int - Unique identifier of the review
- state string - The state of the review
- user NullableSimpleUser? - The user who submitted the pull request review.
- commitId string? - A commit SHA for the review. If the commit object was garbage collected or forcibly deleted, then it no longer exists in Git and this value will be null
- nodeId string - The GraphQL node identifier of the review
github: PullRequestReviewComment
Pull Request Review Comments are comments on a portion of the Pull Request's diff
Fields
- bodyHtml? string - The comment body rendered as HTML.
- originalCommitId string - The SHA of the original commit to which the comment applies
- links PullRequestReviewCommentLinks - Hypermedia links related to the pull request review comment.
- bodyText? string - The comment body rendered as plain text.
- inReplyToId? int - The comment ID to reply to
- line? int - The line of the blob to which the comment applies. The last line of the range for a multi-line comment
- diffHunk string - The diff of the line that the comment refers to
- createdAt string - The date and time the comment was created.
- startLine? int? - The first line of the range for a multi-line comment
- body string - The text of the comment
- authorAssociation AuthorAssociation - The commenter's association with the repository.
- path string - The relative path of the file to which the comment applies
- originalPosition? int - The index of the original line in the diff to which the comment applies. This field is deprecated; use original_line instead
- updatedAt string - The date and time the comment was last updated.
- pullRequestReviewId int? - The ID of the pull request review to which the comment belongs
- id int - The ID of the pull request review comment
- side "LEFT"|"RIGHT" (default "RIGHT") - The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment
- subjectType? "line"|"file" - The level at which the comment is targeted, can be a diff line or a file
- pullRequestUrl string - URL for the pull request that the review comment belongs to
- url string - URL for the pull request review comment
- startSide "LEFT"|"RIGHT"?(default "RIGHT") - The side of the first line of the range for a multi-line comment
- originalLine? int - The line of the blob to which the comment applies. The last line of the range for a multi-line comment
- originalStartLine? int? - The first line of the range for a multi-line comment
- htmlUrl string - HTML URL for the pull request review comment
- reactions? ReactionRollup - Reaction rollup totals for the pull request review comment.
- position? int - The line index in the diff to which the comment applies. This field is deprecated; use line instead
- commitId string - The SHA of the commit to which the comment applies
- user SimpleUser - The user who created the pull request review comment.
- nodeId string - The node ID of the pull request review comment
github: PullRequestReviewCommentLinks
Fields
- pullRequest PullRequestReviewCommentLinksPullRequest - Hypermedia link to the associated pull request.
- self PullRequestReviewCommentLinksSelf - Hypermedia link to the review comment itself.
- html PullRequestReviewCommentLinksHtml - Hypermedia link to the HTML page of the review comment.
github: PullRequestReviewCommentLinksHtml
Fields
- href string - URL to the pull request review comment on GitHub.
github: PullRequestReviewCommentLinksPullRequest
Fields
- href string - The URL of the pull request associated with this review comment.
github: PullRequestReviewCommentLinksSelf
Fields
- href string - The URL of the pull request review comment itself.
github: PullRequestReviewLinks
Hypermedia links for the review
Fields
- pullRequest TimelineReviewedEventLinksHtml - Hypermedia link to the pull request the review belongs to.
- html TimelineReviewedEventLinksHtml - Hypermedia link to the HTML page of the pull request review.
github: PullRequestReviewRequest
Pull Request Review Request
Fields
- teams Team[] - The list of teams requested to review the pull request.
- users SimpleUser[] - The list of users requested to review the pull request.
github: PullRequestSimple
Pull Request Simple
Fields
- issueUrl string - API URL for the associated issue
- links PullRequestLinks - Hypermedia links related to the pull request.
- diffUrl string - URL of the pull request diff
- createdAt string - The date the pull request was created
- assignees? SimpleUser[]? - The users assigned to the pull request
- requestedReviewers? SimpleUser[]? - The users requested to review the pull request
- title string - The title of the pull request
- body string? - The body text of the pull request
- requestedTeams? Team[]? - The teams requested to review the pull request
- head PullRequestSimpleHead - The head branch details of the pull request.
- authorAssociation AuthorAssociation - The association of the author with the repository
- number int - The pull request number
- patchUrl string - URL of the pull request patch
- updatedAt string - The date the pull request was last updated
- draft? boolean - Indicates whether or not the pull request is a draft
- commentsUrl string - API URL for the pull request comments
- mergeCommitSha string? - The SHA of the merge commit
- reviewCommentUrl string - API URL template for a pull request review comment
- activeLockReason? string? - The reason the pull request conversation was locked
- id int - The unique identifier of the pull request
- state string - The state of the pull request
- locked boolean - Whether the pull request is locked
- commitsUrl string - API URL for the pull request commits
- closedAt string? - The date the pull request was closed
- statusesUrl string - API URL for the pull request commit statuses
- mergedAt string? - The date the pull request was merged
- autoMerge AutoMerge? - The auto-merge configuration for the pull request
- url string - API URL for the pull request
- labels PullRequestLabels[] - The labels associated with the pull request
- milestone NullableMilestone? - The milestone associated with the pull request.
- htmlUrl string - URL of the pull request page on GitHub
- reviewCommentsUrl string - API URL for the pull request review comments
- assignee NullableSimpleUser? - The primary user assigned to the pull request.
- user NullableSimpleUser? - The user who created the pull request.
- nodeId string - The GraphQL node identifier of the pull request
- base PullRequestSimpleBase - The base branch details of the pull request.
github: PullRequestSimpleBase
The base branch of the pull request
Fields
- ref string - The branch name of the base branch.
- repo Repository - The repository that the base branch belongs to.
- label string - The label identifying the base branch with its owner.
- sha string - The SHA of the latest commit on the base branch.
- user NullableSimpleUser? - The user associated with the base branch.
github: PullRequestSimpleHead
The head branch of the pull request
Fields
- ref string - The branch name of the head ref.
- repo Repository - The repository containing the head branch.
- label string - The label identifying the head in user:branch format.
- sha string - The SHA of the head commit.
- user NullableSimpleUser? - The user associated with the head branch.
github: PullsListCommentsForReviewQueries
Represents the Queries record for the operation: pulls/list-comments-for-review
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: PullsListCommitsQueries
Represents the Queries record for the operation: pulls/list-commits
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: PullsListFilesQueries
Represents the Queries record for the operation: pulls/list-files
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: PullsListQueries
Represents the Queries record for the operation: pulls/list
Fields
- head? string - Filter pulls by head user or head organization and branch name in the format of user:ref-name or organization:ref-name. For example: github:new-script-format or octocat:test-branch
- perPage int(default 30) - The number of results per page (max 100)
- state "open"|"closed"|"all" (default "open") - Either open, closed, or all to filter by state
- sort "created"|"updated"|"popularity"|"long-running" (default "created") - What to sort results by. popularity will sort by the number of comments. long-running will sort by date created and will limit the results to pull requests that have been open for more than a month and have had activity within the past month
- page int(default 1) - Page number of the results to fetch
- base? string - Filter pulls by base branch name. Example: gh-pages
- direction? "asc"|"desc" - The direction of the sort. Default: desc when sort is created or sort is not specified, otherwise asc
github: PullsListReviewCommentsForRepoQueries
Represents the Queries record for the operation: pulls/list-review-comments-for-repo
Fields
- perPage int(default 30) - The number of results per page (max 100)
- sort? "created"|"updated"|"created_at" - The property to sort results by.
- page int(default 1) - Page number of the results to fetch
- direction? "asc"|"desc" - The direction to sort results. Ignored without sort parameter
github: PullsListReviewCommentsQueries
Represents the Queries record for the operation: pulls/list-review-comments
Fields
- perPage int(default 30) - The number of results per page (max 100)
- sort "created"|"updated" (default "created") - The property to sort the results by
- page int(default 1) - Page number of the results to fetch
- direction? "asc"|"desc" - The direction to sort results. Ignored without sort parameter
github: PullsListReviewsQueries
Represents the Queries record for the operation: pulls/list-reviews
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: PullspullNumberBody
Fields
- maintainerCanModify? boolean - Indicates whether maintainers can modify the pull request
- state? "open"|"closed" - State of this Pull Request. Either open or closed
- title? string - The title of the pull request
- body? string - The contents of the pull request
- base? string - The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository
github: RateLimit
Fields
- 'limit int - The maximum number of requests allowed per rate limit window.
- reset int - The Unix timestamp when the rate limit window resets.
- used int - The number of requests used in the current rate limit window.
- remaining int - The number of requests remaining in the current rate limit window.
github: RateLimitOverview
Rate Limit Overview
Fields
- rate RateLimit - The core rate limit data for the authenticated user.
- resources RateLimitOverviewResources - Rate limit data broken down by resource type.
github: RateLimitOverviewResources
Fields
- core RateLimit - Rate limit information for core API requests.
- scim? RateLimit - Rate limit information for SCIM API requests.
- search RateLimit - Rate limit information for search API requests.
- sourceImport? RateLimit - Rate limit information for source import API requests.
- actionsRunnerRegistration? RateLimit - Rate limit information for Actions runner registration requests.
- graphql? RateLimit - Rate limit information for GraphQL API requests.
- codeScanningUpload? RateLimit - Rate limit information for code scanning upload requests.
- integrationManifest? RateLimit - Rate limit information for integration manifest API requests.
- codeSearch? RateLimit - Rate limit information for code search API requests.
- dependencySnapshots? RateLimit - Rate limit information for dependency snapshot API requests.
github: Reaction
Reactions to conversations provide a way to help people express their feelings more simply and effectively
Fields
- createdAt string - The date and time the reaction was created.
- id int - The unique identifier of the reaction.
- user NullableSimpleUser? - The user who created the reaction.
- content "+1"|"-1"|"laugh"|"confused"|"heart"|"hooray"|"rocket"|"eyes" - The reaction to use
- nodeId string - The GraphQL node identifier of the reaction.
github: ReactionRollup
Fields
- confused int - Count of confused reactions on the subject.
- minus1 int - Count of thumbs-down reactions on the subject.
- totalCount int - Total number of reactions on the subject.
- plus1 int - Count of thumbs-up reactions on the subject.
- rocket int - Count of rocket reactions on the subject.
- hooray int - Count of hooray reactions on the subject.
- eyes int - Count of eyes reactions on the subject.
- url string - The API URL for the reactions resource.
- laugh int - Count of laugh reactions on the subject.
- heart int - Count of heart reactions on the subject.
github: ReactionsListForCommitCommentQueries
Represents the Queries record for the operation: reactions/list-for-commit-comment
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
- content? "+1"|"-1"|"laugh"|"confused"|"heart"|"hooray"|"rocket"|"eyes" - Returns a single reaction type. Omit this parameter to list all reactions to a commit comment
github: ReactionsListForIssueCommentQueries
Represents the Queries record for the operation: reactions/list-for-issue-comment
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
- content? "+1"|"-1"|"laugh"|"confused"|"heart"|"hooray"|"rocket"|"eyes" - Returns a single reaction type. Omit this parameter to list all reactions to an issue comment
github: ReactionsListForIssueQueries
Represents the Queries record for the operation: reactions/list-for-issue
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
- content? "+1"|"-1"|"laugh"|"confused"|"heart"|"hooray"|"rocket"|"eyes" - Returns a single reaction type. Omit this parameter to list all reactions to an issue
github: ReactionsListForPullRequestReviewCommentQueries
Represents the Queries record for the operation: reactions/list-for-pull-request-review-comment
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
- content? "+1"|"-1"|"laugh"|"confused"|"heart"|"hooray"|"rocket"|"eyes" - Returns a single reaction type. Omit this parameter to list all reactions to a pull request review comment
github: ReactionsListForReleaseQueries
Represents the Queries record for the operation: reactions/list-for-release
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
- content? "+1"|"laugh"|"heart"|"hooray"|"rocket"|"eyes" - Returns a single reaction type. Omit this parameter to list all reactions to a release
github: ReactionsListForTeamDiscussionCommentInOrgQueries
Represents the Queries record for the operation: reactions/list-for-team-discussion-comment-in-org
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
- content? "+1"|"-1"|"laugh"|"confused"|"heart"|"hooray"|"rocket"|"eyes" - Returns a single reaction type. Omit this parameter to list all reactions to a team discussion comment
github: ReactionsListForTeamDiscussionCommentLegacyQueries
Represents the Queries record for the operation: reactions/list-for-team-discussion-comment-legacy
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
- content? "+1"|"-1"|"laugh"|"confused"|"heart"|"hooray"|"rocket"|"eyes" - Returns a single reaction type. Omit this parameter to list all reactions to a team discussion comment
github: ReactionsListForTeamDiscussionInOrgQueries
Represents the Queries record for the operation: reactions/list-for-team-discussion-in-org
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
- content? "+1"|"-1"|"laugh"|"confused"|"heart"|"hooray"|"rocket"|"eyes" - Returns a single reaction type. Omit this parameter to list all reactions to a team discussion
github: ReactionsListForTeamDiscussionLegacyQueries
Represents the Queries record for the operation: reactions/list-for-team-discussion-legacy
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
- content? "+1"|"-1"|"laugh"|"confused"|"heart"|"hooray"|"rocket"|"eyes" - Returns a single reaction type. Omit this parameter to list all reactions to a team discussion
github: ReferencedWorkflow
A workflow referenced/reused by the initial caller workflow
Fields
- path string - The file path of the referenced workflow within the repository.
- ref? string - The ref (branch or tag) of the referenced workflow.
- sha string - The commit SHA of the referenced workflow.
github: ReferrerTraffic
Referrer Traffic
Fields
- referrer string - The URL or domain of the referring site.
- count int - The total number of views from this referrer.
- uniques int - The number of unique visitors from this referrer.
github: RefsrefBody
Fields
- force boolean(default false) - Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to false will make sure you're not overwriting work
- sha string - The SHA1 value to set this reference to
github: Release
A release
Fields
- bodyHtml? string - The HTML-rendered description of the release
- bodyText? string - The plain text description of the release
- tagName string - The name of the tag
- author SimpleUser - The user who authored the release.
- createdAt string - The date the release was created
- mentionsCount? int - The number of mentions found in the release body
- body? string? - The description body of the release
- url string - API URL for the release
- assetsUrl string - API URL for the release assets
- assets ReleaseAsset[] - The list of assets attached to the release
- prerelease boolean - Whether to identify the release as a prerelease or a full release
- htmlUrl string - URL of the release page on GitHub
- zipballUrl string? - URL to download the release source as a zip file
- targetCommitish string - Specifies the commitish value that determines where the Git tag is created from
- draft boolean - true to create a draft (unpublished) release, false to create a published one
- name string? - The name of the release
- uploadUrl string - URL template for uploading release assets
- reactions? ReactionRollup - Reaction counts for the release.
- id int - The unique identifier of the release
- tarballUrl string? - URL to download the release source as a tarball
- publishedAt string? - The date the release was published
- nodeId string - The GraphQL node identifier of the release
- discussionUrl? string - The URL of the release discussion
github: ReleaseAsset
Data related to a release
Fields
- createdAt string - The date and time the release asset was created.
- browserDownloadUrl string - The URL to download the release asset via a browser.
- label string? - An optional display label for the release asset.
- url string - API URL for the release asset.
- downloadCount int - The number of times the release asset has been downloaded.
- contentType string - The MIME type of the release asset.
- size int - The size of the release asset in bytes.
- updatedAt string - The date and time the release asset was last updated.
- uploader NullableSimpleUser? - The user who uploaded the release asset.
- name string - The file name of the asset
- id int - The unique identifier of the release asset.
- state "uploaded"|"open" - State of the release asset
- nodeId string - The GraphQL node identifier of the release asset.
github: ReleaseIdReactionsBody
Fields
- content "+1"|"laugh"|"heart"|"hooray"|"rocket"|"eyes" - The reaction type to add to the release
github: ReleaseNotesContent
Generated name and body describing a release
Fields
- name string - The generated name of the release
- body string - The generated body describing the contents of the release supporting markdown formatting
github: ReleasesGenerateNotesBody
Fields
- tagName string - The tag name for the release. This can be an existing tag or a new one
- targetCommitish? string - Specifies the commitish value that will be the target for the release's tag. Required if the supplied tag_name does not reference an existing tag. Ignored if the tag_name already exists
- previousTagName? string - The name of the previous tag to use as the starting point for the release notes. Use to manually specify the range for the set of changes considered as part this release
- configurationFilePath? string - Specifies a path to a file in the repository containing configuration settings used for generating the release notes. If unspecified, the configuration file located in the repository at '.github/release.yml' or '.github/release.yaml' will be used. If that is not present, the default configuration will be used
github: ReleasesreleaseIdBody
Fields
- discussionCategoryName? string - If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. If there is already a discussion linked to the release, this parameter is ignored. For more information, see "Managing categories for discussions in your repository."
- makeLatest "true"|"false"|"legacy" (default "true") - Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to true for newly published releases. legacy specifies that the latest release should be determined based on the release creation date and higher semantic version
- tagName? string - The name of the tag
- prerelease? boolean - true to identify the release as a prerelease, false to identify the release as a full release
- targetCommitish? string - Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch
- draft? boolean - true makes the release a draft, and false publishes the release
- name? string - The name of the release
- body? string - Text describing the contents of the tag
github: RemovedFromProjectIssueEvent
Removed from Project Issue Event
Fields
- actor SimpleUser - The user who triggered the removed-from-project event.
- commitUrl string? - The API URL of the commit associated with this event.
- performedViaGithubApp NullableIntegration? - The GitHub App that performed this event, if any.
- createdAt string - The timestamp when this event was created.
- id int - The unique identifier of this issue event.
- event string - The type of event that occurred on the issue.
- commitId string? - The SHA of the commit associated with this event.
- url string - The API URL for this issue event.
- projectCard? RemovedFromProjectIssueEventProjectCard - The project card from which the issue was removed.
- nodeId string - The global node ID of this issue event.
github: RemovedFromProjectIssueEventProjectCard
Fields
- projectId int - The unique identifier of the project the card belonged to.
- columnName string - The name of the column from which the card was removed.
- projectUrl string - The URL of the project the card belonged to.
- id int - The unique identifier of the project card.
- previousColumnName? string - The name of the column the card was in before removal.
- url string - The API URL for the project card.
github: RenamedIssueEvent
Renamed Issue Event
Fields
- actor SimpleUser - The user who triggered the rename event.
- commitUrl string? - The API URL of the commit associated with this event.
- performedViaGithubApp NullableIntegration? - The GitHub App that performed this event, if any.
- rename RenamedIssueEventRename - The old and new title values from the rename action.
- createdAt string - The date and time when the rename event occurred.
- id int - The unique identifier of the issue event.
- event string - The type of event that occurred on the issue.
- commitId string? - The SHA of the commit associated with this event.
- url string - The API URL for this issue event.
- nodeId string - The GraphQL node identifier for this event.
github: RenamedIssueEventRename
Fields
- 'from string - The previous title of the issue before renaming.
- to string - The new title of the issue after renaming.
github: RepoAutolinksBody
Fields
- keyPrefix string - This prefix appended by certain characters will generate a link any time it is found in an issue, pull request, or commit
- urlTemplate string - The URL must contain <num> for the reference number. <num> matches different characters depending on the value of is_alphanumeric
- isAlphanumeric boolean(default true) - Whether this autolink reference matches alphanumeric characters. If true, the <num> parameter of the url_template matches alphanumeric characters A-Z (case insensitive), 0-9, and -. If false, this autolink reference only matches numeric characters
github: RepoCheckSuitesBody
Fields
- headSha string - The sha of the head commit
github: RepoCodespacesBody
Fields
- geo? "EuropeWest"|"SoutheastAsia"|"UsEast"|"UsWest" - The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces location, which is being deprecated
- devcontainerPath? string - Path to devcontainer.json config to use for this codespace
- ref? string - Git ref (typically a branch name) for this codespace
- multiRepoPermissionsOptOut? boolean - Whether to authorize requested permissions from devcontainer.json
- machine? string - Machine type to use for this codespace
- location? string - The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided
- clientIp? string - IP for location auto-detection when proxying a request
- workingDirectory? string - Working directory for this codespace
- retentionPeriodMinutes? int - Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days)
- displayName? string - Display name for this codespace
- idleTimeoutMinutes? int - Time in minutes before codespace stops from inactivity
github: RepoCodespacesSecret
Set repository secrets for GitHub Codespaces
Fields
- updatedAt string - The date and time the secret was last updated.
- name string - The name of the secret
- createdAt string - The date and time the secret was created.
github: RepoCodespacesSecretResponse
Set repository secrets for GitHub Codespaces
Fields
- totalCount int - The total number of Codespaces secrets for the repository.
- secrets RepoCodespacesSecret[] - The list of Codespaces secrets for the repository.
github: RepoDeploymentsBody
Fields
- ref string - The ref to deploy. This can be a branch, tag, or SHA
- environment string(default "production") - Name for the target deployment environment (e.g., production, staging, qa)
- task string(default "deploy") - Specifies a task to execute (e.g., deploy or deploy:migrations)
- payload? record {}|string - Optional JSON payload with extra information about the deployment.
- transientEnvironment boolean(default false) - Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: false
- description string?(default "") - Short description of the deployment
- autoMerge boolean(default true) - Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch
- productionEnvironment? boolean - Specifies if the given environment is one that end-users directly interact with. Default: true when environment is production and false otherwise
github: RepoDispatchesBody
Fields
- eventType string - A custom webhook event name. Must be 100 characters or fewer
- clientPayload? record {} - JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10
github: RepoForksBody
Fields
- organization? string - Optional parameter to specify the organization name if forking into an organization
- name? string - When forking from an existing repository, a new name for the fork
- defaultBranchOnly? boolean - When forking from an existing repository, fork with only the default branch
github: RepoHooksBody
Fields
- name? string - Use web to create a webhook. Default: web. This parameter only accepts the value web
- active boolean(default true) - Determines if notifications are sent when the webhook is triggered. Set to true to send notifications
- config? ReposownerrepohooksConfig - Configuration object defining the webhook URL, content type, and secret.
github: RepoImportBody
Fields
- vcsUsername? string - If authentication is required, the username to provide to vcs_url
- vcsPassword? string - If authentication is required, the password to provide to vcs_url
- vcsUrl string - The URL of the originating repository
- tfvcProject? string - For a tfvc import, the name of the project that is being imported
- vcs? "subversion"|"git"|"mercurial"|"tfvc" - The originating VCS type. Without this parameter, the import job will take additional time to detect the VCS type before beginning the import. This detection step will be reflected in the response
github: RepoImportBody1
Fields
- vcsUsername? string - The username to provide to the originating repository
- vcsPassword? string - The password to provide to the originating repository
- tfvcProject? string - For a tfvc import, the name of the project that is being imported
- vcs? "subversion"|"tfvc"|"git"|"mercurial" - The type of version control system you are migrating from
github: RepoIssuesBody
Fields
- assignees? string[] - Logins for Users to assign to this issue. NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise.
- assignee? string? - Login for the user that this issue should be assigned to. NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. This field is deprecated.
- body? string - The contents of the issue
- labels? ReposownerrepoissuesLabels[] - Labels to associate with this issue. NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise.
github: RepoKeysBody
Fields
- readOnly? boolean - If true, the key will only be able to read repository contents. Otherwise, the key will be able to read and write. Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "Repository permission levels for an organization" and "Permission levels for a user account repository."
- title? string - A name for the key
- 'key string - The contents of the key
github: RepoLabelsBody
Fields
- color? string - The hexadecimal color code for the label, without the leading #
- name string - The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji
. For a full list of available emoji and codes, see "Emoji cheat sheet."
- description? string - A short description of the label. Must be 100 characters or fewer
github: RepoMergesBody
Fields
- head string - The head to merge. This can be a branch name or a commit SHA1
- commitMessage? string - Commit message to use for the merge commit. If omitted, a default message will be used
- base string - The name of the base branch that the head will be merged into
github: RepoMergeUpstreamBody
Fields
- branch string - The name of the branch which should be updated to match upstream
github: RepoMilestonesBody
Fields
- description? string - A description of the milestone
- state "open"|"closed" (default "open") - The state of the milestone. Either open or closed
- title string - The title of the milestone
github: RepoNotificationsBody
Fields
github: RepoPullsBody
Fields
- head string - The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace head with a user like this: username:branch
- issue? int - An issue in the repository to convert to a pull request. The issue title, body, and comments will become the title, body, and comments on the new pull request. Required unless title is specified
- headRepo? string - The name of the repository where the changes in the pull request were made. This field is required for cross-repository pull requests if both repositories are owned by the same organization
- draft? boolean - Indicates whether the pull request is a draft. See "Draft Pull Requests" in the GitHub Help documentation to learn more
- maintainerCanModify? boolean - Indicates whether maintainers can modify the pull request
- title? string - The title of the new pull request. Required unless issue is specified
- body? string - The contents of the pull request
- base string - The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository
github: RepoReleasesBody
Fields
- discussionCategoryName? string - If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. For more information, see "Managing categories for discussions in your repository."
- makeLatest "true"|"false"|"legacy" (default "true") - Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to true for newly published releases. legacy specifies that the latest release should be determined based on the release creation date and higher semantic version
- tagName string - The name of the tag
- prerelease boolean(default false) - true to identify the release as a prerelease. false to identify the release as a full release
- targetCommitish? string - Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch
- draft boolean(default false) - true to create a draft (unpublished) release, false to create a published one
- name? string - The name of the release
- body? string - Text describing the contents of the tag
- generateReleaseNotes boolean(default false) - Whether to automatically generate the name and body for this release. If name is specified, the specified name will be used; otherwise, a name will be automatically generated. If body is specified, the body will be pre-pended to the automatically generated notes
github: RepoRulesetsBody
Fields
- bypassActors? RepositoryRulesetBypassActor[] - The actors that can bypass the rules in this ruleset
- name string - The name of the ruleset
- enforcement RepositoryRuleEnforcement - The enforcement level for this ruleset.
- rules? RepositoryRule[] - An array of rules within the ruleset
- conditions? RepositoryRulesetConditions - The conditions that determine which refs the ruleset applies to.
- target? "branch"|"tag" - The target of the ruleset
github: ReposCodeownersErrorsQueries
Represents the Queries record for the operation: repos/codeowners-errors
Fields
- ref? string - A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository's default branch (e.g. main)
github: ReposCompareCommitsQueries
Represents the Queries record for the operation: repos/compare-commits
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: RepoSearchResultItem
Repo Search Result Item
Fields
- allowForking? boolean - Indicates whether the repository can be forked.
- stargazersCount int - The number of users who have starred the repository.
- isTemplate? boolean - Indicates whether the repository is a template repository.
- pushedAt string - The date and time of the most recent push to the repository.
- language string? - The primary programming language used in the repository.
- subscriptionUrl string - API URL to manage the authenticated user's subscription to this repository.
- branchesUrl string - API URL template for accessing the repository's branches.
- issueCommentUrl string - API URL template for accessing comments on issues in the repository.
- allowRebaseMerge? boolean - Indicates whether rebase merging is allowed for pull requests.
- labelsUrl string - API URL template for accessing the repository's labels.
- score decimal - The search relevance score of this repository result.
- subscribersUrl string - API URL for listing subscribers watching the repository.
- permissions? RepoSearchResultItemPermissions - The permissions the authenticated user has on this repository.
- tempCloneToken? string - A temporary token used for cloning the repository.
- releasesUrl string - API URL template for accessing the repository's releases.
- svnUrl string - The SVN URL for the repository.
- id int - The unique numeric identifier of the repository.
- masterBranch? string - The name of the master branch of the repository.
- hasDiscussions? boolean - Indicates whether the repository has discussions enabled.
- forks int - The number of forks of the repository.
- archiveUrl string - API URL template for downloading an archive of the repository.
- allowMergeCommit? boolean - Indicates whether merge commits are allowed for pull requests.
- gitRefsUrl string - API URL template for accessing the repository's Git refs.
- forksUrl string - API URL for listing forks of the repository.
- visibility? string - The repository visibility: public, private, or internal
- statusesUrl string - API URL template for accessing commit statuses in the repository.
- sshUrl string - The SSH URL used to clone the repository.
- license NullableLicenseSimple? - The license associated with the repository.
- fullName string - The full name of the repository, including the owner's login.
- size int - The size of the repository in kilobytes.
- allowAutoMerge? boolean - Indicates whether auto-merge is allowed for pull requests.
- languagesUrl string - API URL for listing the programming languages used in the repository.
- htmlUrl string - The HTML URL for viewing the repository on GitHub.
- collaboratorsUrl string - API URL template for accessing the repository's collaborators.
- cloneUrl string - The HTTPS URL used to clone the repository.
- name string - The name of the repository.
- pullsUrl string - API URL template for accessing the repository's pull requests.
- defaultBranch string - The name of the repository's default branch.
- hooksUrl string - API URL for accessing the repository's webhooks.
- treesUrl string - API URL template for accessing the repository's Git trees.
- tagsUrl string - API URL for listing the repository's tags.
- 'private boolean - Indicates whether the repository is private.
- contributorsUrl string - API URL for listing the repository's contributors.
- hasDownloads boolean - Indicates whether the repository has downloads enabled.
- openIssuesCount int - The number of open issues in the repository.
- notificationsUrl string - API URL template for accessing notifications for the repository.
- description string? - A short description of the repository.
- createdAt string - The date and time the repository was created.
- watchers int - The number of users watching the repository.
- keysUrl string - API URL template for accessing the repository's deploy keys.
- deploymentsUrl string - API URL for listing the repository's deployments.
- hasProjects boolean - Indicates whether the repository has projects enabled.
- archived boolean - Indicates whether the repository has been archived.
- hasWiki boolean - Indicates whether the repository has a wiki enabled.
- updatedAt string - The date and time the repository was last updated.
- commentsUrl string - API URL template for accessing comments in the repository.
- stargazersUrl string - API URL for listing users who have starred the repository.
- disabled boolean - Returns whether or not this repository disabled
- deleteBranchOnMerge? boolean - Indicates whether branches are automatically deleted after merging.
- gitUrl string - The Git URL used to clone the repository.
- hasPages boolean - Indicates whether the repository has GitHub Pages enabled.
- owner NullableSimpleUser? - The user or organization that owns the repository.
- allowSquashMerge? boolean - Indicates whether squash merging is allowed for pull requests.
- commitsUrl string - API URL template for accessing the repository's commits.
- compareUrl string - API URL template for comparing two commits or branches.
- gitCommitsUrl string - API URL template for accessing the repository's Git commits.
- topics? string[] - A list of topic tags associated with the repository.
- blobsUrl string - API URL template for accessing Git blobs in the repository.
- gitTagsUrl string - API URL template for accessing Git tags in the repository.
- mergesUrl string - API URL for performing branch merges in the repository.
- downloadsUrl string - API URL for accessing the repository's downloads.
- hasIssues boolean - Indicates whether the repository has issues enabled.
- webCommitSignoffRequired? boolean - Indicates whether web-based commits must include a sign-off.
- url string - The API URL for the repository.
- contentsUrl string - API URL template for accessing files and directories in the repository.
- mirrorUrl string? - The URL of the repository this is mirrored from, if applicable.
- milestonesUrl string - API URL template for accessing the repository's milestones.
- teamsUrl string - API URL for listing teams with access to the repository.
- 'fork boolean - Indicates whether this repository is a fork of another repository.
- issuesUrl string - API URL template for accessing the repository's issues.
- eventsUrl string - API URL for listing events associated with the repository.
- issueEventsUrl string - API URL for listing events on issues in the repository.
- textMatches? SearchResultTextMatches - Text fragments that matched the search query within the repository.
- assigneesUrl string - API URL template for accessing potential assignees for the repository.
- openIssues int - The number of open issues and pull requests in the repository.
- watchersCount int - The number of users watching the repository for notifications.
- nodeId string - The GraphQL node ID of the repository.
- homepage string? - The URL of the repository's homepage or project website.
- forksCount int - The total number of forks of the repository.
github: RepoSearchResultItemPermissions
Fields
- pull boolean - Indicates whether the user has pull permission on the repository.
- maintain? boolean - Indicates whether the user has maintain permission on the repository.
- admin boolean - Indicates whether the user has admin permission on the repository.
- triage? boolean - Indicates whether the user has triage permission on the repository.
- push boolean - Indicates whether the user has push permission on the repository.
github: RepoSearchResultItemResponse
Repo Search Result Item
Fields
- totalCount int - The total number of repositories matching the search query.
- incompleteResults boolean - Whether the search results are incomplete due to a timeout.
- items RepoSearchResultItem[] - The list of repositories matching the search query.
github: ReposGetAllEnvironmentsQueries
Represents the Queries record for the operation: repos/get-all-environments
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ReposGetAllTopicsQueries
Represents the Queries record for the operation: repos/get-all-topics
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ReposGetBranchRulesQueries
Represents the Queries record for the operation: repos/get-branch-rules
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ReposGetClonesQueries
Represents the Queries record for the operation: repos/get-clones
Fields
- per "day"|"week" (default "day") - The time frame to display results for
github: ReposGetCombinedStatusForRefQueries
Represents the Queries record for the operation: repos/get-combined-status-for-ref
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ReposGetCommitQueries
Represents the Queries record for the operation: repos/get-commit
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ReposGetContentQueries
Represents the Queries record for the operation: repos/get-content
Fields
- ref? string - The name of the commit/branch/tag. Default: the repository’s default branch
github: ReposGetOrgRulesetsQueries
Represents the Queries record for the operation: repos/get-org-rulesets
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
github: ReposGetOrgRuleSuitesQueries
Represents the Queries record for the operation: repos/get-org-rule-suites
Fields
- perPage int(default 30) - The number of results per page (max 100)
- actorName? string - The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned
- page int(default 1) - Page number of the results to fetch
- repositoryName? int - The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned
- timePeriod "hour"|"day"|"week"|"month" (default "day") - The time period to filter by. For example, day will filter for rule suites that occurred in the past 24 hours, and week will filter for insights that occurred in the past 7 days (168 hours)
- ruleSuiteResult "pass"|"fail"|"bypass"|"all" (default "all") - The rule results to filter on. When specified, only suites with this result will be returned
github: ReposGetReadmeInDirectoryQueries
Represents the Queries record for the operation: repos/get-readme-in-directory
Fields
- ref? string - The name of the commit/branch/tag. Default: the repository’s default branch
github: ReposGetReadmeQueries
Represents the Queries record for the operation: repos/get-readme
Fields
- ref? string - The name of the commit/branch/tag. Default: the repository’s default branch
github: ReposGetRepoRulesetQueries
Represents the Queries record for the operation: repos/get-repo-ruleset
Fields
- includesParents boolean(default true) - Include rulesets configured at higher levels that apply to this repository
github: ReposGetRepoRulesetsQueries
Represents the Queries record for the operation: repos/get-repo-rulesets
Fields
- perPage int(default 30) - The number of results per page (max 100)
- page int(default 1) - Page number of the results to fetch
- includesParents boolean(default true) - Include rulesets configured at higher levels that apply to this repository
github: ReposGetRepoRuleSuitesQueries
Represents the Queries record for the operation: repos/get-repo-rule-suites
Fields
- perPage int(default 30) - The number of results per page (max 100)
- ref? string - The name of the ref. Cannot contain wildcard characters. When specified, only rule evaluations triggered for this ref will be returned
- actorName? string - The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned
- page int(default 1) - Page number of the results to fetch
- timePeriod "hour"|"day"|"week"|"month" (default "day") - The time period to filter by. For example, day will filter for rule suites that occurred in the past 24 hours, and week will filter for insights that occurred in the past 7 days (168 hours)
- ruleSuiteResult "pass"|"fail"|"bypass"|"all" (default "all") - The rule results to filter on. When specified, only suites with this result will be returned
github: ReposGetViewsQueries
Represents the Queries record for the operation: repos/get-views
Fields
- per "day"|"week" (default "day") - The time frame to display results for
github: Repository
A repository on GitHub
Fields
- allowForking? boolean - Whether to allow forking this repo
- anonymousAccessEnabled? boolean - Whether anonymous git access is enabled for this repository
- subscriptionUrl string - API URL for the authenticated user's subscription to the repository
- branchesUrl string - API URL template for listing repository branches
- issueCommentUrl string - API URL template for accessing issue comments
- allowRebaseMerge boolean(default true) - Whether to allow rebase merges for pull requests
- permissions? RepositoryPermissions - The permissions the authenticated user has on this repository.
- subscribersUrl string - API URL for listing repository watchers
- tempCloneToken? string - A temporary token for cloning the repository
- releasesUrl string - API URL template for listing repository releases
- squashMergeCommitMessage? "PR_BODY"|"COMMIT_MESSAGES"|"BLANK" - The default value for a squash merge commit message:
- PR_BODY - default to the pull request's body.
- COMMIT_MESSAGES - default to the branch's commit messages.
- BLANK - default to a blank commit message
- subscribersCount? int - The number of users watching the repository
- id int - Unique identifier of the repository
- hasDiscussions boolean(default false) - Whether discussions are enabled
- forks int - The number of forks of the repository
- gitRefsUrl string - API URL template for accessing Git references
- sshUrl string - The SSH URL for cloning the repository
- fullName string - The full name of the repository in owner/name format
- size int - The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0
- templateRepository? RepositoryTemplateRepository? - The template repository used to create this repository, if any.
- languagesUrl string - API URL for listing programming languages used
- htmlUrl string - URL of the repository page on GitHub
- collaboratorsUrl string - API URL template for listing repository collaborators
- cloneUrl string - The HTTPS URL for cloning the repository
- defaultBranch string - The default branch of the repository
- hooksUrl string - API URL for listing repository webhooks
- treesUrl string - API URL template for accessing Git trees
- hasDownloads boolean(default true) - Whether downloads are enabled
- createdAt string? - The date the repository was created
- watchers int - The number of watchers on the repository
- deploymentsUrl string - API URL for listing repository deployments
- keysUrl string - API URL template for listing repository deploy keys
- archived boolean(default false) - Whether the repository is archived
- hasWiki boolean(default true) - Whether the wiki is enabled
- updatedAt string? - The date the repository was last updated
- disabled boolean - Returns whether or not this repository disabled
- compareUrl string - API URL template for comparing two commits
- gitCommitsUrl string - API URL template for accessing Git commits
- topics? string[] - The list of topics associated with the repository
- allowUpdateBranch boolean(default false) - Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging
- gitTagsUrl string - API URL template for accessing Git tags
- mergesUrl string - API URL for performing merge operations
- starredAt? string - The time the authenticated user starred the repository
- url string - API URL for the repository
- contentsUrl string - API URL template for accessing repository contents
- issuesUrl string - API URL template for listing repository issues
- useSquashPrTitleAsDefault boolean(default false) - Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead
- organization? NullableSimpleUser? - The organization that owns the repository, if applicable.
- mergeCommitMessage? "PR_BODY"|"PR_TITLE"|"BLANK" - The default value for a merge commit message.
- PR_TITLE - default to the pull request's title.
- PR_BODY - default to the pull request's body.
- BLANK - default to a blank commit message
- assigneesUrl string - API URL template for listing repository assignees
- squashMergeCommitTitle? "PR_TITLE"|"COMMIT_OR_PR_TITLE" - The default value for a squash merge commit title:
- PR_TITLE - default to the pull request's title.
- COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)
- openIssues int - The number of open issues in the repository
- nodeId string - The GraphQL node identifier of the repository
- stargazersCount int - The number of stars on the repository
- isTemplate boolean(default false) - Whether this repository acts as a template that can be used to generate new repositories
- pushedAt string? - The date of the most recent push to the repository
- language string? - The primary programming language of the repository
- labelsUrl string - API URL template for listing repository labels
- svnUrl string - The Subversion URL for the repository
- masterBranch? string - The name of the master branch
- archiveUrl string - API URL template for downloading repository archives
- allowMergeCommit boolean(default true) - Whether to allow merge commits for pull requests
- forksUrl string - API URL for listing repository forks
- visibility string(default "public") - The repository visibility: public, private, or internal
- statusesUrl string - API URL template for listing commit statuses
- networkCount? int - The number of repositories in the fork network
- license NullableLicenseSimple? - The license applied to the repository.
- allowAutoMerge boolean(default false) - Whether to allow Auto-merge to be used on pull requests
- name string - The name of the repository
- pullsUrl string - API URL template for listing pull requests
- tagsUrl string - API URL for listing repository tags
- 'private boolean(default false) - Whether the repository is private or public
- contributorsUrl string - API URL for listing repository contributors
- notificationsUrl string - API URL template for listing repository notifications
- openIssuesCount int - The number of open issues in the repository
- description string? - A short description of the repository
- hasProjects boolean(default true) - Whether projects are enabled
- mergeCommitTitle? "PR_TITLE"|"MERGE_MESSAGE" - The default value for a merge commit title.
- PR_TITLE - default to the pull request's title.
- MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)
- commentsUrl string - API URL template for listing commit comments
- stargazersUrl string - API URL for listing users who starred the repository
- deleteBranchOnMerge boolean(default false) - Whether to delete head branches when pull requests are merged
- gitUrl string - The Git protocol URL for the repository
- hasPages boolean - Whether the repository has GitHub Pages enabled
- owner SimpleUser - The account that owns the repository.
- allowSquashMerge boolean(default true) - Whether to allow squash merges for pull requests
- commitsUrl string - API URL template for listing repository commits
- blobsUrl string - API URL template for accessing repository blobs
- downloadsUrl string - API URL for listing repository downloads
- hasIssues boolean(default true) - Whether issues are enabled
- webCommitSignoffRequired boolean(default false) - Whether to require contributors to sign off on web-based commits
- mirrorUrl string? - The URL of the mirror for the repository
- milestonesUrl string - API URL template for listing repository milestones
- teamsUrl string - API URL for listing teams with access to the repository
- 'fork boolean - Whether the repository is a fork
- eventsUrl string - API URL for listing repository events
- issueEventsUrl string - API URL template for listing issue events
- watchersCount int - The number of watchers on the repository
- homepage string? - The URL of the repository's homepage
- forksCount int - The number of forks of the repository
github: RepositoryAdvisory
A repository security advisory
Fields
- creditsDetailed RepositoryAdvisoryCredit[]? - Detailed credit information including credit type for each credited user.
- description string? - A detailed description of what the advisory entails
- createdAt string? - The date and time of when the advisory was created, in ISO 8601 format
- cwes GlobalAdvisoryCwes[]? - The CWE (Common Weakness Enumeration) entries associated with the advisory.
- updatedAt string? - The date and time of when the advisory was last updated, in ISO 8601 format
- credits RepositoryAdvisoryCredits[]? - Users credited for discovering or fixing the advisory.
- withdrawnAt string? - The date and time of when the advisory was withdrawn, in ISO 8601 format
- state "published"|"closed"|"withdrawn"|"draft"|"triage" - The state of the advisory
- publishedAt string? - The date and time of when the advisory was published, in ISO 8601 format
- collaboratingUsers SimpleUser[]? - A list of users that collaborate on the advisory
- privateFork SimpleRepository? - A temporary private fork of the advisory's repository for collaborating on a fix
- summary string - A short summary of the advisory
- severity "critical"|"high"|"medium"|"low"? - The severity of the advisory
- closedAt string? - The date and time of when the advisory was closed, in ISO 8601 format
- author SimpleUser? - The author of the advisory
- identifiers GlobalAdvisoryIdentifiers[] - A list of identifiers such as CVE or GHSA IDs for the advisory.
- url string - The API URL for the advisory
- ghsaId string - The GitHub Security Advisory ID
- cveId string? - The Common Vulnerabilities and Exposures (CVE) ID
- collaboratingTeams Team[]? - A list of teams that collaborate on the advisory
- htmlUrl string - The URL for the advisory
- publisher SimpleUser? - The publisher of the advisory
- vulnerabilities RepositoryAdvisoryVulnerability[]? - The packages and version ranges affected by this advisory.
- submission RepositoryAdvisorySubmission? - Submission details if the advisory was submitted by an external reporter.
- cvss GlobalAdvisoryCvss? - The CVSS score and vector string for the advisory.
- cweIds string[]? - A list of only the CWE IDs
github: RepositoryAdvisoryCreate
Fields
- summary string - A short summary of the advisory
- severity? "critical"|"high"|"medium"|"low"? - The severity of the advisory. You must choose between setting this field or cvss_vector_string
- cveId? string? - The Common Vulnerabilities and Exposures (CVE) ID
- credits? RepositoryAdvisoryCreateCredits[]? - A list of users receiving credit for their participation in the security advisory
- cvssVectorString? string? - The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or severity
- description string - A detailed description of what the advisory impacts
- vulnerabilities RepositoryAdvisoryCreateVulnerabilities[] - A product affected by the vulnerability detailed in a repository security advisory
- cweIds? string[]? - A list of Common Weakness Enumeration (CWE) IDs
github: RepositoryAdvisoryCreateCredits
Fields
- login string - The username of the user credited
- 'type SecurityAdvisoryCreditTypes - The type of contribution credited to the user for the advisory.
github: RepositoryAdvisoryCreatePackage
The name of the package affected by the vulnerability
Fields
- ecosystem SecurityAdvisoryEcosystems - The package ecosystem where the vulnerability exists.
- name? string? - The unique package name within its ecosystem
github: RepositoryAdvisoryCreateVulnerabilities
Fields
- package RepositoryAdvisoryCreatePackage - The package affected by this vulnerability.
- vulnerableFunctions? string[]? - The functions in the package that are affected
- vulnerableVersionRange? string? - The range of the package versions affected by the vulnerability
- patchedVersions? string? - The package version(s) that resolve the vulnerability
github: RepositoryAdvisoryCredit
A credit given to a user for a repository security advisory
Fields
- state "accepted"|"declined"|"pending" - The state of the user's acceptance of the credit
- 'type SecurityAdvisoryCreditTypes - The type of credit assigned to the user for the advisory.
- user SimpleUser - The user receiving credit for the security advisory.
github: RepositoryAdvisoryCredits
Fields
- login? string - The username of the user credited
- 'type? SecurityAdvisoryCreditTypes - The type of credit assigned to the credited user.
github: RepositoryAdvisorySubmission
Fields
- accepted boolean - Whether a private vulnerability report was accepted by the repository's administrators
github: RepositoryAdvisoryUpdate
Fields
- summary? string - A short summary of the advisory
- severity? "critical"|"high"|"medium"|"low"? - The severity of the advisory. You must choose between setting this field or cvss_vector_string
- cveId? string? - The Common Vulnerabilities and Exposures (CVE) ID
- credits? RepositoryAdvisoryCreateCredits[]? - A list of users receiving credit for their participation in the security advisory
- cvssVectorString? string? - The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or severity
- collaboratingTeams? string[]? - A list of team slugs which have been granted write access to the advisory
- description? string - A detailed description of what the advisory impacts
- vulnerabilities? RepositoryAdvisoryCreateVulnerabilities[] - A product affected by the vulnerability detailed in a repository security advisory
- state? "published"|"closed"|"draft" - The state of the advisory
- collaboratingUsers? string[]? - A list of usernames who have been granted write access to the advisory
- cweIds? string[]? - A list of Common Weakness Enumeration (CWE) IDs
github: RepositoryAdvisoryVulnerability
A product affected by the vulnerability detailed in a repository security advisory
Fields
- package RepositoryAdvisoryVulnerabilityPackage? - The package affected by the vulnerability.
- vulnerableFunctions string[]? - The functions in the package that are affected
- vulnerableVersionRange string? - The range of the package versions affected by the vulnerability
- patchedVersions string? - The package version(s) that resolve the vulnerability
github: RepositoryAdvisoryVulnerabilityPackage
The name of the package affected by the vulnerability
Fields
- ecosystem SecurityAdvisoryEcosystems - The package ecosystem where the vulnerability exists.
- name string? - The unique package name within its ecosystem
github: RepositoryCollaboratorPermission
Repository Collaborator Permission
Fields
- roleName string - The name of the role assigned to the collaborator.
- permission string - The permission level granted to the collaborator.
- user NullableCollaborator? - The collaborator user associated with this permission.
github: RepositoryIdAndRefName
Conditions to target repositories by id and refs by name
Fields
- Fields Included from *RepositoryRulesetConditions
- refName RepositoryRulesetConditionsRefName
- anydata...
- Fields Included from *RepositoryRulesetConditionsRepositoryIdTarget
- repositoryId RepositoryRulesetConditionsRepositoryIdTargetRepositoryId
- anydata...
github: RepositoryInvitation
Repository invitations let you manage who you collaborate with
Fields
- expired? boolean - Whether or not the invitation has expired
- permissions "read"|"write"|"admin"|"triage"|"maintain" - The permission associated with the invitation
- htmlUrl string - URL of the repository invitation page on GitHub.
- createdAt string - The date and time the invitation was created.
- inviter NullableSimpleUser? - The user who sent the repository invitation.
- id int - Unique identifier of the repository invitation
- repository MinimalRepository - The repository to which the user is invited.
- url string - URL for the repository invitation
- invitee NullableSimpleUser? - The user who received the repository invitation.
- nodeId string - The GraphQL node identifier of the invitation.
github: RepositoryNameAndRefName
Conditions to target repositories by name and refs by name
Fields
- Fields Included from *RepositoryRulesetConditions
- refName RepositoryRulesetConditionsRefName
- anydata...
- Fields Included from *RepositoryRulesetConditionsRepositoryNameTarget
- repositoryName RepositoryRulesetConditionsRepositoryNameTargetRepositoryName
- anydata...
github: RepositoryPermissions
The permissions the authenticated user has on the repository
Fields
- pull boolean - Whether the authenticated user can pull from the repository.
- maintain? boolean - Whether the authenticated user has maintain permissions on the repository.
- admin boolean - Whether the authenticated user has admin permissions on the repository.
- triage? boolean - Whether the authenticated user has triage permissions on the repository.
- push boolean - Whether the authenticated user can push to the repository.
github: RepositoryResponse
A repository on GitHub
Fields
- repositorySelection? string - Indicates whether all or selected repositories are included.
- repositories Repository[] - The list of repositories returned in this response.
- totalCount int - The total number of repositories matching the request.
github: RepositoryRuleBranchNamePattern
Parameters to be used for the branch_name_pattern rule
Fields
- 'type "branch_name_pattern" - The rule type, identifying this as a branch name pattern rule.
- parameters? RepositoryRuleBranchNamePatternParameters - The configuration parameters for the branch name pattern rule.
github: RepositoryRuleBranchNamePatternParameters
Fields
- negate? boolean - If true, the rule will fail if the pattern matches
- name? string - How this rule will appear to users
- pattern string - The pattern to match with
- operator "starts_with"|"ends_with"|"contains"|"regex" - The operator to use for matching
github: RepositoryRuleCommitAuthorEmailPattern
Parameters to be used for the commit_author_email_pattern rule
Fields
- 'type "commit_author_email_pattern" - The type identifier for the commit author email pattern rule.
- parameters? RepositoryRuleBranchNamePatternParameters - The parameters defining the pattern to match against commit author emails.
github: RepositoryRuleCommitMessagePattern
Parameters to be used for the commit_message_pattern rule
Fields
- 'type "commit_message_pattern" - The type identifier for the commit message pattern rule.
- parameters? RepositoryRuleBranchNamePatternParameters - Parameters defining the commit message pattern matching criteria.
github: RepositoryRuleCommitterEmailPattern
Parameters to be used for the committer_email_pattern rule
Fields
- 'type "committer_email_pattern" - The rule type identifier, always 'committer_email_pattern'.
- parameters? RepositoryRuleBranchNamePatternParameters - The parameters defining the committer email pattern rule.
github: RepositoryRuleCreation
Only allow users with bypass permission to create matching refs
Fields
- 'type "creation" - The rule type, always 'creation' for this rule.
github: RepositoryRuleDeletion
Only allow users with bypass permissions to delete matching refs
Fields
- 'type "deletion" - The rule type, always 'deletion' for this rule.
github: RepositoryRuleDetailedOneOf1
Fields
- Fields Included from *RepositoryRuleCreation
- type "creation"
- anydata...
- Fields Included from *RepositoryRuleRulesetInfo
github: RepositoryRuleDetailedOneOf10
Fields
- Fields Included from *RepositoryRuleCommitMessagePattern
- type "commit_message_pattern"
- parameters RepositoryRuleBranchNamePatternParameters
- anydata...
- Fields Included from *RepositoryRuleRulesetInfo
github: RepositoryRuleDetailedOneOf11
Fields
- Fields Included from *RepositoryRuleCommitAuthorEmailPattern
- type "commit_author_email_pattern"
- parameters RepositoryRuleBranchNamePatternParameters
- anydata...
- Fields Included from *RepositoryRuleRulesetInfo
github: RepositoryRuleDetailedOneOf12
Fields
- Fields Included from *RepositoryRuleCommitterEmailPattern
- type "committer_email_pattern"
- parameters RepositoryRuleBranchNamePatternParameters
- anydata...
- Fields Included from *RepositoryRuleRulesetInfo
github: RepositoryRuleDetailedOneOf13
Fields
- Fields Included from *RepositoryRuleBranchNamePattern
- type "branch_name_pattern"
- parameters RepositoryRuleBranchNamePatternParameters
- anydata...
- Fields Included from *RepositoryRuleRulesetInfo
github: RepositoryRuleDetailedOneOf14
Fields
- Fields Included from *RepositoryRuleTagNamePattern
- type "tag_name_pattern"
- parameters RepositoryRuleBranchNamePatternParameters
- anydata...
- Fields Included from *RepositoryRuleRulesetInfo
github: RepositoryRuleDetailedOneOf2
Fields
- Fields Included from *RepositoryRuleUpdate
- type "update"
- parameters RepositoryRuleUpdateParameters
- anydata...
- Fields Included from *RepositoryRuleRulesetInfo
github: RepositoryRuleDetailedOneOf3
Fields
- Fields Included from *RepositoryRuleDeletion
- type "deletion"
- anydata...
- Fields Included from *RepositoryRuleRulesetInfo
github: RepositoryRuleDetailedOneOf4
Fields
- Fields Included from *RepositoryRuleRequiredLinearHistory
- type "required_linear_history"
- anydata...
- Fields Included from *RepositoryRuleRulesetInfo
github: RepositoryRuleDetailedOneOf5
Fields
- Fields Included from *RepositoryRuleRequiredDeployments
- type "required_deployments"
- parameters RepositoryRuleRequiredDeploymentsParameters
- anydata...
- Fields Included from *RepositoryRuleRulesetInfo
github: RepositoryRuleDetailedOneOf6
Fields
- Fields Included from *RepositoryRuleRequiredSignatures
- type "required_signatures"
- anydata...
- Fields Included from *RepositoryRuleRulesetInfo
github: RepositoryRuleDetailedOneOf7
Fields
- Fields Included from *RepositoryRulePullRequest
- type "pull_request"
- parameters RepositoryRulePullRequestParameters
- anydata...
- Fields Included from *RepositoryRuleRulesetInfo
github: RepositoryRuleDetailedOneOf8
Fields
- Fields Included from *RepositoryRuleRequiredStatusChecks
- type "required_status_checks"
- parameters RepositoryRuleRequiredStatusChecksParameters
- anydata...
- Fields Included from *RepositoryRuleRulesetInfo
github: RepositoryRuleDetailedOneOf9
Fields
- Fields Included from *RepositoryRuleNonFastForward
- type "non_fast_forward"
- anydata...
- Fields Included from *RepositoryRuleRulesetInfo
github: RepositoryRuleNonFastForward
Prevent users with push access from force pushing to refs
Fields
- 'type "non_fast_forward" - The rule type identifier for non-fast-forward prevention.
github: RepositoryRuleParamsStatusCheckConfiguration
Required status check
Fields
- integrationId? int - The optional integration ID that this status check must originate from
- context string - The status check context name that must be present on the commit
github: RepositoryRulePullRequest
Require all commits be made to a non-target branch and submitted via a pull request before they can be merged
Fields
- 'type "pull_request" - The rule type, always 'pull_request' for this rule.
- parameters? RepositoryRulePullRequestParameters - The parameters configuring the pull request rule requirements.
github: RepositoryRulePullRequestParameters
Fields
- requiredReviewThreadResolution boolean - All conversations on code must be resolved before a pull request can be merged
- requiredApprovingReviewCount int - The number of approving reviews that are required before a pull request can be merged
- requireCodeOwnerReview boolean - Require an approving review in pull requests that modify files that have a designated code owner
- dismissStaleReviewsOnPush boolean - New, reviewable commits pushed will dismiss previous pull request review approvals
- requireLastPushApproval boolean - Whether the most recent reviewable push must be approved by someone other than the person who pushed it
github: RepositoryRuleRequiredDeployments
Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule
Fields
- 'type "required_deployments" - The rule type identifier, always 'required_deployments'.
- parameters? RepositoryRuleRequiredDeploymentsParameters - Configuration parameters for the required deployments rule.
github: RepositoryRuleRequiredDeploymentsParameters
Fields
- requiredDeploymentEnvironments string[] - The environments that must be successfully deployed to before branches can be merged
github: RepositoryRuleRequiredLinearHistory
Prevent merge commits from being pushed to matching refs
Fields
- 'type "required_linear_history" - The rule type, must be 'required_linear_history'.
github: RepositoryRuleRequiredSignatures
Commits pushed to matching refs must have verified signatures
Fields
- 'type "required_signatures" - The rule type identifier, always 'required_signatures'.
github: RepositoryRuleRequiredStatusChecks
Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a ref that matches this rule after status checks have passed
Fields
- 'type "required_status_checks" - The rule type identifier for required status checks.
- parameters? RepositoryRuleRequiredStatusChecksParameters - Configuration parameters for the required status checks rule.
github: RepositoryRuleRequiredStatusChecksParameters
Fields
- strictRequiredStatusChecksPolicy boolean - Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled
- requiredStatusChecks RepositoryRuleParamsStatusCheckConfiguration[] - Status checks that are required
github: RepositoryRuleRulesetInfo
User-defined metadata to store domain-specific information limited to 8 keys with scalar values
Fields
- ruleset_source_type? "Repository"|"Organization" - The type of source for the ruleset that includes this rule.
- ruleset_source? string - The name of the source of the ruleset that includes this rule.
- ruleset_id? int - The ID of the ruleset that includes this rule.
github: RepositoryRuleset
A set of rules to apply when specified conditions are met
Fields
- links? RepositoryRulesetLinks - Hypermedia links for navigating related ruleset resources.
- enforcement RepositoryRuleEnforcement - The enforcement level of the ruleset.
- createdAt? string - Timestamp when the ruleset was created.
- sourceType? "Repository"|"Organization" - The type of the source of the ruleset
- rules? RepositoryRule[] - The list of rules included in this ruleset.
- 'source string - The name of the source
- target? "branch"|"tag" - The target of the ruleset
- bypassActors? RepositoryRulesetBypassActor[] - The actors that can bypass the rules in this ruleset
- updatedAt? string - Timestamp when the ruleset was last updated.
- currentUserCanBypass? "always"|"pull_requests_only"|"never" - The bypass type of the user making the API request for this ruleset. This field is only returned when querying the repository-level endpoint
- name string - The name of the ruleset
- id int - The ID of the ruleset
- conditions? RepositoryRulesetConditions|OrgRulesetConditions - The conditions that determine when this ruleset applies.
- nodeId? string - The GraphQL node ID of the ruleset.
github: RepositoryRulesetBypassActor
An actor that can bypass rules in a ruleset
Fields
- actorType "RepositoryRole"|"Team"|"Integration"|"OrganizationAdmin" - The type of actor that can bypass a ruleset
- bypassMode "always"|"pull_request" - When the specified actor can bypass the ruleset. pull_request means that an actor can only bypass rules on pull requests
- actorId int - The ID of the actor that can bypass a ruleset. If actor_type is OrganizationAdmin, this should be 1
github: RepositoryRulesetConditions
Parameters for a repository ruleset ref name condition
Fields
- refName? RepositoryRulesetConditionsRefName - Conditions specifying which ref names this ruleset applies to.
github: RepositoryRulesetConditionsRefName
Fields
- include? string[] - Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches
- exclude? string[] - Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match
github: RepositoryRulesetConditionsRepositoryIdTarget
Parameters for a repository ID condition
Fields
- repositoryId RepositoryRulesetConditionsRepositoryIdTargetRepositoryId - The repository ID condition parameters for the ruleset.
github: RepositoryRulesetConditionsRepositoryIdTargetRepositoryId
Fields
- repositoryIds? int[] - The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass
github: RepositoryRulesetConditionsRepositoryNameTarget
Parameters for a repository name condition
Fields
- repositoryName RepositoryRulesetConditionsRepositoryNameTargetRepositoryName - Conditions targeting repositories by their name pattern.
github: RepositoryRulesetConditionsRepositoryNameTargetRepositoryName
Fields
- include? string[] - Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~ALL to include all repositories
- protected? boolean - Whether renaming of target repositories is prevented
- exclude? string[] - Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match
github: RepositoryRulesetLinks
Fields
- self? RepositoryRulesetLinksSelf - The API link to this ruleset resource.
- html? RepositoryRulesetLinksHtml - The HTML link to view this ruleset on GitHub.
github: RepositoryRulesetLinksHtml
Fields
- href? string - The html URL of the ruleset
github: RepositoryRulesetLinksSelf
Fields
- href? string - The URL of the ruleset
github: RepositoryRuleTagNamePattern
Parameters to be used for the tag_name_pattern rule
Fields
- 'type "tag_name_pattern" - Identifies this rule as a tag name pattern rule.
- parameters? RepositoryRuleBranchNamePatternParameters - The pattern parameters applied to tag name matching.
github: RepositoryRuleUpdate
Only allow users with bypass permission to update matching refs
Fields
- 'type "update" - The rule type, always 'update' for this rule.
- parameters? RepositoryRuleUpdateParameters - Parameters for the update rule configuration.
github: RepositoryRuleUpdateParameters
Fields
- updateAllowsFetchAndMerge boolean - Branch can pull changes from its upstream repository
github: RepositorySubscription
Repository invitations let you manage who you collaborate with
Fields
- subscribed boolean - Determines if notifications should be received from this repository
- ignored boolean - Determines if all notifications should be blocked from this repository
- reason string? - The reason for the subscription to this repository.
- createdAt string - The date and time when the subscription was created.
- repositoryUrl string - API URL for the subscribed repository.
- url string - API URL for this subscription.
github: RepositoryTemplateRepository
The template repository from which this repository was created
Fields
- stargazersCount? int - The number of users who have starred the repository.
- isTemplate? boolean - Whether the repository is a template repository.
- pushedAt? string - The timestamp of the most recent push to the repository.
- subscriptionUrl? string - The API URL for managing repository subscriptions.
- language? string - The primary programming language used in the repository.
- branchesUrl? string - The API URL template for the repository's branches.
- issueCommentUrl? string - The API URL template for the repository's issue comments.
- allowRebaseMerge? boolean - Whether rebase-merging pull requests is allowed.
- labelsUrl? string - The API URL template for the repository's labels.
- subscribersUrl? string - The API URL for the repository's subscribers.
- permissions? RepositoryTemplateRepositoryPermissions - The permissions the authenticated user has on this repository.
- tempCloneToken? string - A temporary token used for cloning the repository.
- releasesUrl? string - The API URL template for the repository's releases.
- svnUrl? string - The Subversion URL for accessing the repository.
- squashMergeCommitMessage? "PR_BODY"|"COMMIT_MESSAGES"|"BLANK" - The default value for a squash merge commit message:
- PR_BODY - default to the pull request's body.
- COMMIT_MESSAGES - default to the branch's commit messages.
- BLANK - default to a blank commit message
- subscribersCount? int - The number of users watching the repository.
- id? int - The unique identifier of the repository.
- archiveUrl? string - The API URL template for downloading repository archives.
- allowMergeCommit? boolean - Whether merging pull requests with a merge commit is allowed.
- gitRefsUrl? string - The API URL template for the repository's Git refs.
- forksUrl? string - The API URL for the repository's forks.
- visibility? string - The visibility level of the repository.
- statusesUrl? string - The API URL template for the repository's commit statuses.
- networkCount? int - The number of repositories in the network.
- sshUrl? string - The SSH URL used to clone the repository.
- fullName? string - The full repository name including owner and repository name.
- size? int - The size of the repository in kilobytes.
- allowAutoMerge? boolean - Whether auto-merge is allowed on pull requests.
- languagesUrl? string - The API URL for the repository's language breakdown.
- htmlUrl? string - The URL of the repository page on GitHub.
- collaboratorsUrl? string - The API URL template for the repository's collaborators.
- cloneUrl? string - The HTTPS URL used to clone the repository.
- name? string - The name of the repository.
- pullsUrl? string - The API URL template for the repository's pull requests.
- defaultBranch? string - The name of the repository's default branch.
- hooksUrl? string - The API URL for the repository's webhooks.
- treesUrl? string - The API URL template for the repository's Git trees.
- tagsUrl? string - The API URL for the repository's tags.
- 'private? boolean - Whether the repository is private.
- contributorsUrl? string - The API URL for the repository's contributors.
- hasDownloads? boolean - Whether the repository has downloads enabled.
- notificationsUrl? string - The API URL template for the repository's notifications.
- openIssuesCount? int - The number of open issues in the repository.
- description? string - The description of the repository.
- createdAt? string - The timestamp when the repository was created.
- deploymentsUrl? string - The API URL for the repository's deployments.
- keysUrl? string - The API URL template for the repository's deploy keys.
- hasProjects? boolean - Whether projects are enabled for the repository.
- archived? boolean - Whether the repository is archived.
- hasWiki? boolean - Whether the wiki is enabled for the repository.
- updatedAt? string - The timestamp when the repository was last updated.
- mergeCommitTitle? "PR_TITLE"|"MERGE_MESSAGE" - The default value for a merge commit title.
- PR_TITLE - default to the pull request's title.
- MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)
- commentsUrl? string - The API URL template for the repository's comments.
- stargazersUrl? string - The API URL for the repository's stargazers.
- disabled? boolean - Whether the repository is disabled.
- deleteBranchOnMerge? boolean - Whether branches are automatically deleted after pull request merges.
- gitUrl? string - The Git URL used to access the repository.
- hasPages? boolean - Whether GitHub Pages is enabled for the repository.
- owner? RepositoryTemplateRepositoryOwner - The owner of the template repository.
- allowSquashMerge? boolean - Whether squash-merging pull requests is allowed.
- commitsUrl? string - The API URL template for the repository's commits.
- compareUrl? string - The API URL template for comparing branches or commits.
- gitCommitsUrl? string - The API URL template for the repository's Git commits.
- topics? string[] - The list of topics associated with the repository.
- blobsUrl? string - The API URL template for the repository's Git blobs.
- allowUpdateBranch? boolean - Whether pull request branches can be updated even if not required.
- gitTagsUrl? str