io.apicurio.registry.rest.v2.SystemResource Maven / Gradle / Ivy
The newest version!
package io.apicurio.registry.rest.v2;
import io.apicurio.registry.rest.v2.beans.Limits;
import io.apicurio.registry.rest.v2.beans.SystemInfo;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
/**
* A JAX-RS interface. An implementation of this interface must be provided.
*/
@Path("/apis/registry/v2/system")
public interface SystemResource {
/**
*
* This operation retrieves information about the running registry system, such
* as the version of the software and when it was built.
*
*
*/
@Path("/info")
@GET
@Produces("application/json")
SystemInfo getSystemInfo();
/**
*
* This operation retrieves the list of limitations on used resources, that are
* applied on the current instance of Registry.
*
*
*/
@Path("/limits")
@GET
@Produces("application/json")
Limits getResourceLimits();
}