Page MenuHomeSoftware Heritage
Paste P449

graphql query
ActivePublic

Authored by vlorentz on Jun 25 2019, 4:42 PM.
query {
origins(urls: ["https://github.com/SoftwareHeritage/swh-model"]) {
id
type
url
visits {
date
snapshot {
swh_pid
objects {
__typename
... on Snapshot {
branches(names: ["HEAD", "refs/heads/master"]) {
name
target {
swh_pid
}
}
}
}
}
}
}
}