mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 22:01:10 +00:00
Documents the provider and reader lists on the add and update library requests, adds the library type lookup requests, removes the per-provider enable and reorder requests, and registers the new request files in the solution.
29 lines
792 B
HTTP
29 lines
792 B
HTTP
PUT {{host}}/api/v1/libraries/{{$guid}}
|
|
Authorization: Bearer {{ACCESS_TOKEN}}
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"id": "{{$guid}}",
|
|
"title": "Books",
|
|
"libraryType": "Book",
|
|
"contentLocations": [
|
|
"/media/books"
|
|
],
|
|
"coverImage": null,
|
|
"isEnabled": true,
|
|
"isLocked": false,
|
|
"canDownloadMetadataFromWeb": true,
|
|
"shouldSaveMetadataInMediaDirectories": true,
|
|
"shouldSkipUnchangedDirectoriesDuringScan": true,
|
|
"isContentOnSsd": false,
|
|
"shouldTrackConsumptionProgress": true,
|
|
"completionThresholdPercentage": 100,
|
|
"pathTemplateParts": [
|
|
{ "kind": "Artist", "representation": "{0}", "isOptional": false },
|
|
{ "kind": "Separator", "representation": "", "isOptional": false }
|
|
],
|
|
"metadataProviders": null,
|
|
"artworkProviders": null,
|
|
"bookReaders": null
|
|
}
|