mozilla / code-review

Automated static analysis & linting bot for Mozilla repositories
Mozilla Public License 2.0
56 stars 42 forks source link

New API endpoint to list issues #2533

Open La0 opened 6 days ago

La0 commented 6 days ago

This is the last development in the backend before porting code over to Treeherder.

Creation endpoints (revision, diff, issues) are OK now, but the bot also needs a way to retrieve issues in 3 stages:

We can build a single endpoint that takes as URL parameters:

The endpoint serializer returns each Issue ID & hash (that's it).

The Endpoint would be exposed as /diff/{diff_id}/issues/{mode}/

We'll then implement their usage in the bot in a followup