API pagination provides URL without API version

RESOLVED FIXED in 2013-04-11

Status

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: basta, Assigned: andy+bugzilla)

Tracking

2013-04-11
x86
Mac OS X
Points:
---

Details

(Whiteboard: p=1)

(Reporter)

Description

5 years ago
response.meta.next on the /api/v1/apps/search/ endpoint returns something that looks like

/api/apps/search/?...

The next field should have a versioned API URL.
(Assignee)

Comment 1

5 years ago
Defaulted to v1. 

https://github.com/mozilla/zamboni/commit/5b34d4

Will get more complicated if we ever get to v2 since then we should really start pinning to the requested version using request.API_VERSION.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Assignee)

Updated

5 years ago
Assignee: nobody → amckay
Whiteboard: p=1
Target Milestone: --- → 2013-04-11
You need to log in before you can comment on or make changes to this bug.