Skip to content

Commit

Permalink
add ghec version to graphql guides (github#22314)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachmari authored Oct 22, 2021
1 parent da419fd commit 1570dc6
Show file tree
Hide file tree
Showing 37 changed files with 131,291 additions and 5 deletions.
2 changes: 1 addition & 1 deletion content/admin/overview/about-enterprise-accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ For more information about billing for {% ifversion ghec %}{% data variables.pro

## Further reading

- "[Enterprise accounts](/free-pro-team@latest/graphql/guides/managing-enterprise-accounts)" in the GraphQL API documentation
- "[Enterprise accounts](/graphql/guides/managing-enterprise-accounts)" in the GraphQL API documentation
1 change: 1 addition & 0 deletions content/graphql/guides/forming-calls-with-graphql.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ redirect_from:
- /graphql/guides/forming-calls
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/guides/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/guides
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/guides/introduction-to-graphql.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ redirect_from:
- /graphql/guides/intro-to-graphql
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
8 changes: 4 additions & 4 deletions content/graphql/guides/managing-enterprise-accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ intro: You can manage your enterprise account and the organizations it owns with
redirect_from:
- /v4/guides/managing-enterprise-accounts
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down Expand Up @@ -58,12 +58,12 @@ For some example queries, see "[An example query using the Enterprise Accounts A
- `admin:enterprise`

The enterprise account specific scopes are:
- `admin:enterprise`: Gives full control of enterprises (includes {% ifversion ghes > 3.2 or fpt or ghae or ghec %}`manage_runners:enterprise`, {% endif %}`manage_billing:enterprise` and `read:enterprise`)
- `manage_billing:enterprise`: Read and write enterprise billing data.{% ifversion ghes > 3.2 or fpt or ghae %}
- `admin:enterprise`: Gives full control of enterprises (includes {% ifversion ghes > 3.2 or ghae or ghec %}`manage_runners:enterprise`, {% endif %}`manage_billing:enterprise` and `read:enterprise`)
- `manage_billing:enterprise`: Read and write enterprise billing data.{% ifversion ghes > 3.2 or ghae %}
- `manage_runners:enterprise`: Access to manage GitHub Actions enterprise runners and runner-groups.{% endif %}
- `read:enterprise`: Read enterprise profile data.

4. Copy your personal access token and keep it in a secure place until you add it to your GraphQL client.
3. Copy your personal access token and keep it in a secure place until you add it to your GraphQL client.

### 2. Choose a GraphQL client

Expand Down
1 change: 1 addition & 0 deletions content/graphql/guides/migrating-from-rest-to-graphql.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ redirect_from:
- /graphql/guides/migrating-from-rest
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/guides/using-global-node-ids.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/guides/using-global-node-ids
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/guides/using-the-explorer.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/guides/using-the-explorer
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ redirect_from:
- /v4
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
children:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/overview/about-the-graphql-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: About the GraphQL API
intro: 'The {% data variables.product.prodname_dotcom %} GraphQL API offers flexibility and the ability to define precisely the data you want to fetch.'
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/overview/breaking-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/breaking_changes
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/overview/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/changelog
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/overview/explorer.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/explorer-new
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
layout: graphql-explorer
Expand Down
1 change: 1 addition & 0 deletions content/graphql/overview/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Overview
intro: 'Learn about the {% data variables.product.prodname_dotcom %} GraphQL API, previews for upcoming changes, breaking changes, and limitations. You can also use the GraphQL Explorer to interact with the API on real {% data variables.product.prodname_dotcom %} data.'
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
children:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/overview/public-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/public_schema
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/overview/resource-limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/guides/resource-limitations
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/overview/schema-previews.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/previews
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/reference/enums.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/reference/enum
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/reference
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
children:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/reference/input-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/reference/input_object
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/reference/interfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/reference/interface
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/reference/mutations.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/reference/mutation
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/reference/objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/reference/object
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/reference/queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ redirect_from:
- /v4/reference/query
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/reference/scalars.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/reference/scalar
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
1 change: 1 addition & 0 deletions content/graphql/reference/unions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /v4/reference/union
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
Expand Down
147 changes: 147 additions & 0 deletions data/graphql/ghec/graphql_previews.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
- title: Access to package version deletion
description: >-
This preview adds support for the DeletePackageVersion mutation which
enables deletion of private package versions.
toggled_by: ':package-deletes-preview'
announcement: null
updates: null
toggled_on:
- Mutation.deletePackageVersion
owning_teams:
- '@github/pe-package-registry'
- title: Deployments
description: >-
This preview adds support for deployments mutations and new deployments
features.
toggled_by: ':flash-preview'
announcement: null
updates: null
toggled_on:
- DeploymentStatus.environment
- Mutation.createDeploymentStatus
- CreateDeploymentStatusInput
- CreateDeploymentStatusPayload
- Mutation.createDeployment
- CreateDeploymentInput
- CreateDeploymentPayload
owning_teams:
- '@github/c2c-actions-service'
- title: >-
MergeInfoPreview - More detailed information about a pull request's merge
state.
description: >-
This preview adds support for accessing fields that provide more detailed
information about a pull request's merge state.
toggled_by: ':merge-info-preview'
announcement: null
updates: null
toggled_on:
- PullRequest.canBeRebased
- PullRequest.mergeStateStatus
owning_teams:
- '@github/pe-pull-requests'
- title: UpdateRefsPreview - Update multiple refs in a single operation.
description: This preview adds support for updating multiple refs in a single operation.
toggled_by: ':update-refs-preview'
announcement: null
updates: null
toggled_on:
- Mutation.updateRefs
- GitRefname
- RefUpdate
- UpdateRefsInput
- UpdateRefsPayload
owning_teams:
- '@github/reponauts'
- title: Access to a Repositories Dependency Graph
description: This preview adds support for reading a dependency graph for a repository.
toggled_by: ':hawkgirl-preview'
announcement: null
updates: null
toggled_on:
- DependencyGraphManifest
- Repository.dependencyGraphManifests
- DependencyGraphManifestEdge
- DependencyGraphManifestConnection
- DependencyGraphDependency
- DependencyGraphDependencyEdge
- DependencyGraphDependencyConnection
- DependencyGraphPackageRelease.dependencies
owning_teams:
- '@github/dsp-dependency-graph'
- title: Project Event Details
description: >-
This preview adds project, project card, and project column details to
project-related issue events.
toggled_by: ':starfox-preview'
announcement: null
updates: null
toggled_on:
- AddedToProjectEvent.project
- AddedToProjectEvent.projectCard
- AddedToProjectEvent.projectColumnName
- ConvertedNoteToIssueEvent.project
- ConvertedNoteToIssueEvent.projectCard
- ConvertedNoteToIssueEvent.projectColumnName
- MovedColumnsInProjectEvent.project
- MovedColumnsInProjectEvent.projectCard
- MovedColumnsInProjectEvent.projectColumnName
- MovedColumnsInProjectEvent.previousProjectColumnName
- RemovedFromProjectEvent.project
- RemovedFromProjectEvent.projectColumnName
owning_teams:
- '@github/github-projects'
- title: Create content attachments
description: This preview adds support for creating content attachments.
toggled_by: ':corsair-preview'
announcement: null
updates: null
toggled_on:
- Mutation.createContentAttachment
owning_teams:
- '@github/feature-lifecycle'
- title: Labels Preview
description: >-
This preview adds support for adding, updating, creating and deleting
labels.
toggled_by: ':bane-preview'
announcement: null
updates: null
toggled_on:
- Mutation.createLabel
- CreateLabelPayload
- CreateLabelInput
- Mutation.deleteLabel
- DeleteLabelPayload
- DeleteLabelInput
- Mutation.updateLabel
- UpdateLabelPayload
- UpdateLabelInput
owning_teams:
- '@github/pe-pull-requests'
- title: Import Project
description: This preview adds support for importing projects.
toggled_by: ':slothette-preview'
announcement: null
updates: null
toggled_on:
- Mutation.importProject
owning_teams:
- '@github/pe-issues-projects'
- title: Team Review Assignments Preview
description: >-
This preview adds support for updating the settings for team review
assignment.
toggled_by: ':stone-crop-preview'
announcement: null
updates: null
toggled_on:
- Mutation.updateTeamReviewAssignment
- UpdateTeamReviewAssignmentInput
- TeamReviewAssignmentAlgorithm
- Team.reviewRequestDelegationEnabled
- Team.reviewRequestDelegationAlgorithm
- Team.reviewRequestDelegationMemberCount
- Team.reviewRequestDelegationNotifyTeam
owning_teams:
- '@github/pe-pull-requests'
Loading

0 comments on commit 1570dc6

Please sign in to comment.