JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

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

Request Join
originally posted in:BungieNetPlatform
1/16/2017 10:27:11 AM
1

Determine if item is equipped

Reading through the official API docs I can see that the following is deprecated /{membershipType}/Account/{destinyMembershipId}/Character/{characterId}/Inventory/ This could be used to list items held by a character and would return an "isEquipped" flag as part of an items json. The new uri to call is /{membershipType}/Account/{destinyMembershipId}/Character/{characterId}/Inventory/Summary/ however this returns a much smaller set of data {"itemHash":2224632548,"itemId":"6917529086837846649","quantity":1,"damageType":0,"damageTypeHash":0,"isGridComplete":false,"transferStatus":2,"state":0,"characterIndex":0,"bucketHash":1801258597} My question is how using only this new uri do I determine if an item is equipped? One pattern I have spotted is that transferStatus is often 1 when an item is equipped, but I have also seen other values of 2 and 3.. Any idea what these other values mean?

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