2022-08-08 20:29:07 +00:00
|
|
|
//
|
2022-08-16 02:37:47 +00:00
|
|
|
// jellyfin-sdk-swift is subject to the terms of the Mozilla Public
|
2022-08-08 20:29:07 +00:00
|
|
|
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
|
|
// file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
|
|
//
|
2024-02-19 03:34:53 +00:00
|
|
|
// Copyright (c) 2024 Jellyfin & Jellyfin Contributors
|
2022-08-08 20:29:07 +00:00
|
|
|
//
|
2022-08-08 20:21:06 +00:00
|
|
|
|
|
|
|
import Foundation
|
|
|
|
import Get
|
|
|
|
import URLQueryEncoder
|
|
|
|
|
2022-08-17 21:08:41 +00:00
|
|
|
public extension Paths {
|
2022-08-08 20:21:06 +00:00
|
|
|
/// Upload a document.
|
2022-08-17 21:08:41 +00:00
|
|
|
static func logFile(_ body: String? = nil) -> Request<JellyfinAPI.ClientLogDocumentResponseDto> {
|
2023-08-30 22:09:52 +00:00
|
|
|
Request(path: "/ClientLog/Document", method: "POST", body: body, id: "LogFile")
|
2022-08-08 20:21:06 +00:00
|
|
|
}
|
|
|
|
}
|