Class ContentPerformanceResource
- java.lang.Object
-
- lumis.service.analytics.eventanalytics.report.rest.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 Summary
Constructors Constructor Description ContentPerformanceResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContentPerformance(ContentPerformanceRequestBody requestBody)
Returns the performance of the contents with the given identifiers.Response
goToContentPerformanceDashboard(java.lang.String serviceInstanceId, java.lang.String contentId)
Intermediate endpoint to redirect the user to the correct URL.Response
goToContentPerformanceDashboard(java.lang.String serviceInstanceId, java.lang.String contentId, java.lang.String locale)
Intermediate endpoint to redirect the user to the correct URL.
-
-
-
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 instancecontentIds
- 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 identifiercontentId
- 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 identifiercontentId
- the content identifierlocale
- the content locale- Returns:
- a redirect response.
- Throws:
PortalException
- Since:
- 16.0.0
-
-