yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60222
[Bug 1650174] Re: api-ref: project_id/tenant_id in request/response body are shown as "path"
Reviewed: https://review.openstack.org/411170
Committed: https://git.openstack.org/cgit/openstack/neutron-lib/commit/?id=318a6b606b4b39e4749691bd020affcd2533499f
Submitter: Jenkins
Branch: master
commit 318a6b606b4b39e4749691bd020affcd2533499f
Author: Akihiro Motoki <amotoki@xxxxxxxxx>
Date: Thu Dec 15 17:38:38 2016 +0900
api-ref: project_id in req/resp body should be "body"
project_id and tenant_id field in request/response body are
marked as "path" now. It should be "body".
- "project_id-path" already exists and it can be used
for "project_id" in URL path.
- "project_id" is now used for body.
- "project_id-body" is now duplicated, so it was removed.
fwaas.inc is the only user of project_id-body and
it is updated accordingly.
- quotas.inc is updated to use 'project_id-path'.
Also project_id and tenant_id in response body of a quotas operation
have been dropped as they do not exist.
Note that project_id/tenant_id in request body should be marked
as "optional" in most resources but this patch does not touch them
to avoid unnecessary merge conflicts.
They will be fixed in separate patches.
Change-Id: Ic5a4f55b837ee0a51b7186c3342a94c8c00f6c97
Closes-Bug: #1650174
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1650174
Title:
api-ref: project_id/tenant_id in request/response body are shown as
"path"
Status in neutron:
Fix Released
Bug description:
project_id/tenant_id in request/response body are shown as "path". They should be "body".
The parameter definition itself is wrong and it affects all resources.
For example, http://developer.openstack.org/api-ref/networking/v2/index.html?expanded=list-routers-detail#list-routers
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1650174/+subscriptions
References