Source

This page was generated with Wiki Builder. Do not change the format!

Info

Gets all activities the character has participated in together with aggregate statistics for those activities.

Parameters

Path Parameters

Name Schema Required Description
characterId integer:int64 Yes The specific character whose activities should be returned.
destinyMembershipId integer:int64 Yes The Destiny membershipId of the user to retrieve.
membershipType BungieMembershipType:Enum Yes A valid non-BungieNet membership type.

Query String Parameters

None

Example

Request

GET https://www.bungie.net/Platform/Destiny2/{membershipType}/Account/{destinyMembershipId}/Character/{characterId}/Stats/AggregateActivityStats/

Response

PlatformErrorCode: 200

{
    // Type: DestinyAggregateActivityResults
    "Response": {
        // Type: DestinyAggregateActivityStats[]
        "activities": [
           // Type: DestinyAggregateActivityStats
            {
                // Type: Destiny.Definitions.DestinyActivityDefinition:integer:uint32
                "activityHash": 0,
                // Type: Dictionary<string,DestinyHistoricalStatsValue>
                "values": {
                    "{string}": {
                        // Type: string
                        "statId": "",
                        // Type: DestinyHistoricalStatsValuePair
                        "basic": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "pga": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "weighted": {},
                        // Type: integer:int64:nullable
                        "activityId": 0
                    }
                }
            }
        ]
    },
    // Type: PlatformErrorCodes:Enum
    "ErrorCode": 0,
    // Type: integer:int32
    "ThrottleSeconds": 0,
    // Type: string
    "ErrorStatus": "",
    // Type: string
    "Message": "",
    // Type: Dictionary<string,string>
    "MessageData": {
        "{string}": ""
    },
    // Type: object
}

References

  1. https://bungie-net.github.io/multi/operation_get_Destiny2-GetDestinyAggregateActivityStats.html#operation_get_Destiny2-GetDestinyAggregateActivityStats