Page MenuHomeSoftware Heritage
Paste P1305

GraphQL query example
ActivePublic

Authored by jayeshv on Mar 8 2022, 9:16 AM.
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
}
}
}