Page MenuHomePhabricator

Switch wikilambda_fetch/wikilambdaload_zobjects from Action API to REST API
Open, In Progress, HighPublic

Description

For scalability. They don't need user-specific access, and we'll be hitting them quite a lot from client-side code.

  • Provide wikilambda_fetch equivalent via the REST API system (patch)
  • Add wikilambdaload_zobjects extras to above API (patch)
  • Add tests
  • Migrate function-orchestrator
  • Migrate front-end
  • Ensure new API is documented
  • Deprecate old Action API endpoints
  • Drop old Action API endpoints

Event Timeline

Jdforrester-WMF renamed this task from Consider switching wikilambda_fetch from Action API to REST API to Consider switching wikilambda_fetch/wikilambdaload_zobjects/etc. from Action API to REST API.Feb 24 2021, 5:30 PM
Jdforrester-WMF updated the task description. (Show Details)

Change #1018807 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Introduce rest/wikifunctions/v0/fetch/<zids> REST API

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

Change #1018808 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] RESTAPI/FetchHandler: Add getDependencies feature from ApiQueryZObjects

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

Jdforrester-WMF changed the task status from Open to In Progress.Thu, Apr 11, 5:15 PM
Jdforrester-WMF claimed this task.
Jdforrester-WMF triaged this task as High priority.

Change #1018807 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Introduce rest/wikifunctions/v0/fetch/<zids> REST API

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

Jdforrester-WMF renamed this task from Consider switching wikilambda_fetch/wikilambdaload_zobjects/etc. from Action API to REST API to Switch wikilambda_fetch/wikilambdaload_zobjects from Action API to REST API.Tue, Apr 16, 3:49 PM