blob: 71a30d5b3e687c60bbdb07330aa17fb5a31afb7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
use Matrix::Client::Requester;
unit class Matrix::Client::Admin does Matrix::Client::Requester;
submethod TWEAK {
$!client-endpoint = '/_synapse/admin/v1';
}
method account-validity() {
X::NYI.new(
feature => &?ROUTINE.name
).throw;
}
method delete-group() {
X::NYI.new(
feature => &?ROUTINE.name
).throw;
}
method media-admin-api() {
X::NYI.new(
feature => &?ROUTINE.name
).throw;
}
method purge-history-api() {
X::NYI.new(
feature => &?ROUTINE.name
).throw;
}
method purge-remote-media() {
X::NYI.new(
feature => &?ROUTINE.name
).throw;
}
method purge-room() {
X::NYI.new(
feature => &?ROUTINE.name
).throw;
}
method register-api() {
X::NYI.new(
feature => &?ROUTINE.name
).throw;
}
method server-notices() {
X::NYI.new(
feature => &?ROUTINE.name
).throw;
}
method user-admin-api() {
X::NYI.new(
feature => &?ROUTINE.name
).throw;
}
method version-api() {
from-json($.get('/server_version').content)
}
|