-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update graphql_cookbook.md #2235
base: main
Are you sure you want to change the base?
Conversation
Since cluster is newer features. No information about it in Graphql cookbook. I have added queries to create, update and delete a queue
Preview URL: https://2235--bk-docs-preview.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few style updates to apply to each new entry :)
## Clusters | ||
|
||
A collection of common tasks with clusters using the GraphQL API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note, coordinate this with #2329. I think that one will merge first.
|
||
### Create a queue | ||
|
||
Creates a new queue in a cluster |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style: Make this a full sentence and use punctuation to link it to the example.
Creates a new queue in a cluster | |
Create a new queue in a cluster using the following call: |
^ This applies to each entry.
organizationId: "T3JnYW5pemF0aW9uLS0tZDZmNzU1NTEtZTM2OC00NzNmLTk1YzctNmFlOWU1OTNkOWU2", | ||
clusterId: "Q2x1c3Rlci0tLWU3YWFjN2Q3LTg2ZmYtNDJjZi04NzYyLTM0ZjAwY2Q5MWRkOQ==" | ||
key: "Default", | ||
description: "The default queue" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make it clearer that these values need to be replaced:
organizationId: "T3JnYW5pemF0aW9uLS0tZDZmNzU1NTEtZTM2OC00NzNmLTk1YzctNmFlOWU1OTNkOWU2", | |
clusterId: "Q2x1c3Rlci0tLWU3YWFjN2Q3LTg2ZmYtNDJjZi04NzYyLTM0ZjAwY2Q5MWRkOQ==" | |
key: "Default", | |
description: "The default queue" | |
organizationId: "org-id", | |
clusterId: "cluster-id" | |
key: "queue-key", | |
description: "queue-description" |
^ Applies to each entry.
deletedClusterQueueId | ||
} | ||
} | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include a blank line between the codeblock and heading:
``` | |
``` | |
Since cluster is newer features. No information about it in Graphql cookbook. I have added queries to create, update and delete a queue