Page MenuHomePhabricator

[reports-service] Endpoint for listing reports
ClosedPublic

Authored by bartek on Aug 28 2023, 2:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 11:56 PM
Unknown Object (File)
Sat, Dec 14, 11:56 PM
Unknown Object (File)
Sat, Dec 14, 11:55 PM
Unknown Object (File)
Sat, Dec 14, 11:39 PM
Unknown Object (File)
Mon, Nov 25, 8:03 PM
Unknown Object (File)
Oct 27 2024, 3:42 PM
Unknown Object (File)
Oct 14 2024, 6:13 AM
Unknown Object (File)
Sep 27 2024, 10:57 PM
Subscribers

Details

Summary

A simple endpoint for browsing reports. Counterpart of this keyserver function.
Note that the existing keyserver endpoint is not used anywhere and its functionality is limited and so is the reports-service endpoint.

In the future, we can add some sorting and filtering options.

Depends on D8972

Test Plan
  1. Uploaded 20+ reports to the service.
  2. Opened the endpoint in postman. A JSON array with basic report objects was displayed. The "nextPage" contained some value
  3. Opened the endpoint again with ?cursor={nextPage value} query string and got the next page of results.
  4. On the last page, the "nextPage" value was null.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable