Skip to content

Commit

Permalink
Merge pull request #2487 from buildkite/buildkite-docs-bot/graphql/64…
Browse files Browse the repository at this point in the history
…515585

Update GraphQL docs
  • Loading branch information
dannymidnight authored Sep 20, 2023
2 parents 81e1f21 + af083c5 commit 11dd3da
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 182 deletions.
56 changes: 12 additions & 44 deletions data/graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -4085,16 +4085,6 @@ type Mutation {
input: OrganizationAPIIPAllowlistUpdateMutationInput!
): OrganizationAPIIPAllowlistUpdateMutationPayload

"""
Create a System banner within an organization
"""
organizationBannerCreate(
"""
Parameters for OrganizationBannerCreate
"""
input: OrganizationBannerCreateInput!
): OrganizationBannerCreatePayload

"""
Delete a System banner
"""
Expand All @@ -4106,14 +4096,16 @@ type Mutation {
): OrganizationBannerDeletePayload

"""
Update System banner within an organization
Retrieves the active system banner for provided organization, then updates it
with input data. If active banner is not found, a new banner is created with
the provided input.
"""
organizationBannerUpdate(
organizationBannerUpsert(
"""
Parameters for OrganizationBannerUpdate
Parameters for OrganizationBannerUpsert
"""
input: OrganizationBannerUpdateInput!
): OrganizationBannerUpdatePayload
input: OrganizationBannerUpsertInput!
): OrganizationBannerUpsertPayload

"""
Sets whether the organization requires two-factor authentication for all members.
Expand Down Expand Up @@ -5380,30 +5372,6 @@ type OrganizationBannerConnection {
pageInfo: PageInfo!
}

"""
Autogenerated input type of OrganizationBannerCreate
"""
input OrganizationBannerCreateInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
message: String!
organizationId: ID!
}

"""
Autogenerated return type of OrganizationBannerCreate.
"""
type OrganizationBannerCreatePayload {
banner: OrganizationBanner!

"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
}

"""
Autogenerated input type of OrganizationBannerDelete
"""
Expand Down Expand Up @@ -5442,21 +5410,21 @@ type OrganizationBannerEdge {
}

"""
Autogenerated input type of OrganizationBannerUpdate
Autogenerated input type of OrganizationBannerUpsert
"""
input OrganizationBannerUpdateInput {
input OrganizationBannerUpsertInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
id: ID!
message: String!
organizationId: ID!
}

"""
Autogenerated return type of OrganizationBannerUpdate.
Autogenerated return type of OrganizationBannerUpsert.
"""
type OrganizationBannerUpdatePayload {
type OrganizationBannerUpsertPayload {
banner: OrganizationBanner!

"""
Expand Down
18 changes: 6 additions & 12 deletions data/nav_graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,10 @@
path: apis/graphql/schemas/mutation/organizationapiaccesstokenrevoke
- name: organizationApiIpAllowlistUpdate
path: apis/graphql/schemas/mutation/organizationapiipallowlistupdate
- name: organizationBannerCreate
path: apis/graphql/schemas/mutation/organizationbannercreate
- name: organizationBannerDelete
path: apis/graphql/schemas/mutation/organizationbannerdelete
- name: organizationBannerUpdate
path: apis/graphql/schemas/mutation/organizationbannerupdate
- name: organizationBannerUpsert
path: apis/graphql/schemas/mutation/organizationbannerupsert
- name: organizationEnforceTwoFactorAuthenticationForMembersUpdate
path: apis/graphql/schemas/mutation/organizationenforcetwofactorauthenticationformembersupdate
- name: organizationInvitationCreate
Expand Down Expand Up @@ -463,14 +461,12 @@
path: apis/graphql/schemas/object/organizationbanner
- name: OrganizationBannerConnection
path: apis/graphql/schemas/object/organizationbannerconnection
- name: OrganizationBannerCreatePayload
path: apis/graphql/schemas/object/organizationbannercreatepayload
- name: OrganizationBannerDeletePayload
path: apis/graphql/schemas/object/organizationbannerdeletepayload
- name: OrganizationBannerEdge
path: apis/graphql/schemas/object/organizationbanneredge
- name: OrganizationBannerUpdatePayload
path: apis/graphql/schemas/object/organizationbannerupdatepayload
- name: OrganizationBannerUpsertPayload
path: apis/graphql/schemas/object/organizationbannerupsertpayload
- name: OrganizationConnection
path: apis/graphql/schemas/object/organizationconnection
- name: OrganizationEdge
Expand Down Expand Up @@ -973,12 +969,10 @@
path: apis/graphql/schemas/input-object/organizationapiaccesstokenrevokemutationinput
- name: OrganizationAPIIPAllowlistUpdateMutationInput
path: apis/graphql/schemas/input-object/organizationapiipallowlistupdatemutationinput
- name: OrganizationBannerCreateInput
path: apis/graphql/schemas/input-object/organizationbannercreateinput
- name: OrganizationBannerDeleteInput
path: apis/graphql/schemas/input-object/organizationbannerdeleteinput
- name: OrganizationBannerUpdateInput
path: apis/graphql/schemas/input-object/organizationbannerupdateinput
- name: OrganizationBannerUpsertInput
path: apis/graphql/schemas/input-object/organizationbannerupsertinput
- name: OrganizationEnforceTwoFactorAuthenticationForMembersUpdateMutationInput
path: apis/graphql/schemas/input-object/organizationenforcetwofactorauthenticationformembersupdatemutationinput
- name: OrganizationInvitationCreateInput
Expand Down

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 0 additions & 39 deletions pages/apis/graphql/schemas/mutation/organizationbannercreate.md

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pages/apis/graphql/schemas/object/mutation.md

Large diffs are not rendered by default.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 11dd3da

Please sign in to comment.