Result Service
class ResultService
Functions
Link copied to clipboard
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>?, format: ImageFormat = ImageFormat.PNG): Result<ResultResource, Exception>
Create a new result for a screen.
Link copied to clipboard
Delete a specific result
Link copied to clipboard
Download the snapshot of a specific result
Link copied to clipboard
View details of a specific result
Link copied to clipboard
suspend fun list(screenId: String, parameters: ResultParameters? = null): Result<List<ResultResource>, Exception>
Get a list of all results belonging to the provided screenId
Link copied to clipboard
suspend fun update(resultId: String, vendor: String? = null, rule: String? = null, type: SeverityType? = null, description: String? = null, screenshots: List<Bitmap>? = null, format: ImageFormat = ImageFormat.PNG): Result<ResultResource, Exception>
Update a result.