Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active April 2, 2023 10:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dacr/08bfbe28ea42368eaa42d0d11ebab2e2 to your computer and use it in GitHub Desktop.
Save dacr/08bfbe28ea42368eaa42d0d11ebab2e2 to your computer and use it in GitHub Desktop.
get current user github snippets / published by https://github.com/dacr/code-examples-manager #da68b3a1-9ae6-4bc0-8165-f14aceaa9897/46e951a460116aa79841e8a788f4fc1b7ef65e4e
## summary : get current user github snippets
## keywords : gitlab, snippets, graphql
## publish : gist
## authors : David Crosson
## license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
## id : da68b3a1-9ae6-4bc0-8165-f14aceaa9897
## created-on : 2021-04-19T14:35:46Z
## managed-by : https://github.com/dacr/code-examples-manager
# schema specs => https://docs.github.com/public/schema.docs.graphql
# -----------------------------------------------------------------------------
{
viewer {
gists(first:5) {
nodes { id description }
pageInfo { endCursor startCursor }
}
}
}
# -----------------------------------------------------------------------------
{
viewer {
gists(first:100) {
nodes { id description
files(limit:2) {
name
}
}
pageInfo { endCursor startCursor }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment