Interface VersionApi


  • @Path("/_matrix/federaion/v1")
    @Produces("application/json")
    public interface VersionApi
    Version of the server federation endpoints.
    • Method Summary

      Modifier and Type Method Description
      void version​(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders httpHeaders, javax.ws.rs.container.AsyncResponse asyncResponse)
      Get the implementation name and version of this homeserver.
    • Method Detail

      • version

        @GET
        @Path("/version")
        void version​(@Context
                     javax.ws.rs.core.UriInfo uriInfo,
                     @Context
                     javax.ws.rs.core.HttpHeaders httpHeaders,
                     @Suspended
                     javax.ws.rs.container.AsyncResponse asyncResponse)
        Get the implementation name and version of this homeserver.
        Return: VersionResponse

        Status code 200: The implementation name and version of this homeserver.

        Parameters:
        uriInfo - Request Information.
        httpHeaders - Http headers.
        asyncResponse - Asynchronous response.