•  
     
    story #12208 REST route to add user_groups
Summary
Empty
REST route to add user_groups
Empty

Template of the new route:

POST /user_groups
{
  "project_id": <int>,
  "short_name": <string>
}

 

Empty
axel.bodoignet@st.com, Nouha Terzi (terzino), Denis PILAT (denis_pilat)
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#12208
Manuel Vacelet (vaceletm)
2018-09-04 12:22
2018-08-30 10:02
12836

References

Follow-ups

User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
last edited by: Nicolas Terray (nterray) 2018-08-31 08:50

Shouldn't it be:

POST /user_groups
{
  "project_id": <int>,
  "short_name": <string>
}

To respect:

  • Pattern for creation of resources (we don't want to create the collection projects/:id/user_groups)
  • User group representation (the property is named "short_name" instead of "name")
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • CC list set to Denis PILAT (denis_pilat), Nouha Terzi (terzino), axel.bodoignet@st.com