[API] Trying to get a specific character's parses from a specific report

Hello!

I’m trying to query the GraphQL API to return all the parses of a specific character from a specific report.

Right now my query looks like this:

query($reportId: String) {
  reportData {
    report(code: $reportId) {
      fights(difficulty: 3, killType: Kills) {
        name
        encounterID
      }
    }
  }
}

I have the report code that I’m passing in through a variable.
Assuming I already have the canonical ID of the character (or at least a way to retrieve whatever character data I need) - how would I get a filtered response from the API that includes the parses of that character for all of the filtered fights from this query?

Thank you to whoever can help!

Found that I can query the rankings from the report, which returns the ranking for every character, and then can just filter it on my end. The query would look like:

query($reportId: String) {
  reportData {
    report(code: $reportId) {
      fights(difficulty: 3, killType: Kills) {
        name
        id
        encounterID
      }
      rankings(compare: Parses, playerMetric: dps, difficulty: 3)
    }
  }
} 

If anyone has a better way of going about it, that’d be greatly appreciated!