aboutsummaryrefslogtreecommitdiff
path: root/userapi/api/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'userapi/api/api.go')
-rw-r--r--userapi/api/api.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/userapi/api/api.go b/userapi/api/api.go
index dc8c12b7..df9408ac 100644
--- a/userapi/api/api.go
+++ b/userapi/api/api.go
@@ -31,6 +31,8 @@ type UserInternalAPI interface {
ClientUserAPI
MediaUserAPI
FederationUserAPI
+ RoomserverUserAPI
+ KeyserverUserAPI
QuerySearchProfilesAPI // used by p2p demos
}
@@ -41,6 +43,15 @@ type AppserviceUserAPI interface {
PerformDeviceCreation(ctx context.Context, req *PerformDeviceCreationRequest, res *PerformDeviceCreationResponse) error
}
+type KeyserverUserAPI interface {
+ QueryDevices(ctx context.Context, req *QueryDevicesRequest, res *QueryDevicesResponse) error
+ QueryDeviceInfos(ctx context.Context, req *QueryDeviceInfosRequest, res *QueryDeviceInfosResponse) error
+}
+
+type RoomserverUserAPI interface {
+ QueryAccountData(ctx context.Context, req *QueryAccountDataRequest, res *QueryAccountDataResponse) error
+}
+
// api functions required by the media api
type MediaUserAPI interface {
QueryAcccessTokenAPI