UpdateLibraryRequest
Update library request
Note: series_strategy and series_config are immutable after library creation. book_strategy, book_config, number_strategy, and number_config can be updated.
Allowed file formats (e.g., ["CBZ", "CBR", "EPUB"])
["CBZ","CBR"]Auto-match conditions (JSON object with mode and rules) Controls when auto-matching runs for this library.
- Omit field: keep existing value
- Set to null: clear the conditions
- Set to value: update the conditions
Book strategy-specific configuration (JSON, mutable)
Book naming strategy (mutable) 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)
rtlOptional description
Updated comic book collectionExcluded path patterns (newline-separated, e.g., ".DS_Store\nThumbs.db")
.DS_StoreActive status
trueLibrary name
Comics CollectionNumber strategy-specific configuration (JSON, mutable)
Book number strategy (mutable) Options: file_order, metadata, filename, smart
Possible values: [file_order, metadata, filename, smart]
Filesystem path to the library
/media/comicsscanningConfig object
Scanning configuration
Cron expression for scheduled scans. Accepts standard 5-part Unix cron (e.g., "0 */6 * * *") or 6-part with seconds (e.g., "0 0 */6 * * *"). Stored as provided; normalization happens at scheduler level.
0 */6 * * *IANA timezone for the cron schedule (e.g., "America/Los_Angeles", "Europe/London").
Overrides the server-level scheduler.timezone config for this library.
If not set, falls back to the server default (which itself defaults to UTC).
America/Los_AngelesWhether 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
falseTitle preprocessing rules (JSON array of regex rules) Applied during scan to clean series titles before metadata search.
- Omit field: keep existing value
- Set to null: clear the rules
- Set to value: update the rules
{
"allowedFormats": [
"CBZ",
"CBR"
],
"autoMatchConditions": "Unknown Type: object,null",
"bookStrategy": "filename",
"defaultReadingDirection": "rtl",
"description": "Updated comic book collection",
"excludedPatterns": ".DS_Store",
"isActive": true,
"name": "Comics Collection",
"numberStrategy": "file_order",
"path": "/media/comics",
"scanningConfig": {
"cronSchedule": "0 */6 * * *",
"cronTimezone": "America/Los_Angeles",
"enabled": true,
"purgeDeletedOnScan": false,
"scanMode": "normal",
"scanOnStart": false
},
"titlePreprocessingRules": "Unknown Type: object,null"
}