Page MenuHomeSoftware Heritage
Paste P1326

graphql-sample1
ActivePublic

Authored by jayeshv on Apr 1 2022, 3:36 PM.
query testquery {
origin(url: "https://github.com/python/cpython") {
url
id
visits(first: 2, after: "Mg==") {
pageInfo {
endCursor
hasNextPage
}
nodes {
id
date
status(first:1) {
nodes {
date
snapshot {
id
branches {
nodes {
name
type
}
}
}
}
}
}
}
}
origins(first:2) {
edges {
node {
url
}
}
}
visit(originUrl: "https://github.com/python/cpython", id: "1") {
date
}
snapshot(SWHId: "94762a5dfe3da1a9780338472617c0a573f6f8e4") {
id
}
}