list
abstract fun list(teamId: String?, max: Int?, type: Space.SpaceType?, sortBy: SpaceClient.SortBy?, handler: CompletionHandler<List<Space>>)
Lists all spaces where the authenticated user belongs.
Since
0.1
Parameters
team Id
If not null, only list the spaces that are associated with the team by team id. (Derived parameter: Use TeamClient.list to get a list of teams. Then use Team.id to retrieve the teamId)
max
The maximum number of spaces in the response.
type
If not null, only list the spaces of this type. Otherwise all spaces are listed.
sort By
Sort results by space ID (id), most recent activity (lastactivity), or most recently created (created).
handler
A closure to be executed once the request has finished.