Request with missing marker should return 400

Bug #973685 reported by Alex Meade
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Low
Tom Fifield

Bug Description

The compute-api docs suggest that a 404 should be returned when a marker is not found in a paginated request. It should actually be a 400.

Tags: compute-api
Revision history for this message
yong sheng gong (gongysh) wrote :

Could you please put the doc link here?

Revision history for this message
Philip Knouff (philip-knouff) wrote :
Changed in nova:
status: New → Confirmed
sasikiran (vaddi-kiran)
Changed in nova:
assignee: nobody → sasikiran (vaddi-kiran)
Revision history for this message
Brian Waldon (bcwaldon) wrote :

I would argue that the docs are wrong. A 404 indicates that the resource you are requesting does not exist. In this case, your resource is /images, which will always exist. A 404 means that your request cannot be fulfilled, which in this case is due to a separate resource not existing.

Brian Waldon (bcwaldon)
affects: nova → openstack-manuals
description: updated
summary: - Listing with invalid id returns 400
+ Request with missing marker should return 400
Changed in openstack-manuals:
assignee: sasikiran (vaddi-kiran) → Brian Waldon (bcwaldon)
Brian Waldon (bcwaldon)
Changed in openstack-manuals:
status: Confirmed → In Progress
importance: Undecided → Low
Revision history for this message
Tom Fifield (fifieldt) wrote :

Hi Brian,

Any progress on this one?

Tom Fifield (fifieldt)
Changed in openstack-manuals:
assignee: Brian Waldon (bcwaldon) → nobody
status: In Progress → Confirmed
Tom Fifield (fifieldt)
tags: added: compute-api
Revision history for this message
Tom Fifield (fifieldt) wrote :
Changed in openstack-manuals:
assignee: nobody → Tom Fifield (fifieldt)
status: Confirmed → In Progress
Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.