Destiny2.GetActivityHistory documentation defect
Documentation for this api call states a querystring parameter is "mode" however the correct parameter is "modes"
Thanks for the report! I've filed a bug for this and we'll see if we can address this soon.
Do you have a screenshot or log, so we can see the GetActivityHistory API working with the "modes" parameter instead of "mode"? The latter ought to work when we tried to repro.
Hi Ash,
Attached screenshots show my calls for the API where the only difference is a call to Mode and call to Modes, I have realised that the issue is slightly different to the original report Mode and Modes both work for calls where Mode only supports a single request and Modes supports 1 or more requests..
I believe the documentation should reflect Mode only allowing 1 input but modes allowing more than 1.
Modes - Multiple Queries
Mode - Multiple Queries
Modes - Single Query
###Mode - Single Query
Thanks for the additional information. "Mode" is the only URL parameter we listen for, and expect a single value. The "Modes" returned are the entire hierarchy of modes the PGCR falls into. In your example: 7 is AllPVE, and 4 is Raid. So you could obtain this particular PGCR by querying either of those modes.
The API does not currently support getting two types of PGCRs at once (e.g. trying to get "Raids" and "Dungeons" in the same response). We can track this as an enhancement though.