ReportService

Functions

Link copied to clipboard
suspend fun create(teamId: String, appId: String, name: String, source: Source, priority: Priority?, testDevice: String?, osVersion: String?, snapshot: String?): Result<ReportResource, Exception>

Create a new report for an app within a team.

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

Delete the report for a specific app

Link copied to clipboard
suspend fun getReports(): Result<List<ReportResource>, Exception>

Get the list of reports for a user.

suspend fun getReports(appId: String, teamId: String?): Result<List<ReportResource>, Exception>

Get the list of reports for an app.

Link copied to clipboard
suspend fun update(reportId: String, name: String? = null, state: ReportState? = null): Result<ReportResource, Exception>

Update a report.