SelfHosted

class SelfHosted(url: Url) : BaseUrl

A self-hosted Umami instance.

Parameters

url

The full base URL including the path prefix and trailing slash (e.g. Url("https://umami.my-domain.com/api/")).

Constructors

Link copied to clipboard
constructor(url: Url)
constructor(baseUrl: String, prefix: String = "api")

Convenience constructor that builds the Url from a base URL string and an optional path prefix.

Properties

Link copied to clipboard
val url: Url