Page MenuHomePhabricator

Design route to capture reconciliation query by GET and POST request
Closed, ResolvedPublic

Description

This task entails adding an endpoint possible to handle the following test cases:

curl 'http://localhost:8000/en/api?queries=%7B%22q0%22%3A%7B%22query%22%3A%22Chick+Corea+%26+Stanley+Clarke.jpg%22%7D%7D
curl 'http://localhost:8000/en/api' --data 'queries=%7B%22q0%22%3A%7B%22query%22%3A%22Chick+Corea+%26+Stanley+Clarke.jpg%22%7D%7D'

To provide the output:

{"q0":{"result":[{"id":"M74698470", "name": "Chick Corea & Stanley Clarke.jpg"}]}}

Event Timeline

Change 722857 had a related patch set uploaded (by Eugene233; author: Eugene233):

[labs/tools/commons-recon-service@main] Design route to capture reconciliation query by GET and POST request

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

Change 722857 merged by Eugene233:

[labs/tools/commons-recon-service@main] Design route to capture reconciliation query by GET and POST request

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