Reference for http://www.bungie.net/Platform/Destiny2/{membershipType}/Account/{destinyMembershipId}/Character/{characterId}/Stats/
Gets historical stats for indicated character.
Url: http://www.bungie.net/Platform/Destiny2/{membershipType}/Account/{destinyMembershipId}/Character/{characterId}/Stats/
HTTP Method: GET
Requires Sign-in: false
Url Parameters:
| Parameter Name | Description |
|---|---|
| membershipType | A valid non-BungieNet membership type. |
| destinyMembershipId | The Destiny membershipId of the user to retrieve. |
| characterId | The id of the character to retrieve. You can omit this character ID or set it to 0 to get aggregate stats across all characters. |
| periodType | Indicates a specific period type to return. Optional. May be: Daily, AllTime, or Activity |
| modes | Game modes to return. See the documentation for DestinyActivityModeType for valid values, and pass in string representation, comma delimited. |
| groups | Group of stats to include, otherwise only general stats are returned. Comma separated list is allowed. Values: General, Weapons, Medals |
| daystart | First day to return when daily stats are requested. Use the format YYYY-MM-DD. Currently, we cannot allow more than 31 days of daily data to be requested in a single request. |
| dayend | Last day to return when daily stats are requested. Use the format YYYY-MM-DD. Currently, we cannot allow more than 31 days of daily data to be requested in a single request. |
Request/Response Body Formats:
| Message Direction | Format | Body |
|---|---|---|
| Request | N/A | HTTP Get requests have no request body. |
| Response | JSON | JSON object |
The following is an example of a response JSON body for this method.
{
"Response": null,
"ErrorCode": 0,
"ThrottleSeconds": 0,
"ErrorStatus": null,
"Message": null,
"MessageData": null,
"DetailedErrorTrace": null
}