Class AnalyticsReportCustomResource


  • @Path("/lumis/service/analytics/eventanalytics/report/rest/custom")
    @StableMinor(version="14.2",
                 sinceVersion="12.2")
    public class AnalyticsReportCustomResource
    extends EventAnalyticsReportResource
    Exposes an event analytics graph JSON data via REST.
    Since:
    12.2.0
    Version:
    $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
    • Constructor Detail

      • AnalyticsReportCustomResource

        public AnalyticsReportCustomResource()
        Constructor for JAX-RS use.
        Since:
        14.0.0
    • Method Detail

      • getReport

        @Path("/{serviceInstanceId:[a-fA-F0-9]{32}}/{reportFriendlyId}")
        @GET
        @Produces("application/json")
        public String getReport​(@PathParam("serviceInstanceId")
                                String serviceInstanceId,
                                @PathParam("reportFriendlyId") @NotNull
                                @NotNull String reportFriendlyId,
                                @QueryParam("lum_event.projectId")
                                String projectIdFilter,
                                @Context
                                HttpServletRequest request)
                         throws PortalException
        Returns the JSON response for the report
        Parameters:
        serviceInstanceId - the report service instance.
        reportFriendlyId - the report REST friendly identifier.
        projectIdFilter - the project identifier used as filter. May be null or blank if will not filter by project.
        Returns:
        the JSON containing the report data.
        Throws:
        PortalException
        Since:
        12.2.0
      • clearReportCaches

        public static void clearReportCaches​(String reportId)
        Clear report caches stored in this REST.
        Parameters:
        reportId - the report identifier.
        Since:
        14.0.0