Skip to main content

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.

allowedFormatsstring[]nullable

Allowed file formats (e.g., ["CBZ", "CBR", "EPUB"])

Example: ["CBZ","CBR"]
autoMatchConditionsobject | nullnullable

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
bookConfig

Book strategy-specific configuration (JSON, mutable)

bookStrategy object
oneOf
null
defaultReadingDirectionstring | nullnullable

Default reading direction for books in this library (ltr, rtl, ttb or webtoon)

Example: rtl
descriptionstring | nullnullable

Optional description

Example: Updated comic book collection
excludedPatternsstring | nullnullable

Excluded path patterns (newline-separated, e.g., ".DS_Store\nThumbs.db")

Example: .DS_Store
isActiveboolean | nullnullable

Active status

Example: true
namestring | nullnullable

Library name

Example: Comics Collection
numberConfig

Number strategy-specific configuration (JSON, mutable)

numberStrategy object
oneOf
null
pathstring | nullnullable

Filesystem path to the library

Example: /media/comics
scanningConfig object
oneOf
null
titlePreprocessingRulesobject | nullnullable

Title 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
UpdateLibraryRequest
{
"allowedFormats": [
"CBZ",
"CBR"
],
"autoMatchConditions": "Unknown Type: object,null",
"bookStrategy": "null",
"defaultReadingDirection": "rtl",
"description": "Updated comic book collection",
"excludedPatterns": ".DS_Store",
"isActive": true,
"name": "Comics Collection",
"numberStrategy": "null",
"path": "/media/comics",
"scanningConfig": "null",
"titlePreprocessingRules": "Unknown Type: object,null"
}