Source
	This page was generated with Wiki Builder. Do not change the format!
Info
Information about milestones, presented in a character state-agnostic manner. Combine this data with DestinyMilestoneDefinition to get a full picture of the milestone, which is basically a checklist of things to do in the game. Think of this as GetPublicAdvisors 3.0, for those who used the Destiny 1 API.
Schema
- Schema Type: Class
 - Type: object
 
Properties
| Name | Type | Description | 
|---|---|---|
| milestoneHash | Destiny.Definitions.Milestones.DestinyMilestoneDefinition:integer:uint32 | The hash identifier for the milestone. Use it to look up the DestinyMilestoneDefinition for static data about the Milestone. | 
| availableQuests | DestinyPublicMilestoneQuest[] | A milestone not need have even a single quest, but if there are active quests they will be returned here. | 
| vendorHashes | integer:uint32[] | Sometimes milestones - or activities active in milestones - will have relevant vendors. These are the vendors that are currently relevant. Deprecated, already, for the sake of the new "vendors" property that has more data. What was I thinking. | 
| vendors | DestinyPublicMilestoneVendor[] | This is why we can't have nice things. This is the ordered list of vendors to be shown that relate to this milestone, potentially along with other interesting data. | 
| startDate | string:date-time:nullable | If known, this is the date when the Milestone started/became active. | 
| endDate | string:date-time:nullable | If known, this is the date when the Milestone will expire/recycle/end. | 
Example
{
    // Type: Destiny.Definitions.Milestones.DestinyMilestoneDefinition:integer:uint32
    "milestoneHash": 0,
    // Type: DestinyPublicMilestoneQuest[]
    "availableQuests": [
       // Type: DestinyPublicMilestoneQuest
        {
            // Type: Destiny.Definitions.Milestones.DestinyMilestoneDefinition:integer:uint32
            "questItemHash": 0,
            // Type: DestinyPublicMilestoneActivity
            "activity": {},
            // Type: DestinyPublicMilestoneChallenge[]
            "challenges": [
               // Type: DestinyPublicMilestoneChallenge
                {
                    // Type: Destiny.Definitions.DestinyObjectiveDefinition:integer:uint32
                    "objectiveHash": 0,
                    // Type: Destiny.Definitions.DestinyActivityDefinition:integer:uint32:nullable
                    "activityHash": 0
                }
            ]
        }
    ],
    // Type: integer:uint32[]
    "vendorHashes": [
       // Type: integer:uint32
        0
    ],
    // Type: DestinyPublicMilestoneVendor[]
    "vendors": [
       // Type: DestinyPublicMilestoneVendor
        {
            // Type: Destiny.Definitions.DestinyVendorDefinition:integer:uint32
            "vendorHash": 0,
            // Type: Destiny.Definitions.DestinyInventoryItemDefinition:integer:uint32:nullable
            "previewItemHash": 0
        }
    ],
    // Type: string:date-time:nullable
    "startDate": "",
    // Type: string:date-time:nullable
    "endDate": ""
}