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 report for an app within a team.

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

Delete a report.

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

Get a report.

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

Get the list of reports for a user.

suspend fun list(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.