GraphQL API: given object id bring commits that it belongs

We need to fetch all the commits that an object id belongs to. Is it possible to have this ?

query ( object: myId) { belongingcommits : {commit1 id , commit2 id , … })

1 Like

Hi @Dimitrios.Ververidis, I’m afraid that’s not possible from the API currently, though it’s a valid request. The way currently would be to go the other way around, and check inside a commit’s referencedObject's closure prop if it includes your object id.