Page MenuHomePhabricator

Epic: Action API Modernization (PP3.5.3 26/27)
Open, Needs TriagePublic

Description

Hypothesis: If we experiment with creating dedicated endpoints for actions within the Action API, we can demonstrate making the Action API more approachable and predictable.

The idea is that we can provide access to RPC-style action API endpoints (not query modules) via routes that specify the action as part of the path. This will allow them to be exposed and versioned together with REST modules, and they can be described using OpenAPI specs.

Similarly, list-style API query modules could be exposed as paginated REST endpoints. For generators and prop modules, we should explore appropriate GraphQL mappings.

Details

Other Assignee
AGhirelli-WMF
Related Changes in Gerrit:

Related Objects

StatusSubtypeAssignedTask
OpenAGhirelli-WMF
OpenAGhirelli-WMF
ResolvedAGhirelli-WMF
Opendaniel
Resolveddaniel
Opendaniel
OpenNone
OpenNone
Opendaniel
Opendaniel
OpenNone
Opendaniel
Opendaniel
ResolvedAGhirelli-WMF
ResolvedSpikeAGhirelli-WMF
ResolvedAGhirelli-WMF
ResolvedAGhirelli-WMF
ResolvedAGhirelli-WMF
ResolvedAGhirelli-WMF
ResolvedAGhirelli-WMF
In ProgressAGhirelli-WMF
ResolvedAGhirelli-WMF
Opendaniel

Event Timeline

OWresch-WMF renamed this task from Epic: Action API Modernization (PP3.5.3 26/27) to [Hypothesis] PP3.5.3 Action API Modernization.Aug 7 2026, 12:10 PM
OWresch-WMF renamed this task from [Hypothesis] PP3.5.3 Action API Modernization to Epic: Action API Modernization (PP3.5.3 26/27).

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

[mediawiki/core@master] REST: Add ApiRestHybrid opt-in and error/response mapping

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

Change #1329601 merged by jenkins-bot:

[mediawiki/core@master] REST: Add a generic wrapper for action API modules

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

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

[mediawiki/core@master] REST: Decouple JsonLocalizer from ResponseFactory

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