Skip to content

Commit

Permalink
getRules GraphQL Rules cookbook indent fix
Browse files Browse the repository at this point in the history
  • Loading branch information
james2791 committed Sep 11, 2024
1 parent 992cb1f commit 4024aca
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions pages/apis/graphql/cookbooks/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,36 @@ You can test out the Buildkite GraphQL API using the [Buildkite explorer](https:
Get the first 10 rules and their information for an organization.

```graphql
query getRules {
organization(slug: "organization-slug") {
rules(first: 10) {
edges {
node {
id
type
targetType
sourceType
source {
... on Pipeline {
slug
}
}
target {
... on Pipeline {
slug
}
query getRules {
organization(slug: "organization-slug") {
rules(first: 10) {
edges {
node {
id
type
targetType
sourceType
source {
... on Pipeline {
slug
}
effect
action
createdBy {
id
name
}
target {
... on Pipeline {
slug
}
}
effect
action
createdBy {
id
name
}
}
}
}
}
}
```

## Create a rule
Expand Down

0 comments on commit 4024aca

Please sign in to comment.