The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/app/api/server/helpers
Marcos Spessatto Defendi 472a6ea772 Deprecate /api/v1/info in favor of /api/info (#13798) 7 years ago
..
README.md Move files from packages to imports 7 years ago
composeRoomWithLastMessage.js Convert imports to relative paths (#13740) 7 years ago
deprecationWarning.js Deprecate /api/v1/info in favor of /api/info (#13798) 7 years ago
getLoggedInUser.js Convert imports to relative paths (#13740) 7 years ago
getPaginationItems.js Convert imports to relative paths (#13740) 7 years ago
getUserFromParams.js Convert imports to relative paths (#13740) 7 years ago
getUserInfo.js Convert imports to relative paths (#13740) 7 years ago
insertUserObject.js Convert imports to relative paths (#13740) 7 years ago
isUserFromParams.js Move files from packages to imports 7 years ago
parseJsonQuery.js Convert imports to relative paths (#13740) 7 years ago
requestParams.js Move files from packages to imports 7 years ago

README.md

REST API Helpers

What are they?

Helpers are functions which get injected into the context of this on each request the REST API recieves. This allows for commonly used code, such as retriving the target user, to be placed in one spot and used throughout the entire REST API code base.