JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

"Updates, discussions, and documentation of the BungieNetPlatform API."

Request Join
originally posted in:BungieNetPlatform
3/14/2016 3:02:59 AM
2

Outdated info from EquipItems

Over on Destiny Item Manager, we're trying to be a little more efficient by using the EquipItems API instead of EquipItem. With the latter, we have to follow up with a call to get account info in order to update light level and stats, wheras EquipItems promises to provide that info as part of the equip response. However, what I've noticed in testing is that the character info returned by EquipItems doesn't always reflect the updated stats from equipping item(s). So, for example, if I have a 3-defense Ghost Shell equipped, and I equip a 320-defense shell in its place, the returned character info still has the same light level, instead of a higher light level. Same with int/dis/str stats. This doesn't always happen - sometimes I do get the updated stats. Sounds like a read-after-write eventual consistency or caching problem to me, but I don't know the inner workings of the API. :-) /cc @VThornheart

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

View Entire Topic
  • I have updated the [url=http://destinydevs.github.io/BungieNetPlatform/docs/DestinyService/EquipItems]EquipItems page[/url] to reflect this discussion. :)

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

You are not allowed to view this content.
;
preload icon
preload icon
preload icon