JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

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

Request Join
originally posted in:BungieNetPlatform
Edited by lowlines: 12/10/2015 12:28:20 AM
1

New Definitions: Record & RecordBook + New Advisor

There's some new definitions to look at. RecordBook - As the name states, a collection of Records, broken into "pages". Record - A specific record, includes the objectives and rewards completing it will return. InventoryItems now have a new property called "recordBookHash", which will reference to a RecordBook definition. If you are familiar with Quests it's the same sort of thing except the individual nodes have their own definition instead of being separate inventoryItems. On a side note, it looks like definitions are now including a generic "hash" property so you won't have to figure out the definition specific hash property name. [edit] Looks like RecordBook progression data can be pulled from your Advisors under a new property called "recordBooks", I haven't logged in since the update (and bought the Record Book) so its empty for me but I figure it will hold the same structure as the definitions above. No new endpoints for pulling Record data directly btw. [edit2] Here's a sample of what the "recordBooks" advisor property returns once you have an active Record Book. Note: I've truncated to just the first "record", but unlike the recordBookDefinition, the records appear to be returned as a flat keyed list. [quote]"recordBooks": { "3192310198": { "bookHash": 3192310198, "records": { "217055300": { "recordHash": 217055300, "objectives": [ { "objectiveHash": 2255816006, "progress": 15, "hasProgress": true, "isComplete": false, "destinationHash": 0, "activityHash": 0, "displayValue": "15" } ] } } } }[/quote]

Posting in language:

 

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

  • Yes - hopefully the generic hash property will prove useful for you all. It was nice to finally correct that fundamental flaw in the data we were returning. Enjoy all the new data!

    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