Support appservice r0 spec

This commit is contained in:
Travis Ralston 2018-09-16 02:25:17 -06:00
parent cd655cbc26
commit c5247ddc0b

View File

@ -11,11 +11,8 @@ interface AppServiceTransaction {
/**
* API for handling appservice traffic from a homeserver
*/
// Note: There's no actual defined prefix for this API. The following was chosen to be
// somewhat consistent with the other matrix APIs. In reality, the homeserver will just
// hit the URL given in the registration - be sure to define it to match this prefix.
// Eg: `url: "http://localhost:8184/_matrix/appservice/r0"`
@Path("/_matrix/appservice/r0")
@Path("/_matrix/app/v1") // the matrix spec version
export class MatrixAppServiceApiService {
@PUT