Neutron api-ref should mention that list of e.g. IDs is supported in GET requests

Bug #1837553 reported by Slawek Kaplonski on 2019-07-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Low
Chason Chan

Bug Description

It is supported behaviour that e.g. request like

GET /v2.0/ports?id=<port_id_A>&id=<port_id_B>

should treat ID filters as list and return ports with those 2 IDs.

And it is like that also for other resources. But it isn't documented in API-REF and that should be updated in docs.

Chason Chan (chen-xing) on 2019-07-29
Changed in neutron:
assignee: nobody → Chason Chan (chen-xing)

Fix proposed to branch: master
Review: https://review.opendev.org/673221

Changed in neutron:
status: Confirmed → In Progress

Reviewed: https://review.opendev.org/673221
Committed: https://git.openstack.org/cgit/openstack/neutron-lib/commit/?id=aaae83acaac5f58918ff53613b4de20bbfe30d81
Submitter: Zuul
Branch: master

commit aaae83acaac5f58918ff53613b4de20bbfe30d81
Author: chenxing <email address hidden>
Date: Mon Jul 29 15:30:32 2019 +0800

    Mention that list of e.g. IDs is supported in GET requests

    Change-Id: Ia275a8068aad110ff4225d6ac2cbdfa1a877b3e5
    Closes-Bug: #1837553

Changed in neutron:
status: In Progress → Fix Released

This issue was fixed in the openstack/neutron-lib 1.29.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers