Hello
I’m new here, so this may not be the best/correct
way to go about this…
We found that if you get a referencedObject
out of a commit, then query that object and all it’s children to a sufficient depth/count, then you end up with all objects:
First query:
query getStream ($id: String!, $branchName: String!) {
stream (id: $id) {
id
branch(name: $branchName) {
commits {
items {
id
branchName
referencedObject
totalChildrenCount
}
}
}
}
}
Second query:
query getStream ($id: String!, $objectId: String!, $childCount: Int!) {
stream (id: $id) {
id
name
object(id: $objectId) {
id
children(limit: $childCount, depth: 100) {
objects {
id
data
}
}
}
}
}
The correct
way is probably to switch over to the REST API
Good luck