Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P1305
GraphQL query example
Active
Public
Actions
Authored by
jayeshv
on Mar 8 2022, 9:16 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
query test {
origin(url: "https://github.com/python/cpython") {
id
url
visits(first: 2) {
edges {
node {
id
}
cursor
}
nodes {
id
origin {
url
id
}
status {
nodes {
id
snapshot {
id
branches {
nodes {
id
name
}
}
}
}
}
}
}
}
origins(first: 2) {
nodes {
id
url
}
pageInfo {
hasNextPage
endCursor
}
}
}
Event Timeline
jayeshv
created this paste.
Mar 8 2022, 9:16 AM
2022-03-08 09:16:15 (UTC+1)
Log In to Comment