getBookmark

abstract suspend fun getBookmark(contentId: String): Result<BookmarksRecord, Error>

Fetches a BookmarksRecord instance for a given content identifier if successful.

Return

Result.Success with a com.quickplay.vstb7.platform.model.SingleDataResponse containing BookmarksRecord object if the Bookmark Microservice call is successful or Result.Failure with Error object otherwise.

Parameters

contentId

unique identifier of the item. This could be the content identifier or the resource identifier.