@GET
  @Path("{groupName}")
  @Produces("text/plain")
  @ApiOperation(value = "Get group", nickname = "GroupService#getGroup", notes = "Returns group details.", response = GroupResponse.class)
  @ApiImplicitParams({
    @ApiImplicitParam(name = "fields", value = "Filter group details", defaultValue = "Groups", dataType = "string", paramType = "query")
  })
  @ApiResponses(value = {
    @ApiResponse(code = 200, message = "Successful retrieval of group resource", response = GroupResponse.class)}
  )
  public Response getGroup(@Context HttpHeaders headers, @Context UriInfo ui,
                           @ApiParam(value = "group name", required = true) @PathParam("groupName") String groupName) {
    return handleRequest(headers, null, ui, Request.Type.GET, createGroupResource(groupName));
  }
Gets a single group.
Handles: GET /groups/{groupName} requests.

@param headers      http headers
@param ui           uri info
@param groupName    the group name
@return information regarding the specified group
ambari-server/src/main/java/org/apache/ambari/server/api/services/groups/GroupService.java