The delimiter parameter description of the list container API is not correct

Bug #1589101 reported by wangbinghuan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
In Progress
Low
Kazuhiro MIYAHARA

Bug Description

Please refer to Get /v1/​{account}​, whick list all container of the account. The description of delimiter parameter is not correct as "The container name cannot contain a slash (/) character because this character delimits the container and object name." In fact this delimiter description is identical with that of the list object API.

Revision history for this message
wangbinghuan (wbinghuan) wrote :
tags: added: documentation
removed: api swift
summary: - The delimiter parameter description of list container API is not
+ The delimiter parameter description of the list container API is not
correct
wangbinghuan (wbinghuan)
information type: Public → Public Security
information type: Public Security → Private Security
information type: Private Security → Public
Revision history for this message
Tim Burke (1-tim-z) wrote :

The docs seem to have gotten even worse :-(

> Delimiter value, which returns the object names that are
> nested in the container. If you do not set a prefix and
> set the delimiter to “/” you may get unexpected results
> where all the objects are returned instead of only those
> with the delimiter set.

Again, this is for the *account* docs. I think some attempt was made to document the behavior prior to bug 1475018 being fixed, but now things are even *more* confusing.

Changed in swift:
status: New → Confirmed
importance: Undecided → Low
tags: added: low-hanging-fruit
Changed in swift:
assignee: nobody → Kazuhiro MIYAHARA (miyahara-kazuhiro)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to swift (master)

Fix proposed to branch: master
Review: https://review.openstack.org/501136

Changed in swift:
status: Confirmed → In Progress
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.