10-28-2017 10:07 PM - edited 03-18-2019 01:34 PM
Hi,
Reading the API guide v2.2, I do not see any robust way to query the list of coSpaces associated with a particular user. I can use: /users/<userJid>/usercoSpaces to retrieve the personal space of the user but I miss an API command such as: /users/<userrJid>/userOwnedcoSpaces which will return a list including all coSpaces where <owerJid> = <userJid>.
I can obviously use: /coSpaces?filter=<SearchPattern> but it will not be really robust.
Am I am missing something or is it something to consider for future release of the API?
Any clue @Zoltan Kelemen or @Jaime Valencia?
10-29-2017 04:36 PM
10-30-2017 12:21 AM
Thanks for your answer.
Don't you think that it should be proposed to the API team as a feature request? Too me, it seems fairly logical that an instructions allows you to retrieve all owned space from a specific user.
You are right regarding the use of "/users/<user ID>/usercoSpaces". Do you know if there is a way to get the personal CoSpace associated with a user?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide