Manage Spaces
Pre-requisite: The user has to be signed in to perform the following operations.
Create Space
To create a space, you need to provide the following details:
request(required): The space information.
Factory.spaceService.createSpace(request: CreateSpaceRequest) -> IVPublisher<Void>
Get Spaces
To get the list of spaces, the following method can be called.
Factory.spaceService.spaces() -> IVPublisher<[SpaceModel]>
Update Space
To update the space information, the following method can be called.
spaceId(required): The id of the space.request(required): The updated space information.
Factory.spaceService.updateSpace(spaceId: String, request: CreateSpaceRequest) -> IVPublisher<Void>