Closed Bug 858814 Opened 11 years ago Closed 11 years ago

API pagination provides URL without API version

Categories

(Marketplace Graveyard :: API, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2013-04-11

People

(Reporter: basta, Assigned: andy+bugzilla)

Details

(Whiteboard: p=1)

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.
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
Closed: 11 years ago
Resolution: --- → FIXED
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.