getTeams

suspend fun getTeams(search: String? = null, page: Int? = null, pageSize: Int? = null): SearchResponse<Team>

Retrieves a paginated list of teams from the Umami API.

Return

A SearchResponse containing a list of Team objects.

Parameters

search

Optional search string to filter teams by.

page

Optional page number for pagination.

pageSize

Optional number of results per page.