HomePhabricator

Add API endpoint for GET requests

Description

Add API endpoint for GET requests

In preparation for exposing the service to external traffic, add a GET
endpoint to make requesting link recommendations easier for
non-technical users. The internal consumer of the
API (refreshLinkRecommendations.php in GrowthExperiments) will continue
to use the POST endpoint.

Misc:

  • Add separate swagger definition files for GET/POST, which results in some unfortunate duplication of return values.

Bug: T269581
Change-Id: I3667220ef1a4616e39b64e92c3da6f08e381bfc8

Details

Provenance
kostajhAuthored on Feb 22 2021, 5:56 PM
TgrCommitted on Feb 25 2021, 10:51 AM
Parents
rRMWA5e0aaf0e3011: Merge "docker-compose: Switch to flask as default HTTP server" into main
Branches
Unknown
Tags
Unknown
References
refs/changes/94/666194/9
ChangeId
I3667220ef1a4616e39b64e92c3da6f08e381bfc8