originally posted in:BungieNetPlatform
probably a stupid question, but can you affect changes to characters through the API?
I noticed an "equip" button on some items in the Bungie web app, but it doesn't have any affect
would love to write an app that lets me move weapons between my characters, but I'm assuming that's impossible right now
English
-
Make a POST request to https://www.bungie.net/Platform/Destiny/EquipItem/ with the following JSON object:[quote]{ characterId: "xxxxxxxxxxx" itemId: "xxxxxxxxxxx" membershipType: "2" }[/quote]Note: you'll need be authorised (have cookies) to do it.
-
Edited by Jarvis T. Smokin: 11/7/2014 3:46:02 PMjust to follow up on this, I had a look at the Bungie app again, and the "equip" button was working for me (I probably wasn't authenticated the last time I tried it), I had a look at the command it sent when I went to equip a different primary weapon, and this is what it sent: Request URL:http://www.bungie.net/Platform/Destiny/EquipItem/?lc=en&fmt=true&lcin=true Request data: characterId: "2305843009231135187" itemId: "6917529035252902841" membershipType: "2" Not sure if I could use this myself as opposed to it being called from the a bungie.net domain, will have to try that, but if I could, a "place item in vault / retrieve item from vault" set of commands would be very useful then! Another very useful command would be "consume heavy ammo synthesis"! (you could have a phone / ipad app then with a really big button to use an ammo synth when they're in the thick of it in the raid)