Class FedoraRepositoryStats


  • @Scope("request")
    @Path("/fcr:stats")
    public class FedoraRepositoryStats
    extends FedoraBaseResource
    An HTTP endpoint for retrieving statistics related to the repository.
    Since:
    2022-01-27
    Author:
    dbernstein
    • Method Detail

      • getStats

        @GET
        @Produces({"application/json;qs=1.0","application/json"})
        public javax.ws.rs.core.Response getStats()
        Query summary info
        Returns:
      • getStatsByRdfType

        @GET
        @Path("/rdf-types")
        @Produces({"application/json;qs=1.0","application/json"})
        public javax.ws.rs.core.Response getStatsByRdfType​(@QueryParam("rdf_type")
                                                           List<String> rdfTypes)
        Method for querying rdf type stats
        Parameters:
        rdfTypes - A list of rdf types by which to limit the results. By default show all rdf types.
        Returns:
      • getBinaryStats

        @GET
        @Path("/binaries")
        @Produces({"application/json;qs=1.0","application/json"})
        public javax.ws.rs.core.Response getBinaryStats​(@QueryParam("mime_type")
                                                        List<String> mimeTypes)
        Method for querying binary stats
        Parameters:
        mimeTypes - A list of mime types by which to limit the results. By default show all binary mime types.
        Returns: