Class WebAnalyticEventResource

    • Constructor Detail

    • Method Detail

      • list

        @GET
        public ResultList<WebAnalyticEvent> list​(@Context
                                                 javax.ws.rs.core.UriInfo uriInfo,
                                                 @Context
                                                 javax.ws.rs.core.SecurityContext securityContext,
                                                 @QueryParam("fields")
                                                 String fieldsParam,
                                                 @DefaultValue("10") @QueryParam("limit") @Min(0L) @Max(1000000L)
                                                 @javax.validation.constraints.Min(0L),@javax.validation.constraints.Max(1000000L) int limitParam,
                                                 @QueryParam("before")
                                                 String before,
                                                 @QueryParam("after")
                                                 String after,
                                                 @QueryParam("include") @DefaultValue("non-deleted")
                                                 Include include)
      • create

        @POST
        public javax.ws.rs.core.Response create​(@Context
                                                javax.ws.rs.core.UriInfo uriInfo,
                                                @Context
                                                javax.ws.rs.core.SecurityContext securityContext,
                                                @Valid
                                                @Valid CreateWebAnalyticEvent create)
      • createOrUpdate

        @PUT
        public javax.ws.rs.core.Response createOrUpdate​(@Context
                                                        javax.ws.rs.core.UriInfo uriInfo,
                                                        @Context
                                                        javax.ws.rs.core.SecurityContext securityContext,
                                                        @Valid
                                                        @Valid CreateWebAnalyticEvent create)
      • get

        @GET
        @Path("/{id}")
        public WebAnalyticEvent get​(@Context
                                    javax.ws.rs.core.UriInfo uriInfo,
                                    @PathParam("id")
                                    UUID id,
                                    @Context
                                    javax.ws.rs.core.SecurityContext securityContext,
                                    @QueryParam("fields")
                                    String fieldsParam,
                                    @QueryParam("include") @DefaultValue("non-deleted")
                                    Include include)
      • updateDescription

        @PATCH
        @Path("/{id}")
        @Consumes("application/json-patch+json")
        public javax.ws.rs.core.Response updateDescription​(@Context
                                                           javax.ws.rs.core.UriInfo uriInfo,
                                                           @Context
                                                           javax.ws.rs.core.SecurityContext securityContext,
                                                           @PathParam("id")
                                                           UUID id,
                                                           javax.json.JsonPatch patch)
      • delete

        @DELETE
        @Path("/{id}")
        public javax.ws.rs.core.Response delete​(@Context
                                                javax.ws.rs.core.UriInfo uriInfo,
                                                @Context
                                                javax.ws.rs.core.SecurityContext securityContext,
                                                @QueryParam("hardDelete") @DefaultValue("false")
                                                boolean hardDelete,
                                                @PathParam("id")
                                                UUID id)
      • delete

        @DELETE
        @Path("/name/{fqn}")
        public javax.ws.rs.core.Response delete​(@Context
                                                javax.ws.rs.core.UriInfo uriInfo,
                                                @Context
                                                javax.ws.rs.core.SecurityContext securityContext,
                                                @QueryParam("hardDelete") @DefaultValue("false")
                                                boolean hardDelete,
                                                @PathParam("fqn")
                                                String fqn)
      • restoreWebAnalyticEvent

        @PUT
        @Path("/restore")
        public javax.ws.rs.core.Response restoreWebAnalyticEvent​(@Context
                                                                 javax.ws.rs.core.UriInfo uriInfo,
                                                                 @Context
                                                                 javax.ws.rs.core.SecurityContext securityContext,
                                                                 @Valid
                                                                 @Valid RestoreEntity restore)
      • getByName

        @GET
        @Path("/name/{fqn}")
        public WebAnalyticEvent getByName​(@Context
                                          javax.ws.rs.core.UriInfo uriInfo,
                                          @PathParam("fqn")
                                          String fqn,
                                          @Context
                                          javax.ws.rs.core.SecurityContext securityContext,
                                          @QueryParam("fields")
                                          String fieldsParam,
                                          @QueryParam("include") @DefaultValue("non-deleted")
                                          Include include)
      • listVersions

        @GET
        @Path("/{id}/versions")
        public EntityHistory listVersions​(@Context
                                          javax.ws.rs.core.UriInfo uriInfo,
                                          @Context
                                          javax.ws.rs.core.SecurityContext securityContext,
                                          @PathParam("id")
                                          UUID id)
      • getVersion

        @GET
        @Path("/{id}/versions/{version}")
        public WebAnalyticEvent getVersion​(@Context
                                           javax.ws.rs.core.UriInfo uriInfo,
                                           @Context
                                           javax.ws.rs.core.SecurityContext securityContext,
                                           @PathParam("id")
                                           UUID id,
                                           @PathParam("version")
                                           String version)
      • addReportResult

        @PUT
        @Path("/collect")
        public javax.ws.rs.core.Response addReportResult​(@Context
                                                         javax.ws.rs.core.UriInfo uriInfo,
                                                         @Context
                                                         javax.ws.rs.core.SecurityContext securityContext,
                                                         @Valid
                                                         @Valid WebAnalyticEventData webAnalyticEventData)
      • deleteWebAnalyticEventData

        @DELETE
        @Path("/{name}/{timestamp}/collect")
        public javax.ws.rs.core.Response deleteWebAnalyticEventData​(@Context
                                                                    javax.ws.rs.core.UriInfo uriInfo,
                                                                    @Context
                                                                    javax.ws.rs.core.SecurityContext securityContext,
                                                                    @PathParam("name")
                                                                    WebAnalyticEventType name,
                                                                    @PathParam("timestamp")
                                                                    Long timestamp)
      • listWebAnalyticEventData

        @GET
        @Path("/collect")
        public ResultList<WebAnalyticEventData> listWebAnalyticEventData​(@Context
                                                                         javax.ws.rs.core.SecurityContext securityContext,
                                                                         @NonNull @QueryParam("eventType")
                                                                         @NonNull String eventType,
                                                                         @NonNull @QueryParam("startTs")
                                                                         @NonNull Long startTs,
                                                                         @NonNull @QueryParam("endTs")
                                                                         @NonNull Long endTs)