This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Api{ | |
suspend fun createComment(comment:Comment):RegularComment? | |
suspend fun readComments() | |
suspend fun readComment(id:String) | |
suspend fun updateComment(id:String, comment:RegularComment) | |
suspend fun deleteComment(id:String) | |
suspend fun createAnnotation(annotation:Annotation):Annotation? | |
suspend fun readAnnotations() | |
suspend fun readAnnotation(id:String) | |
suspend fun updateAnnotation(id:String, annotation: Annotation) |