Page MenuHomePhabricator

query for all available badges via API
Closed, ResolvedPublic

Description

The API should provide a way to get a list of all available badges.


Version: master
Severity: normal
Whiteboard: u=dev c=backend p=0

Details

Reference
bz63486

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:11 AM
bzimport set Reference to bz63486.
bzimport added a subscriber: Unknown Object (MLST).

Should we create a new api module or is there some point to add config variables more gently?

Adam, Katie, Jeroen: Can one of you answer this?

"id be tempted to go with a dedicated API module. That's easy to do cleanly. If there is a more general one, we'd need to be more careful in case we want to add to it.

Change 125886 had a related patch set uploaded by Bene:
Create api module 'wbavailablebadges' to query all available badges

https://gerrit.wikimedia.org/r/125886

(In reply to Jeroen De Dauw from comment #3)

"id be tempted to go with a dedicated API module. That's easy to do cleanly.
If there is a more general one, we'd need to be more careful in case we want
to add to it.

As I just mentioned on the patch, I think this should be a part of meta=siteinfo, which already exposes a good number of various configuration settings.

Change 125886 merged by jenkins-bot:
Create api module 'wbavailablebadges' to query all available badge items

https://gerrit.wikimedia.org/r/125886