Result Service
class ResultService
Functions
Link copied to clipboard
Create multiple 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 result for a screen.
Link copied to clipboard
Delete a result.
Link copied to clipboard
Delete the screenshot of a result.
Link copied to clipboard
Download the snapshot of a result.
Link copied to clipboard
Get a result.
Link copied to clipboard
suspend fun list(screenId: String, parameters: ResultParameters? = null): Result<List<ResultResource>, Exception>
Get the list of results for a screen.
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.