Closed Bug 927513 Opened 11 years ago Closed 8 years ago

[api] audit version format

Categories

(Socorro :: Webapp, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lonnen, Assigned: peterbe)

Details

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.
Assignee: nobody → peterbe
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.
It's clearly something that needs fixing in the underlying API. Maybe it will be worth revisiting after the great API merge.
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
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.