Interface AdminApi


  • @Path("/_matrix/client/r0/admin")
    @Produces("application/json")
    public interface AdminApi
    Gets information about a particular user.
    • Method Summary

      Modifier and Type Method Description
      void whois​(String userId, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders httpHeaders, javax.ws.rs.container.AsyncResponse asyncResponse, javax.ws.rs.core.SecurityContext securityContext)
      This API may be restricted to only be called by the user being looked up, or by a server admin.
    • Method Detail

      • whois

        @GET
        @Path("/whois/{userId}")
        void whois​(@PathParam("userId")
                   String userId,
                   @Context
                   javax.ws.rs.core.UriInfo uriInfo,
                   @Context
                   javax.ws.rs.core.HttpHeaders httpHeaders,
                   @Suspended
                   javax.ws.rs.container.AsyncResponse asyncResponse,
                   @Context
                   javax.ws.rs.core.SecurityContext securityContext)
        This API may be restricted to only be called by the user being looked up, or by a server admin. Server-local administrator privileges are not specified in this document.
        Requires auth: Yes.
        Return: AdminResponse.

        Status code 200: The lookup was successful.

        Parameters:
        userId - Required. The user to look up.
        uriInfo - Request Information.
        httpHeaders - Http headers.
        asyncResponse - Asynchronous response.
        securityContext - Security context.