blob: 2c3aaa38ab673869b28113374e7af5f5b86fdd00 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
using LibMatrix.Homeservers;
using Microsoft.AspNetCore.Mvc;
namespace LibMatrix.FederationTest.Controllers;
[ApiController]
[Route("_matrix/federation/v1/")]
public class FederationVersionController : ControllerBase {
[HttpGet("version")]
public ServerVersionResponse GetVersion() {
return new ServerVersionResponse {
Server = new() {
Name = "LibMatrix.Federation",
Version = "0.0.0",
}
};
}
}
|