Repository: stratos Updated Branches: refs/heads/4.0.0-grouping 061cc496f -> 4b1d3a656
add comments for the REST API Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/4b1d3a65 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/4b1d3a65 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/4b1d3a65 Branch: refs/heads/4.0.0-grouping Commit: 4b1d3a656d7f21eed1c15f247b7fc2c229f266ab Parents: c01d963 Author: Udara Liyanage <[email protected]> Authored: Thu Oct 23 18:08:59 2014 +0530 Committer: Udara Liyanage <[email protected]> Committed: Fri Oct 24 14:49:03 2014 +0530 ---------------------------------------------------------------------- .../stratos/rest/endpoint/services/StratosAdmin.java | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/4b1d3a65/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/services/StratosAdmin.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/services/StratosAdmin.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/services/StratosAdmin.java index 56602ad..44d42a5 100644 --- a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/services/StratosAdmin.java +++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/services/StratosAdmin.java @@ -414,6 +414,16 @@ public class StratosAdmin extends AbstractAdmin { return Response.ok().entity(subscriptions).build(); } + /** + * This API provides information about the application denoted by the given appId. Details includes, + * Application details, + * Top level cluster details + * details of the group and sub groups. + * @param applicationId Id of the application. + * @return Json representing the application details with 200 as HTTP status. HTTP 404 is returned when there is + * no application with given Id. + * @throws RestAPIException is thrown in case of failure occurs. + */ @GET @Path("/application/{appId}")
