ScreenService

Functions

Link copied to clipboard
suspend fun create(reportId: String, name: String, path: String?, className: String?): Result<ScreenResource, Exception>

Create a new screen.

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

Delete a screen with attached results from a report

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

View details of a specific screen.

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

Get the list of screens for a report.

Link copied to clipboard
suspend fun update(screenId: String, name: String? = null, path: String? = null): Result<ScreenResource, Exception>

Update the screen title for the screen with the provided screenId