Class ReportResource

java.lang.Object
org.openmetadata.service.resources.EntityResource<Report,ReportRepository>
org.openmetadata.service.resources.reports.ReportResource

@Path("/v1/reports") @Produces("application/json") @Consumes("application/json") public class ReportResource extends EntityResource<Report,ReportRepository>
  • Field Details

  • Constructor Details

    • ReportResource

      public ReportResource(Authorizer authorizer)
  • Method Details

    • getEntitySpecificOperations

      protected List<MetadataOperation> getEntitySpecificOperations()
      Overrides:
      getEntitySpecificOperations in class EntityResource<Report,ReportRepository>
    • list

      @GET public ResultList<Report> list(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("fields") String fieldsParam)
    • get

      @GET @Path("/{id}") public Report get(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.SecurityContext securityContext, @PathParam("id") UUID id, @QueryParam("fields") String fieldsParam, @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 Report report)
      Overrides:
      create in class EntityResource<Report,ReportRepository>
    • 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 Report report)
      Overrides:
      createOrUpdate in class EntityResource<Report,ReportRepository>
    • updateVote

      @PUT @Path("/{id}/vote") public javax.ws.rs.core.Response updateVote(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.SecurityContext securityContext, @PathParam("id") UUID id, @Valid @Valid VoteRequest request)