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
Felipe 0178c212fa
Chore: APIClass types (#24747)
4 years ago
..
README.md Move files from packages to imports 7 years ago
composeRoomWithLastMessage.ts Chore: APIClass types (#24747) 4 years ago
deprecationWarning.ts Chore: APIClass types (#24747) 4 years ago
getLoggedInUser.ts Chore: APIClass types (#24747) 4 years ago
getPaginationItems.ts Chore: APIClass types (#24747) 4 years ago
getUserFromParams.ts Chore: APIClass types (#24747) 4 years ago
getUserInfo.ts Chore: APIClass types (#24747) 4 years ago
insertUserObject.ts Chore: APIClass types (#24747) 4 years ago
isUserFromParams.ts Chore: APIClass types (#24747) 4 years ago
isWidget.ts Chore: APIClass types (#24747) 4 years ago
parseJsonQuery.js Chore: Prettier for us all (#24000) 4 years ago
requestParams.ts Chore: APIClass types (#24747) 4 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.