Commit graph

2 commits

Author SHA1 Message Date
Lucas Werkmeister
47f598b94b Use continuation when meta=tokens doesn’t fit in response
The implementation and test are both based on similar code for
meta=siteinfo. I’ve checked manually that, when no continuation is
necessary, the output looks the same as before in all formats, despite
the different way that we now set it.

Bug: T309921
Change-Id: I3b4b7aecdeb6461ae5bd8dc188e5ba49a119858e
2022-06-04 17:43:38 +02:00
Siddharth VP
ba6b52d6e3 Allow retrieval of tokens of all available types in one request
Enable specifying type=* to fetch tokens of all available types.

This enables bot libraries/frameworks to avoid querying ApiParamInfo first to know about types of available tokens.

Bug: T290838
Change-Id: Icf2ad3dfe00ca27aaf92cdc5152342fed38d678e
2021-10-26 21:49:05 +05:30