How can I retrieve a fight's Resources (HP) using API v2?

I’m trying to obtain a specific user’s HP state as shown on this page:

Although the page is accessed via a URL, the API query is made using GraphQL. I noticed that when setting dataType: Resources for the graph or table in the reportData-report, no data is returned. It seems that events is necessary instead.

I made a GraphQL query using sourceID: 3 (for the mage) based on the URL parameters, but I’m not receiving any data. How can I retrieve the Resources for a specific user?

ex)

graphql

{
reportData {
report(code: “2TDjkMqYv7FaLmJH”) {
events(
dataType: Resources
fightIDs: 2
startTime: 5577360
endTime: 5731105
sourceID: 3

includeResources: true

  ) {
    data
  }
}

}
}

Heya,

I sent you a Discord link in your ticket, you can ask the team there and we’ll get you an answer!

Azrael.

I’ve come across the same issue but for FFLOGS. Did you find any resolution?

Ask in the FFLOGS discord, please. It’s the better place to ask API related questions.

Az