-
Notifications
You must be signed in to change notification settings - Fork 2
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
Change API according to Eran's request #5
Comments
The request should be something like that: {
userIds: number[],
loggedInUserId: number
} The route will do the following:
The response should be something like that: {
isTeamMember: boolean,
userStatuses: { [userId: number]: Status }[]
} |
I can help with that. If we can get by on putting this in query param that would be better.
In the future you might want to filter by other things as well
But if the list of users you query for is really big, it will surpass the url limit (2,083 characters) |
I think that we won't reach that limit in the query string. The query string should accept two params: |
This is not the meaning of the param, just a bad naming. :) |
@eranshmil I can take this.
|
Replace the get route with a route that receives a list of ids and returns the once that are bots - from the given list.
The text was updated successfully, but these errors were encountered: