Class PrivacyServiceEndPoint


  • @Produces("application/json")
    @Path("/privacy")
    public class PrivacyServiceEndPoint
    extends Object
    REST API end point for privacy service
    • Constructor Detail

      • PrivacyServiceEndPoint

        public PrivacyServiceEndPoint()
    • Method Detail

      • setPrivacyService

        public void setPrivacyService​(PrivacyService privacyService)
      • getServerInfo

        @GET
        @Path("/info")
        public ServerInfo getServerInfo()
      • getServerInfos

        @GET
        @Path("/infos")
        public List<ServerInfo> getServerInfos()
      • deleteProfileData

        @DELETE
        @Path("/profiles/{profileId}")
        public javax.ws.rs.core.Response deleteProfileData​(@PathParam("profileId")
                                                           String profileId,
                                                           @QueryParam("withData") @DefaultValue("false")
                                                           boolean withData,
                                                           @QueryParam("purgeAll") @DefaultValue("false")
                                                           boolean purgeAll)
      • anonymizeProfile

        @POST
        @Path("/profiles/{profileId}/anonymize")
        public void anonymizeProfile​(@PathParam("profileId")
                                     String profileId,
                                     @QueryParam("scope")
                                     String scope)
      • isAnonymousBrowsing

        @GET
        @Path("/profiles/{profileId}/anonymousBrowsing")
        public Boolean isAnonymousBrowsing​(@PathParam("profileId")
                                           String profileId)
      • activateAnonymousBrowsing

        @POST
        @Path("/profiles/{profileId}/anonymousBrowsing")
        public javax.ws.rs.core.Response activateAnonymousBrowsing​(@PathParam("profileId")
                                                                   String profileId,
                                                                   @QueryParam("anonymizePastBrowsing") @DefaultValue("false")
                                                                   boolean past,
                                                                   @QueryParam("scope")
                                                                   String scope)
      • deactivateAnonymousBrowsing

        @DELETE
        @Path("/profiles/{profileId}/anonymousBrowsing")
        public javax.ws.rs.core.Response deactivateAnonymousBrowsing​(@PathParam("profileId")
                                                                     String profileId,
                                                                     @QueryParam("scope")
                                                                     String scope)
      • getEventFilters

        @GET
        @Path("/profiles/{profileId}/eventFilters")
        public List<String> getEventFilters​(@PathParam("profileId")
                                            String profileId)
      • setEventFilters

        @POST
        @Consumes("application/json")
        @Path("/profiles/{profileId}/eventFilters")
        public javax.ws.rs.core.Response setEventFilters​(@PathParam("profileId")
                                                         String profileId,
                                                         List<String> eventFilters)
      • removeProperty

        @DELETE
        @Path("/profiles/{profileId}/properties/{propertyName}")
        public javax.ws.rs.core.Response removeProperty​(@PathParam("profileId")
                                                        String profileId,
                                                        @PathParam("propertyName")
                                                        String propertyName)