BaseUrl

sealed class BaseUrl

Represents the base URL configuration for the Umami API.

The url must include the path prefix (e.g. /v1 for Cloud, /api for self-hosted) and should end with a trailing slash for correct path joining.

Inheritors

Types

Link copied to clipboard
data object Cloud : BaseUrl

Umami Cloud: https://api.umami.is/v1/.

Link copied to clipboard
class SelfHosted(url: Url) : BaseUrl

A self-hosted Umami instance.

Properties

Link copied to clipboard
val url: Url