[api] audit version format

RESOLVED FIXED

Status

Socorro
Webapp
RESOLVED FIXED
5 years ago
2 years ago

People

(Reporter: lonnen, Assigned: peterbe)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
The Socorro api inconsistently uses the term version. Sometimes it means just the version string ("27.0a1") and sometimes it means product and version ("Firefox:27.0a1"). We should audit the api to make sure we consistently use just the version string.
(Reporter)

Updated

5 years ago
Assignee: nobody → peterbe
(Assignee)

Comment 1

5 years ago
This is massive. And sad. The API just mimics the models and they're a mess. It's a mess because of the technical debt from the legacy drag-along. 

I'm hesitant to close this bug but don't have anything to start with. Best approach would be to piece-meal clean up one model after another.
(Reporter)

Comment 2

5 years ago
It's clearly something that needs fixing in the underlying API. Maybe it will be worth revisiting after the great API merge.
(Assignee)

Comment 3

2 years ago
We cleaned up all the endpoints to do with products and versions and now it's just the /api/ProductVersions endpoint. And it's smart in that you can pass 1 or multiple versions which gets "OR'ed". E..g `?version=23&version=24`.

We no longer have the `version="Firefox:27.0a1"` concept.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.