How do I get all teams a user has already joined?
Ok, then what is /all_team_listings supposed to do? By the way, when I use /all I receive back 4 teams when the user only has access to 2.
View ArticleHow do I get all teams a user has already joined?
I don't know the uses to /all_team_listings but when the user have acces to 6 teams, /all_team_listings only return one and /all return six teams
View ArticleHow do I get all teams a user has already joined?
Can you try when the user only has access to 1 team when there are 6 teams possible? But anyway, my main question is how are you doing the /all_team_listings call?
View ArticleHow do I get all teams a user has already joined?
If the user has only acces to one team, /allshow the 6 teams :s I do a get to /api/v3/teams/all_team_listings with in the header the token like this Authorization: Bearer Token
View ArticleHow do I get all teams a user has already joined?
I've been trying like this and I am getting the error I originally mentioned. @GET("/api/v3/teams/all_team_listings") Promise<Object> getMyJoinedTeamsWHeader(@Header("Authorization: Bearer...
View ArticleHow do I get all teams a user has already joined?
Hi @Julia and @xgerber, Sorry, the APIs are a bit confusing since they were only designed with our web app in mind so they kind of grew organically. The call that you want is...
View ArticleHow do I get all teams a user has already joined?
I see, I'll try using /initial_load then, out of curiostiy, what are the other two supposed to do? Also, is the token set server side using the /login line or should I be doing something client side...
View ArticleHow do I get all teams a user has already joined?
Calling /initial_load returns a Promise<InitialLoad> object which is just a wrapper for a User object. User only has fields pertaining to name, email, password, etc., there is nothing in there...
View ArticleStart MM via systemd ubuntu 16.04
My previous install used to start mm with an init.d script also. It had a setuid line for starting as a specific user (I think). How can we use systemd start mm as a specific user? If the issue of the...
View ArticleDebian 8 nginx 502 error
for surehere is my nginx.conf i hope you can find the problem kind regardsFlix
View ArticleClarification on ApiUserRequired in platform's api.go
Hi @Julia First of all let me clarify the ApiUserRequired it actually means that the API route requires a valid user session, meaning that the user actually is logged in, that's all it does. Now...
View Article[SOLVED] Token expiration date
Hi @xgerber, Yes the token expires, you can set the expiration time for the token in System Console -> Security -> Sessions -> Session length LDAP and email (days): the default value is 30...
View Article[SOLVED] How do I get all teams a user has already joined?
Calling /initial_load returns this Json : { "user": { "id": "atmuq3rojiftxqwr7iwmqtubaw", "create_at": 1470910198366, "update_at": 1470910198722, "delete_at": 0, "username": "user1", "auth_data": "",...
View Article[SOLVED] Token expiration date
Thanks @elias for this answer. An other question, is it possible to renew it with a restapi call?
View ArticleRevoking invitation to join a team / remove user from a team
I sent an invitation to someone for the wrong team. How can I revoke the invitation?How can I remove a user from one team (but not from the other teams)? thanks,Tist
View Article[SOLVED] How do I get all teams a user has already joined?
/all_team_listings gives the list of open teams that any user may join without an invite. You can see it on the page that shows up when you first log in if there's any open teams available. /all...
View ArticleQuick jump on last message when multiple teams
Hi @brunodegoyrans, We don't have anything like that yet, but we'd like to add something like that in the future. If you have any specific ideas for what you'd like, feel free to post a feature idea...
View ArticleFailed to verify your email. - Invalid hid parameter?
Summary New mattermost 3.2 team edition gives this error when a user validates his email by clicking the provided link. Steps to reproduce mattermost 3.2.0 Google didn't help. Not exactly sure what...
View Article[SOLVED] How do I get all teams a user has already joined?
Finally got it working, thanks guys!
View Article