@GET @ApiIgnore // until documented
  @Path("{privilegeId}")
  @Produces("text/plain")
  public Response getPrivilege(@Context HttpHeaders headers, @Context UriInfo ui,
                                @PathParam("privilegeId") String privilegeId) {

    return handleRequest(headers, null, ui, Request.Type.GET, createPrivilegeResource(privilegeId));
  }
Handles: GET /privileges/{privilegeID}
Get a specific privilege.

@param headers        http headers
@param ui             uri info
@param privilegeId   privilege id

@return privilege instance representation
ambari-server/src/main/java/org/apache/ambari/server/api/services/PrivilegeService.java