stable

Clone or download

Read-only

GET /milestones/:id/siblings

Part of story #11189: have a smart bread crumb Given a milestone A, When I query GET /milestones/:id/siblings Then all milestones that are sibling of A are returned ordered by id (reverse order). I can filter only open or closed milestone with the `query` parameter (see route desc). Change-Id: I1b6f71d331ace36d576ad733da6a14dac2ddf540

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneDao.class.php +74 −9 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneRepresentationBuilder.class.php +27 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneRepresentation.class.php +8 −5 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +97 −31 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneFactory.class.php +38 −0 Go to diff View file
M src/common/REST/v1/MilestoneRepresentationBase.class.php +3 −3 Go to diff View file