TIL Get GraphQL Snippets via GitLab GraphQL API
Here is how to get started retrieving the public snippets for a particular user:
query {
user(username: "brie") {
snippets(visibility: public) {
edges {
node {
id
title
rawUrl
}
}
}
}
}
The GraphQL Explorer will let you get started with that query today. 🌇
ℹ️ About this TIL snippet: Created 2022-12-26T21:56:49-05:00 · View the source