Me

class Me(umami: Umami)

Provides functionalities for interacting with the Me API in Umami.

Parameters

umami

The Umami instance used for making HTTP requests.

Constructors

Link copied to clipboard
constructor(umami: Umami)

Functions

Link copied to clipboard
suspend fun getSession(): Session

Retrieves the current session information for the authenticated user.

Link copied to clipboard
suspend fun getTeams(): SearchResponse<Team>

Retrieves a list of teams for the authenticated user.

Link copied to clipboard
suspend fun getWebsites(includeTeams: Boolean? = null): SearchResponse<Website>

Retrieves a list of websites for the authenticated user.