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