list

abstract fun list(spaceId: String?, personId: String?, personEmail: String?, max: Int?, handler: CompletionHandler<List<Membership>>)

Fetches the list of membership based on the provided params

Since

0.1

Parameters

spaceId

The identifier of the space where the membership belongs. (Derived parameter: Use SpaceClient.list to get the list of spaces. Then use Space.id to retrieve the spaceId)

personId

The identifier of the person who has the memberships. (Derived parameter: Use MembershipClient.list to get the list of members. Then use Membership.personId to get the personId of the member).

personEmail

The email address of the person who has the memberships. (Derived parameter: Use MembershipClient.list to get the list of members. Then use Membership.personEmail to get the email address of the member).

max

The maximum number of items in the response.

handler

A closure to be executed once the request has finished.