originally posted in:BungieNetPlatform
View Entire Topic
Is there anyway in the API to get the current instanceId of a match as well as the players in the match? I see a referenceId so we can tell what map a player is currently on but referencing the instance as well as the players in the instance would be immensely useful.
English
-
Edited by Inirit: 1/27/2015 9:06:58 PMIf I understand what you are asking for, I think what you want is the [url=http://www.bungie.net/Platform/Destiny/help/HelpDetail/GET?uri=Stats%2fPostGameCarnageReport%2f{activityId}%2f]PGCR platform service[/url], an example would look something like this: [url]http://www.bungie.net/Platform/Destiny/Stats/PostGameCarnageReport/1539534545/[/url] The activity id is a unique (and always incrementing) identifier that represents a unique activity in the game, or a match. The response from this service should have the info you're looking for. EDIT: Maybe I didn't understand what you were asking. To get the activity id to begin with, you would look at a players activity history using [url=http://www.bungie.net/Platform/Destiny/help/HelpDetail/GET?uri=Stats%2fActivityHistory%2f{membershipType}%2f{destinyMembershipId}%2f{characterId}%2f]this platform service[/url], an example would look like this: http://www.bungie.net/Platform/Destiny/Stats/ActivityHistory/2/4611686018428388123/2305843009215655427/?mode=Story The instanceId is the value you would use in the PGCR service to get more details about the activity. Note the query string parameter "mode", it's required for the activity history service.