list
abstract fun list( teamId: String?, max: Int?, type: Space.SpaceType?, sortBy: SpaceClient.SortBy?, handler: CompletionHandler<List<Space>>)
Content copied to clipboard
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.
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.