CreateLibraryRequest
Create library request
Allowed file formats (e.g., ["CBZ", "CBR", "EPUB"])
["CBZ","CBR","EPUB"]Book strategy-specific configuration (JSON, mutable after creation)
bookStrategy object
- null
- BookStrategy
Book naming strategy (mutable after creation) Options: filename, metadata_first, smart, series_name
Possible values: [filename, metadata_first, smart, series_name, custom]
Default reading direction for books in this library (ltr, rtl, ttb or webtoon)
ltrOptional description
My comic book collectionExcluded path patterns (newline-separated, e.g., ".DS_Store\nThumbs.db")
.DS_Store
Thumbs.dbLibrary name
ComicsNumber strategy-specific configuration (JSON, mutable after creation)
numberStrategy object
- null
- NumberStrategy
Book number strategy (mutable after creation) Options: file_order, metadata, filename, smart
Possible values: [file_order, metadata, filename, smart]
Filesystem path to the library
/media/comicsScan immediately after creation (not stored in DB)
truescanningConfig object
- null
- ScanningConfigDto
Cron expression for scheduled scans (e.g., "0 */6 * * *")
0 */6 * * *Whether scheduled scanning is enabled
truePurge soft-deleted books after completing a scan
falseDefault scan mode for scheduled scans ("normal" or "deep")
normalScan library when the application starts
falseStrategy-specific configuration (JSON, immutable after creation)
seriesStrategy object
- null
- SeriesStrategy
Series detection strategy (immutable after creation) Options: series_volume, series_volume_chapter, flat, publisher_hierarchy, calibre, custom
Possible values: [series_volume, series_volume_chapter, flat, publisher_hierarchy, calibre, custom]
{
"allowedFormats": [
"CBZ",
"CBR",
"EPUB"
],
"bookStrategy": "null",
"defaultReadingDirection": "ltr",
"description": "My comic book collection",
"excludedPatterns": ".DS_Store\nThumbs.db",
"name": "Comics",
"numberStrategy": "null",
"path": "/media/comics",
"scanImmediately": true,
"scanningConfig": "null",
"seriesStrategy": "null"
}