io.apicurio.registry.rest.v3.UsersResource Maven / Gradle / Ivy
The newest version!
package io.apicurio.registry.rest.v3;
import io.apicurio.registry.rest.v3.beans.UserInfo;
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/v3/users")
public interface UsersResource {
/**
*
* Returns information about the currently authenticated user.
*
*
*/
@Path("/me")
@GET
@Produces("application/json")
UserInfo getCurrentUserInfo();
}