Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Rest API options #3115

Closed
Ron537 opened this issue May 3, 2016 · 5 comments · Fixed by #5140
Closed

More Rest API options #3115

Ron537 opened this issue May 3, 2016 · 5 comments · Fixed by #5140

Comments

@Ron537
Copy link

Ron537 commented May 3, 2016

Hello,
I think we should add more Rest API functions.
Currently we can only get public rooms, join public room, leave public room, get public room's messages and send a message to public room.

There are some functionalities that can make our life easier, for example:

  1. Create private / public room (with option to add members already in the creation)
  2. Join non-public rooms
  3. Add option to modify room (public / private) - Edit name / descriptions / participants etc..

This functions are very important for our integrations, otherwise we won't be able to integrate to applications.

@marceloschmidt
Copy link
Member

Definitely something we need to work on... feel free to open PRs, we'll gladly accept them :) Thanks!

@theblazehen
Copy link

You might also want to look at connecting with the meteor interface

@Ron537
Copy link
Author

Ron537 commented May 4, 2016

@theblazehen Can you explain a little further?

@theblazehen
Copy link

@Ron537 For example, the Rest API could act as a wrapper for meteor methods, so I would be able to call (for example) getRoomIdByNameOrId, or addUserToRoom from the rest API, without having to re-implement those features / methods in the api itself.

I'm not too familiar with the code, but I think if we possibly added say the bulk add to room rest api methods to a method that can be called with meteor, and then just have the wrapper it would reduce the amount of duplicated code.

@Deepakkothandan
Copy link
Contributor

#3525 The PR extends the rest api with the functionailties, list all users, Delete a User and create a private group with optionally adding users to the private group

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants