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/packages/rocketchat-api/server/helpers
Diego Sampaio db6aa025d0
Add new eslint rules (#11800)
7 years ago
..
README.md Add a readme to the helpers to clearify what they are 8 years ago
deprecationWarning.js Add new eslint rules (#11800) 7 years ago
getLoggedInUser.js Add new eslint rules (#11800) 7 years ago
getPaginationItems.js Add new eslint rules (#11800) 7 years ago
getUserFromParams.js Add new eslint rules (#11800) 7 years ago
getUserInfo.js Add new eslint rules (#11800) 7 years ago
insertUserObject.js Add new eslint rules (#11800) 7 years ago
isUserFromParams.js Move the helpers out of the individual api versions, this way others can make usage of them without duplicating code 8 years ago
parseJsonQuery.js Add new eslint rules (#11800) 7 years ago
requestParams.js Move the helpers out of the individual api versions, this way others can make usage of them without duplicating code 8 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.