Add /_dendrite/admin/downloadState/{serverName}/{roomID} admin endpoint

This commit is contained in:
Neil Alexander 2022-10-31 09:13:28 +00:00
parent 69aff372f3
commit f10c6f26e5
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
8 changed files with 238 additions and 12 deletions

View file

@ -237,3 +237,13 @@ type PerformAdminEvacuateUserResponse struct {
Affected []string `json:"affected"`
Error *PerformError
}
type PerformAdminDownloadStateRequest struct {
RoomID string `json:"room_id"`
UserID string `json:"user_id"`
ServerName gomatrixserverlib.ServerName `json:"server_name"`
}
type PerformAdminDownloadStateResponse struct {
Error *PerformError `json:"error,omitempty"`
}