Source

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

Info

Gets activity history stats for indicated character.

Parameters

Path Parameters

Name Schema Required Description
characterId integer:int64 Yes The id of the character to retrieve.
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

Name Schema Required Description
count integer:int32 No Number of rows to return
mode DestinyActivityModeType:Enum No A filter for the activity mode to be returned. None returns all activities. See the documentation for DestinyActivityModeType for valid values, and pass in string representation.
page integer:int32 No Page number to return, starting with 0.

Example

Request

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

Response

PlatformErrorCode: 200

{
    // Type: DestinyActivityHistoryResults
    "Response": {
        // Type: DestinyHistoricalStatsPeriodGroup[]
        "activities": [
           // Type: DestinyHistoricalStatsPeriodGroup
            {
                // Type: string:date-time
                "period": "",
                // Type: DestinyHistoricalStatsActivity
                "activityDetails": {},
                // 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-GetActivityHistory.html#operation_get_Destiny2-GetActivityHistory