commonMain.org.jellyfin.sdk.api.operations.ClientLogApi.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jellyfin-api-jvm Show documentation
Show all versions of jellyfin-api-jvm Show documentation
Official Kotlin/Java SDK for Jellyfin. org.jellyfin.sdk:jellyfin-api-jvm
// !! WARNING
// !! DO NOT EDIT THIS FILE
//
// This file is generated by the openapi-generator module and is not meant for manual changes.
// Please read the README.md file in the openapi-generator module for additional information.
package org.jellyfin.sdk.api.operations
import kotlin.Any
import kotlin.String
import kotlin.collections.emptyMap
import org.jellyfin.sdk.api.client.ApiClient
import org.jellyfin.sdk.api.client.Response
import org.jellyfin.sdk.api.client.extensions.post
import org.jellyfin.sdk.model.api.ClientLogDocumentResponseDto
public class ClientLogApi(
private val api: ApiClient,
) : Api {
/**
* Upload a document.
*/
public suspend fun logFile(`data`: String): Response {
val pathParameters = emptyMap()
val queryParameters = emptyMap()
val response = api.post("/ClientLog/Document", pathParameters,
queryParameters, data)
return response
}
/**
* Upload a document.
*/
public fun logFileUrl(): String {
val pathParameters = emptyMap()
val queryParameters = emptyMap()
return api.createUrl("/ClientLog/Document", pathParameters, queryParameters)
}
}