Skip to content

Commit b9ccfe4

Browse files
committed
updating graphql
1 parent 4b56745 commit b9ccfe4

File tree

5 files changed

+3
-24
lines changed

5 files changed

+3
-24
lines changed

graphql/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# graphql
22

3-
Some of the queries are provided as `.json` files, such as `list-enterprise-id.json` and `create-organization.json`. To use `post_gql.sh` to call GraphQL query, use this as an example:
4-
5-
```bash
6-
./post_gql.sh --file list-enterprise-id.json --pat xxx
7-
```
3+
There are some GraphQL queries here, but **most of them have been moved to `gh cli` queries [here](../gh-cli/)**.
84

95
See the [how to do pagination](how-to-do-pagination.md) page for more information on how to do pagination.
106

graphql/create-organization.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

graphql/get-enterprise-id.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

graphql/how-to-do-pagination.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ See:
44

55
https://graphql.org/learn/pagination/#complete-connection-model
66

7+
To see how to do pagination in `gh api` call, see this as an example: [link](../gh-cli/get-enterprise-organizations.sh)
78

8-
For example, this GraphQL command only retreives 1 user, but there are more than 1 user in our Organization:
9+
For example, this GraphQL command only retrieves 1 user, but there are more than 1 user in our Organization:
910

1011
Query:
1112

graphql/post_gql.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)