PersonsApi

class PersonsApi(api: ApiClient) : Api

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun getPerson(name: String, userId: ERROR CLASS: Symbol not found for UUID?? = null): Response<ERROR CLASS: Symbol not found for BaseItemDto>

Get person by name.

Link copied to clipboard
suspend fun getPersons(request: ERROR CLASS: Symbol not found for GetPersonsRequest = GetPersonsRequest()): Response<ERROR CLASS: Symbol not found for BaseItemDtoQueryResult>
suspend fun getPersons(limit: Int? = null, searchTerm: String? = null, fields: Collection<ERROR CLASS: Symbol not found for ItemFields>? = emptyList(), filters: Collection<ERROR CLASS: Symbol not found for ItemFilter>? = emptyList(), isFavorite: Boolean? = null, enableUserData: Boolean? = null, imageTypeLimit: Int? = null, enableImageTypes: Collection<ERROR CLASS: Symbol not found for ImageType>? = emptyList(), excludePersonTypes: Collection<String>? = emptyList(), personTypes: Collection<String>? = emptyList(), appearsInItemId: ERROR CLASS: Symbol not found for UUID?? = null, userId: ERROR CLASS: Symbol not found for UUID?? = null, enableImages: Boolean? = true): Response<ERROR CLASS: Symbol not found for BaseItemDtoQueryResult>

Gets all persons.