[API] Fights sometimes does not send "exportedCharacters" in response


Could you please clarify what is the behavior for “exportedCharacters” field.

  1. For which reports it is populated and for which is not?
  2. Why there is a difference for same players in friendlies.guid and exportedCharacters.guid ?

Example with fully populated exportedCharacters: https://www.warcraftlogs.com/v1/report/fights/vLgBc1fQYRwyX4xq?translate=true&api_key=***
Example with partly populated exportedCharacters (missing player with friendlies.guid = 126347801): https://www.warcraftlogs.com/v1/report/fights/Zzy1JWrbDBwvxLK9?translate=true&api_key=***
Example without exportedCharacters: https://www.warcraftlogs.com:443/v1/report/fights/TKzr8BcjDbgpvCHQ?translate=true&api_key=***

PS. if this field is used for marking players who was exported to ranks on kill, I need a way to get player’s server name also in case of wipe.
PS2. what is the format on player name for API [/reports/user/{userName}] ?

I can modify the API to just attach server names to the participants themselves. Exported Characters is more about rankings, so is not really what you want.

The reports/user API is not about player names. Those are WCL user names. That lets you get to a specific WCL user’s personal logs.

It would be great if server name will be part of “friendlies” objects :slight_smile: Thanks for quick answer

It should be now.