ResultService

Functions

Link copied to clipboard
suspend fun create(screenId: String, results: Results): Result<MessageResponse, Exception>

Create multiple new results for a screen.

suspend fun create(screenId: String, vendor: String, rule: String, type: SeverityType, description: String, source: Source, hash: String?, snapshots: List<String>?, screenshots: List<Bitmap>?): Result<ResultResource, Exception>

Create a new result for a screen.

Link copied to clipboard
suspend fun delete(resultId: String): Result<MessageResponse, Exception>

Delete a result

Link copied to clipboard
suspend fun get(resultId: String): Result<ResultResource, Exception>

View details of a specific result

Link copied to clipboard
suspend fun list(screenId: String): Result<List<ResultResource>, Exception>

Get a list of all results belonging to the provided screenId