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

    return handleRequest(headers, null, ui, Request.Type.GET, createPermissionResource(permissionId));
  }
Handles: GET /permissions/{permissionID}
Get a specific permission.

@param headers        http headers
@param ui             uri info
@param permissionId   permission id

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