mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-23 07:20:32 -04:00
18 lines
489 B
C#
18 lines
489 B
C#
namespace API.DTOs;
|
|
|
|
/// <summary>
|
|
/// DTO for requesting a folder to be scanned
|
|
/// </summary>
|
|
public sealed record ScanFolderDto
|
|
{
|
|
/// <summary>
|
|
/// Api key for a user with Admin permissions
|
|
/// </summary>
|
|
public string ApiKey { get; set; } = default!;
|
|
/// <summary>
|
|
/// Folder Path to Scan
|
|
/// </summary>
|
|
/// <remarks>JSON cannot accept /, so you may need to use // escaping on paths</remarks>
|
|
public string FolderPath { get; set; } = default!;
|
|
}
|