Documentation ¶
Index ¶
Constants ¶
View Source
const ( InputAccountDataPath = "/userapi/inputAccountData" PerformDeviceCreationPath = "/userapi/performDeviceCreation" PerformAccountCreationPath = "/userapi/performAccountCreation" PerformPasswordUpdatePath = "/userapi/performPasswordUpdate" PerformDeviceDeletionPath = "/userapi/performDeviceDeletion" PerformLastSeenUpdatePath = "/userapi/performLastSeenUpdate" PerformDeviceUpdatePath = "/userapi/performDeviceUpdate" PerformAccountDeactivationPath = "/userapi/performAccountDeactivation" PerformOpenIDTokenCreationPath = "/userapi/performOpenIDTokenCreation" PerformKeyBackupPath = "/userapi/performKeyBackup" PerformPusherSetPath = "/pushserver/performPusherSet" PerformPusherDeletionPath = "/pushserver/performPusherDeletion" PerformPushRulesPutPath = "/pushserver/performPushRulesPut" PerformSetAvatarURLPath = "/userapi/performSetAvatarURL" PerformSetDisplayNamePath = "/userapi/performSetDisplayName" PerformForgetThreePIDPath = "/userapi/performForgetThreePID" PerformSaveThreePIDAssociationPath = "/userapi/performSaveThreePIDAssociation" QueryKeyBackupPath = "/userapi/queryKeyBackup" QueryProfilePath = "/userapi/queryProfile" QueryAccessTokenPath = "/userapi/queryAccessToken" QueryDevicesPath = "/userapi/queryDevices" QueryAccountDataPath = "/userapi/queryAccountData" QueryDeviceInfosPath = "/userapi/queryDeviceInfos" QuerySearchProfilesPath = "/userapi/querySearchProfiles" QueryOpenIDTokenPath = "/userapi/queryOpenIDToken" QueryPushersPath = "/pushserver/queryPushers" QueryPushRulesPath = "/pushserver/queryPushRules" QueryNotificationsPath = "/pushserver/queryNotifications" QueryNumericLocalpartPath = "/userapi/queryNumericLocalpart" QueryAccountAvailabilityPath = "/userapi/queryAccountAvailability" QueryAccountByPasswordPath = "/userapi/queryAccountByPassword" QueryLocalpartForThreePIDPath = "/userapi/queryLocalpartForThreePID" QueryThreePIDsForLocalpartPath = "/userapi/queryThreePIDsForLocalpart" QueryAccountByLocalpartPath = "/userapi/queryAccountType" )
HTTP paths for the internal HTTP APIs
View Source
const ( PerformLoginTokenCreationPath = "/userapi/performLoginTokenCreation" PerformLoginTokenDeletionPath = "/userapi/performLoginTokenDeletion" QueryLoginTokenPath = "/userapi/queryLoginToken" )
Variables ¶
This section is empty.
Functions ¶
func AddRoutes ¶
func AddRoutes(internalAPIMux *mux.Router, s api.UserInternalAPI, enableMetrics bool)
nolint: gocyclo
func NewUserAPIClient ¶
NewUserAPIClient creates a UserInternalAPI implemented by talking to a HTTP POST API. If httpClient is nil an error is returned
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.