mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 21:01:10 +00:00
22 lines
573 B
HTTP
22 lines
573 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,
|
|
"pathTemplateParts": [
|
|
{ "kind": "Artist", "representation": "{0}", "isOptional": false },
|
|
{ "kind": "Separator", "representation": "", "isOptional": false }
|
|
]
|
|
}
|