Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350541 - Provide the project hierarchy as REST API
Summary: Provide the project hierarchy as REST API
Status: CLOSED WONTFIX
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: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-28 05:55 EDT by Michael Ochmann CLA
Modified: 2022-10-03 10:28 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Ochmann CLA 2011-06-28 05:55:00 EDT
Currently all REST clients must calculate the project hierarchy from the links provided by /api/projects on their own. It would be nice to have sosmething like https://projectportal.wdf.sap.corp/projects?view=hierarchy also in the REST API
Comment 1 Michael Ochmann CLA 2011-10-12 10:57:56 EDT
http://git.eclipse.org/c/skalli/org.eclipse.skalli.git/commit/?id=d3baaac782dc2d8437a9004d45dc8c1dbe48ca12

implements a REST call that is not exactly the same as the hierarchy view, but list all subprojects of a project down to a selectable depth.

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)