Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360440 - List subprojects as REST API
Summary: List subprojects as REST API
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Skalli (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Elena Nayashkova CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-10 10:02 EDT by Elena Nayashkova CLA
Modified: 2022-10-03 10:28 EDT (History)
1 user (show)

See Also:


Attachments
implementation of the feature (17.53 KB, patch)
2011-10-10 10:03 EDT, Elena Nayashkova CLA
no flags Details | Diff
patch (26.29 KB, patch)
2011-10-12 08:07 EDT, Elena Nayashkova CLA
michael.ochmann: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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