mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 23:01:10 +00:00
29 lines
820 B
HTTP
29 lines
820 B
HTTP
POST {{host}}/api/v1/libraries
|
|
Authorization: Bearer {{ACCESS_TOKEN}}
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"title": "Books",
|
|
"libraryType": "Book",
|
|
"contentLocations": [
|
|
"/media/books"
|
|
],
|
|
"coverImage": null,
|
|
"isEnabled": true,
|
|
"isLocked": false,
|
|
"canDownloadMetadataFromWeb": true,
|
|
"shouldSaveMetadataInMediaDirectories": true,
|
|
"shouldSkipUnchangedDirectoriesDuringScan": true,
|
|
"shouldSkipHiddenFilesAndDirectoriesDuringScan": false,
|
|
"isContentOnSsd": false,
|
|
"shouldTrackConsumptionProgress": true,
|
|
"completionThresholdPercentage": 100,
|
|
"pathTemplateParts": [
|
|
{ "kind": "Artist", "representation": "{0}", "isOptional": false },
|
|
{ "kind": "Separator", "representation": "", "isOptional": false }
|
|
],
|
|
"metadataProviders": null,
|
|
"artworkProviders": null,
|
|
"bookReaders": null
|
|
}
|