Class ContentPerformanceResource


  • @Path("/lumis/service/analytics/eventanalytics/report/rest/content")
    public class ContentPerformanceResource
    extends java.lang.Object
    Content performance REST.
    Since:
    16.0.0
    Version:
    $Revision: 25809 $ $Date: 2023-07-04 15:23:22 -0300 (Tue, 04 Jul 2023) $
    • Constructor Detail

      • ContentPerformanceResource

        public ContentPerformanceResource()
    • Method Detail

      • getContentPerformance

        @Path("/performance")
        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public java.lang.String getContentPerformance​(ContentPerformanceRequestBody requestBody)
                                               throws PortalException,
                                                      java.io.FileNotFoundException,
                                                      java.io.IOException,
                                                      java.lang.UnsupportedOperationException,
                                                      org.json.JSONException,
                                                      java.text.ParseException
        Returns the performance of the contents with the given identifiers.
        Parameters:
        originServiceInstanceId - the origin service instance
        contentIds - the content identifiers
        Returns:
        the performance of the contents with the given identifiers.
        Throws:
        java.io.IOException
        java.io.FileNotFoundException
        java.text.ParseException
        org.json.JSONException
        java.lang.UnsupportedOperationException
        PortalException
        Since:
        16.0.0
      • goToContentPerformanceDashboard

        @Path("/toContentPerformanceDashboard/{serviceInstanceId: [A-Fa-f0-9]{32}}/{contentId: [A-Fa-f0-9]{32}}")
        @GET
        public Response goToContentPerformanceDashboard​(@PathParam("serviceInstanceId")
                                                        java.lang.String serviceInstanceId,
                                                        @PathParam("contentId")
                                                        java.lang.String contentId)
                                                 throws PortalException
        Intermediate endpoint to redirect the user to the correct URL.
        Parameters:
        serviceInstanceId - the service instance identifier
        contentId - the content identifier
        Returns:
        a redirect response.
        Throws:
        PortalException
        Since:
        16.0.0
      • goToContentPerformanceDashboard

        @Path("/toContentPerformanceDashboard/{serviceInstanceId: [A-Fa-f0-9]{32}}/{contentId: [A-Fa-f0-9]{32}}/{locale: [a-zA-Z_]+}")
        @GET
        public Response goToContentPerformanceDashboard​(@PathParam("serviceInstanceId")
                                                        java.lang.String serviceInstanceId,
                                                        @PathParam("contentId")
                                                        java.lang.String contentId,
                                                        @PathParam("locale")
                                                        java.lang.String locale)
                                                 throws PortalException
        Intermediate endpoint to redirect the user to the correct URL.
        Parameters:
        serviceInstanceId - the service instance identifier
        contentId - the content identifier
        locale - the content locale
        Returns:
        a redirect response.
        Throws:
        PortalException
        Since:
        16.0.0