Hello, I have been tinkering with API v2, mostly with report events so far. I’m not sure if I’m missing something but I get unexpected results using arguments for specific abilityID and sourceID (player), for example:
query getReportData {
reportData {
report (code: "6wHJbdWhMZv3Gjqk") {
title
startTime
endTime
events (
startTime: 168656,
endTime: 14487474,
abilityID: 23894,
sourceID: 8
) {
data
nextPageTimestamp
}
}
}
}
I end up with an assortment of abilities and sources. However, if I scrap those arguments and just use filterExpression I end up with exactly what I am looking for, granted I need to use source.name in the expression (unsure if able to use id, doesnt seem to work):
query getReportData {
reportData {
report (code: "6wHJbdWhMZv3Gjqk") {
title
startTime
endTime
events (
startTime: 168656,
endTime: 14487474,
filterExpression: "ability.id = 23894 AND source.name = \"Ap\""
) {
data
nextPageTimestamp
}
}
}
}
Now for some reason this result set is paginated despite being quite small compared to the previous example. But, it does perfectly match the web report for ability usage by this player.
Am I using the arguments incorrectly in my first example?