Closed
Bug 418642
Opened 17 years ago
Closed 17 years ago
Create versioning scheme for the API
Categories
(addons.mozilla.org Graveyard :: API, defect)
addons.mozilla.org Graveyard
API
Tracking
(Not tracked)
RESOLVED
FIXED
3.3
People
(Reporter: laura, Assigned: laura)
References
Details
Attachments
(1 file, 1 obsolete file)
2.11 KB,
patch
|
morgamic
:
review+
|
Details | Diff | Splinter Review |
In order to make non backwards compatible changes to the API, we need to introduce a versioning scheme. Right now URLs are of the form
http://s.a.m.o/%LOCALE%/%APP%/api/call
This will change for future versions to include a version number, probably something like
http://s.a.m.o/%LOCALE%/%APP%/api/version/call
Current URLs will remain valid but deprecated so we don't break Fx3b3.
Assignee | ||
Updated•17 years ago
|
Severity: normal → critical
Assignee | ||
Updated•17 years ago
|
Flags: blocking-firefox3?
Assignee | ||
Comment 1•17 years ago
|
||
Attachment #304749 -
Flags: review?(morgamic)
Assignee | ||
Updated•17 years ago
|
Attachment #304749 -
Attachment is obsolete: true
Attachment #304749 -
Flags: review?(morgamic)
Assignee | ||
Comment 2•17 years ago
|
||
I had a stupid logic error in the first patch. Try this instead.
Attachment #304754 -
Flags: review?(morgamic)
Updated•17 years ago
|
Attachment #304754 -
Flags: review?(morgamic) → review+
Assignee | ||
Comment 3•17 years ago
|
||
Fixed in r10615.
The version number can be added directly after the API, e.g.:
https://services.addons.mozilla.org/%LOCALE%/%APP%/[api_version]/api/search/foo
The current version of the API to be used with Fx3 b4 is 0.9.
If no version number is supplied it defaults to 0 which will be compatible with
Fx3 b3. (ie nothing should break).
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•17 years ago
|
||
That should of course be:
https://services.addons.mozilla.org/%LOCALE%/%APP%/api/[api_version]/search/foo
Updated•16 years ago
|
Flags: blocking-firefox3?
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•