Page MenuHomePhabricator

REST: expose a machine readable directory of available API modules
Open, In Progress, LowPublic

Description

With the introduction of REST modules (T362480), there is no longer a single API spec that covers all endpoints. Instead, each component defines its own spec. For the purpose of discoverability, it seems useful to have a machine readable listing of all available modules on a wiki, including modules defined by MW core, by extensions, and potentially also modules provided by external services such as PCS. MediaWiki will have to know about this list anyway, for the benefit of T325558.

There seems to be no standard for this kind of directory, so we are free to (force to) come up with a format that suites our needs.

Event Timeline

Change #1028487 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):

[mediawiki/core@master] WIP: REST: Emit machine readable directory of available modules

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

BPirkle renamed this task from REST: expose a machiene readable directory of available API modules to REST: expose a machine readable directory of available API modules.May 24 2024, 7:06 PM
daniel raised the priority of this task from Low to Medium.Thu, May 30, 2:48 PM
daniel changed the task status from Open to In Progress.Thu, May 30, 3:42 PM
daniel lowered the priority of this task from Medium to Low.