create
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.
Parameters
screen Id
The screen ID (path parameter).
vendor
The slug associated with the ai.abra.api.model.resources.VendorResource.
rule
The slug associated with the ai.abra.api.model.resources.RuleResource.
type
The severity type, SeverityType.
description
The result description.
source
The source type, Source.
hash
The hash (optional).
snapshots
The list of snapshots (optional).
screenshots
The list of screenshots (optional).
format
The ImageFormat to use for the screenshots.
Create multiple new results for a screen.
Parameters
screen Id
The screen ID (path parameter).
results
The results container with data, snapshots and screenshots