originally posted in:BungieNetPlatform
View Entire Topic
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?
English
#Help
-
The field you need is indeed transferStatus. 0 = unequipped 1 = equipped 2 = non-transferrable unequipped (i.e. subclasses, etc.) 3 = non-transferrable equipped