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)
Apr 4 2024, 11:15 AM
Unknown Object (File)
Apr 4 2024, 11:15 AM
Unknown Object (File)
Apr 4 2024, 11:14 AM
Unknown Object (File)
Apr 4 2024, 11:05 AM
Unknown Object (File)
Mar 18 2024, 12:22 PM
Unknown Object (File)
Feb 19 2024, 10:35 AM
Unknown Object (File)
Feb 19 2024, 6:28 AM
Unknown Object (File)
Feb 19 2024, 4:12 AM
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