← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1784375] [NEW] Identity API v3 (CURRENT) in Identity API Reference: PUT method for "Add user to group" returns 204 on success, not 200 as written

 

Public bug reported:

- [x] This doc is inaccurate in this way: PUT method for "Add user to group" returns 204 on success, not 200 as written
- [ ] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output. 

Hi Folks,

The PUT method for adding users to a group returns http code 204 (No
Content) on success, not 200 (OK) as written in the document. I am using
the "Queens" release and made the call to API "v3" with the URL
"http://host.com:35357/v3/groups/{group_id}/users/{user_id}"; via the
http "PUT" method.

I have reproduced this five times with the same result each time.

Best wishes,
Bruno


If you have a troubleshooting or support issue, use the following  resources:

 - Ask OpenStack: http://ask.openstack.org
 - The mailing list: http://lists.openstack.org
 - IRC: 'openstack' channel on Freenode

-----------------------------------
Release: v3.10 on 'Fri Jul 27 04:40:31 2018, commit 31e1a4d'
SHA: 
Source: Can't derive source file URL
URL: https://developer.openstack.org/api-ref/identity/v3/index.html

** Affects: keystone
     Importance: Undecided
         Status: New


** Tags: api-ref

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1784375

Title:
  Identity API v3 (CURRENT) in Identity API Reference: PUT method for
  "Add user to group" returns 204 on success, not 200 as written

Status in OpenStack Identity (keystone):
  New

Bug description:
  - [x] This doc is inaccurate in this way: PUT method for "Add user to group" returns 204 on success, not 200 as written
  - [ ] This is a doc addition request.
  - [ ] I have a fix to the document that I can paste below including example: input and output. 

  Hi Folks,

  The PUT method for adding users to a group returns http code 204 (No
  Content) on success, not 200 (OK) as written in the document. I am
  using the "Queens" release and made the call to API "v3" with the URL
  "http://host.com:35357/v3/groups/{group_id}/users/{user_id}"; via the
  http "PUT" method.

  I have reproduced this five times with the same result each time.

  Best wishes,
  Bruno

  
  If you have a troubleshooting or support issue, use the following  resources:

   - Ask OpenStack: http://ask.openstack.org
   - The mailing list: http://lists.openstack.org
   - IRC: 'openstack' channel on Freenode

  -----------------------------------
  Release: v3.10 on 'Fri Jul 27 04:40:31 2018, commit 31e1a4d'
  SHA: 
  Source: Can't derive source file URL
  URL: https://developer.openstack.org/api-ref/identity/v3/index.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1784375/+subscriptions


Follow ups