•  
     
    story #5584 /milestones/:id/content
Summary
user
/milestones/:id/content
Methods: OPTIONS, GET, PUT

GET: Retourne une collection de backlog items associé à la milestone (dépend de la config du planning correspondant à la milestone)

PUT: Enregistre la collection de backlog items pour la milestone

Remplace l'uri: /milestones/:id/backlog_items?
Empty
Empty
Empty
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
#5584
Nicolas Terray (nterray)
2013-12-09 12:22
2013-11-18 15:11
3162

References
Referencing story #5584
Referenced by story #5584

Follow-ups

User avatar
Hi,

When you have to pass ids in parameter, ids field should be "[id1,id2,id3]", not "[{"property" : ""}]".

  • Category set to
User avatar
When we try to use PUT /milestones/{id}/content on https:tuleap.net (6.7.99.27) we have the following error:

{
"error": {
"code": 500,
"message": "Internal Server Error: There are duplicated ids"
},
"debug": {
"source": "MilestoneResourceValidator.class.php:179 at call stage",
"stages": {
"success": [
"get",
"route",
"negotiate",
"authenticate",
"validate"
],
"failure": [
"call",
"message"
]
}
}
}

We did not have any duplicated ids in the data sent to the server.
By the way, on the Tuleap API Explorer, the description of the message to send uses "property" instead of "id": https://tuleap.net/api/explorer/#!/milestones/updateContent_put
User avatar
  • So that
    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