Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360440

Summary: List subprojects as REST API
Product: z_Archived Reporter: Elena Nayashkova <elena.nayashkova>
Component: SkalliAssignee: Elena Nayashkova <elena.nayashkova>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: michael.ochmann
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
implementation of the feature
none
patch michael.ochmann: iplog+

Description Elena Nayashkova CLA 2011-10-10 10:02:28 EDT
Return a list of all subprojects for a given project as a plain list.
Accept depth of search as a request parameter.
By default traverse the whole project hierarchy.
Comment 1 Elena Nayashkova CLA 2011-10-10 10:03:37 EDT
Created attachment 204883 [details]
implementation of the feature
Comment 2 Elena Nayashkova CLA 2011-10-12 08:07:40 EDT
Created attachment 205020 [details]
patch
Comment 3 Michael Ochmann CLA 2011-10-12 08:22:47 EDT
Usage: 

/api/projects/{id}/subprojects?depth=<n>&extensions=<comma-separated-list-of-extension-names>

* depth can be provided as a request parameter (?depth=<n>) to
retrieve subprojects down to a certain depth (default is down to
arbitrary depth)

* extensions=<comma-separated-list-of-extension-names> request
parameter can be addded to the query to retrieve the REST
information for a given set of extensions (compare /api/projects)
Comment 4 Michael Ochmann CLA 2011-10-12 08:25:26 EDT
Implemented under supervision of the project PMC and conforms to project goals and objectives.

Committed as http://git.eclipse.org/c/skalli/org.eclipse.skalli.git/commit/?id=d3baaac782dc2d8437a9004d45dc8c1dbe48ca12