The from and to parametres are optional in the end point. If they are not given, or if they are both given, the service responds correctly. However, when only from is given, the service ignores it and responds as if it were not given. The expected behaviour for it is to respond with the list of pairs for the given from language. Instead, the service responds with the list of all from/to pairs.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Make tools API endpoint work when only source language is provided | mediawiki/services/cxserver | master | +56 -3 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T133001 Decom legacy ex-parsoidcache cxserver, citoid, and restbase service hostnames | |||
Declined | None | T107914 Migrate content translation to the REST API | |||
Declined | None | T163203 Update CX to use the new Restbase provided public API instead of CXServer | |||
Resolved | • Petar.petkovic | T194660 CXServer's /list/{tool}{/from}{/to} should work when only {from} is provided |
Event Timeline
Comment Actions
Change 434619 had a related patch set uploaded (by Petar.petkovic; owner: Petar.petkovic):
[mediawiki/services/cxserver@master] Make tools API endpoint work with only source language
Comment Actions
Change 434619 merged by jenkins-bot:
[mediawiki/services/cxserver@master] Make tools API endpoint work when only source language is provided