Skip to content

Latest commit

 

History

History
71 lines (36 loc) · 2.38 KB

README.md

File metadata and controls

71 lines (36 loc) · 2.38 KB

graphql

There are some GraphQL queries here, but most of them have been moved to gh cli queries here.

See the how to do pagination page for more information on how to do pagination.

Also great resource here for additional GraphQL queries.

create-organization.sh

Creates the organization - you just need to pass in the enterprise ID (obtained above) along with billing email, admin logins, and organization name.

Documentation

download-latest-version-from-github-packages.sh

Script to download a file from the latest version of a GitHub Package

Documentation

download-specific-version-from-github-packages

Script to download a file from a specific version of a GitHub Package

Documentation

get-enterprise-id.sh

Get the enterprise ID used for other GraphQL calls. Use the URL slug not the friendly name of the Enterprise.

Documentation

get-issue-id.sh

Get an issue ID - needed for transferring an issue, for example

Documentation

get-organization.sh

Gets an organization

Documentation

get-repository-id.sh

Gets a repository ID

Documentation

get-saml-identities-in-enterprise.sh

Retrieves the SAML linked identity of a user in a GitHub organization.

PAT scope required: admin:enterprise

Documentation

get-saml-identities-in-org.sh

Retrieves the SAML linked identity of a user in a GitHub organization.

PAT scope required: admin:org

Documentation

transfer-issue.sh

Mutation to transfer an issue to a new repository

Documentation