Groups

inner class Groups

Group operations. Reached via groups.

Functions

Link copied to clipboard
suspend fun addMember(webId: String, groupUri: String, contactUri: String): FullGroup?

Adds the contact at contactUri to the group at groupUri.

Link copied to clipboard
suspend fun create(webId: String, addressBookUri: String, title: String, contactUris: List<String> = emptyList()): FullGroup?

Creates a group titled title, optionally seeded with contactUris.

Link copied to clipboard
suspend fun delete(webId: String, addressBookUri: String, groupUri: String): FullGroup?

Deletes the group at groupUri.

Link copied to clipboard
suspend fun get(webId: String, groupUri: String): FullGroup?

Reads the group at groupUri.

Link copied to clipboard
suspend fun removeMember(webId: String, groupUri: String, contactUri: String): FullGroup?

Removes the contact at contactUri from the group at groupUri.