"description":"Update an author by ID. The author's name and description can be updated. This endpoint will merge two authors if the new author name matches another author name in the database.",
"summary":"Match the author against Audible using quick match",
"description":"Match the author against Audible using quick match. Quick match updates the author's description and image (if no image already existed) with information from audible. Either `asin` or `q` must be provided, with `asin` taking priority if both are provided.",
"summary":"Delete items with issues in a library.",
"description":"Delete all items with issues in a library by library ID on the server. This only removes the items from the ABS database and does not delete media files.",
"description":"A comma separated list of what to include with the author. The options are `items` and `series`. `series` will only have an effect if `items` is included. For example, the value `items,series` will include both library items and series.",
"type":"string",
"example":"items"
},
"libraryId":{
"type":"string",
"description":"The ID of the library.",
"format":"uuid",
"example":"e4bb1afb-4a4f-4dd6-8be0-e615d233185b"
},
"authorAsin":{
"description":"The Audible identifier (ASIN) of the author. Will be null if unknown. Not the Amazon identifier.",
"type":"string",
"nullable":true,
"example":"B000APZOQA"
},
"authorName":{
"description":"The name of the author.",
"type":"string",
"example":"Terry Goodkind"
},
"authorDescription":{
"description":"The new description of the author.",
"type":"string",
"nullable":true,
"example":"Terry Goodkind is a"
},
"authorImagePath":{
"description":"The absolute path for the author image. This will be in the `metadata/` directory. Will be null if there is no image.",
"description":"The year the book was published. Will be null if unknown.",
"type":"string",
"nullable":true,
"example":"2008"
},
"publishedDate":{
"description":"The date the book was published. Will be null if unknown.",
"type":"string",
"nullable":true
},
"publisher":{
"description":"The publisher of the book. Will be null if unknown.",
"type":"string",
"nullable":true,
"example":"Brilliance Audio"
},
"description":{
"description":"A description for the book. Will be null if empty.",
"type":"string",
"nullable":true,
"example":"The masterpiece that started Terry Goodkind's New York Times bestselling epic Sword of Truth In the aftermath of the brutal murder of his father, a mysterious woman, Kahlan Amnell, appears in Richard Cypher's forest sanctuary seeking help...and more. His world, his very beliefs, are shattered when ancient debts come due with thundering violence. In a dark age it takes courage to live, and more than mere courage to challenge those who hold dominion, Richard and Kahlan must take up that challenge or become the next victims. Beyond awaits a bewitching land where even the best of their hearts could betray them. Yet, Richard fears nothing so much as what secrets his sword might reveal about his own soul. Falling in love would destroy them - for reasons Richard can't imagine and Kahlan dare not say. In their darkest hour, hunted relentlessly, tormented by treachery and loss, Kahlan calls upon Richard to reach beyond his sword - to invoke within himself something more noble. Neither knows that the rules of battle have just changed...or that their time has run out. Wizard's First Rule is the beginning. One book. One Rule. Witness the birth of a legend."
},
"isbn":{
"description":"The ISBN of the book. Will be null if unknown.",
"type":"string",
"nullable":true
},
"asin":{
"description":"The ASIN of the book. Will be null if unknown.",
"type":"string",
"nullable":true,
"example":"B002V0QK4C"
},
"language":{
"description":"The language of the book. Will be null if unknown.",
"type":"string",
"nullable":true
},
"explicit":{
"description":"Whether the book has been marked as explicit.",
"type":"boolean",
"example":false
}
}
},
"bookMetadataMinified":{
"type":"object",
"description":"The minified metadata for a book in the database.",
"allOf":[
{
"$ref":"#/components/schemas/bookMetadataBase"
},
{
"type":"object",
"properties":{
"titleIgnorePrefix":{
"description":"The title of the book with any prefix moved to the end.",
"type":"string"
},
"authorName":{
"description":"The name of the book's author(s).",
"type":"string",
"example":"Terry Goodkind"
},
"authorNameLF":{
"description":"The name of the book's author(s) with last names first.",
"type":"string",
"example":"Goodkind, Terry"
},
"narratorName":{
"description":"The name of the audiobook's narrator(s).",
"type":"string",
"example":"Sam Tsoutsouvas"
},
"seriesName":{
"description":"The name of the book's series.",
"type":"string",
"example":"Sword of Truth"
}
}
}
]
},
"bookCoverPath":{
"description":"The absolute path on the server of the cover file. Will be null if there is no cover.",
"type":"string",
"nullable":true,
"example":"/audiobooks/Terry Goodkind/Sword of Truth/Wizards First Rule/cover.jpg"
"description":"The number of tracks the book's audio files have.",
"type":"integer",
"example":1
},
"numAudioFiles":{
"description":"The number of audio files the book has.",
"type":"integer",
"example":1
},
"numChapters":{
"description":"The number of chapters the book has.",
"type":"integer",
"example":1
},
"numMissingParts":{
"description":"The total number of missing parts the book has.",
"type":"integer",
"example":0
},
"numInvalidAudioFiles":{
"description":"The number of invalid audio files the book has.",
"type":"integer",
"example":0
},
"duration":{
"$ref":"#/components/schemas/durationSec"
},
"size":{
"$ref":"#/components/schemas/size"
},
"ebookFormat":{
"description":"The format of ebook of the book. Will be null if the book is an audiobook.",
"type":"string",
"nullable":true
}
}
},
"mediaMinified":{
"description":"The minified media of the library item.",
"oneOf":[
{
"$ref":"#/components/schemas/bookMinified"
}
]
},
"libraryItemMinified":{
"type":"object",
"description":"A single item on the server, like a book or podcast. Minified media format.",
"allOf":[
{
"$ref":"#/components/schemas/libraryItemBase"
},
{
"type":"object",
"properties":{
"media":{
"$ref":"#/components/schemas/mediaMinified"
}
}
}
]
},
"seriesId":{
"type":"string",
"description":"The ID of the series.",
"format":"uuid",
"example":"e4bb1afb-4a4f-4dd6-8be0-e615d233185b"
},
"seriesName":{
"description":"The name of the series.",
"type":"string",
"example":"Sword of Truth"
},
"authorSeries":{
"type":"object",
"description":"Series and the included library items that an author has written.",
"properties":{
"id":{
"$ref":"#/components/schemas/seriesId"
},
"name":{
"$ref":"#/components/schemas/seriesName"
},
"items":{
"description":"The items in the series. Each library item's media's metadata will have a `series` attribute, a `Series Sequence`, which is the matching series.",
"type":"array",
"items":{
"$ref":"#/components/schemas/libraryItemMinified"
}
}
}
},
"author":{
"description":"An author object which includes a description and image path. The library items and series associated with the author are optionally included.",
"type":"object",
"properties":{
"id":{
"$ref":"#/components/schemas/authorId"
},
"asin":{
"$ref":"#/components/schemas/authorAsin"
},
"name":{
"$ref":"#/components/schemas/authorName"
},
"description":{
"$ref":"#/components/schemas/authorDescription"
},
"imagePath":{
"$ref":"#/components/schemas/authorImagePath"
},
"addedAt":{
"$ref":"#/components/schemas/addedAt"
},
"updatedAt":{
"$ref":"#/components/schemas/updatedAt"
},
"libraryItems":{
"description":"The items associated with the author",
"type":"array",
"items":{
"$ref":"#/components/schemas/libraryItemMinified"
}
},
"series":{
"description":"The series associated with the author",
"type":"array",
"items":{
"$ref":"#/components/schemas/authorSeries"
}
}
}
},
"authorUpdated":{
"description":"Whether the author was updated without errors. Will not exist if author was merged.",
"type":"boolean",
"nullable":true
},
"authorMerged":{
"description":"Whether the author was merged with another author. Will not exist if author was updated.",
"type":"boolean",
"nullable":true
},
"imageWidth":{
"description":"The requested width of image in pixels.",
"type":"integer",
"default":400,
"example":400
},
"imageHeight":{
"description":"The requested height of image in pixels. If `null`, the height is scaled to maintain aspect ratio based on the requested width.",
"type":"integer",
"nullable":true,
"default":null,
"example":600
},
"imageFormat":{
"description":"The requested output format.",
"type":"string",
"default":"jpeg",
"example":"webp"
},
"imageRaw":{
"description":"Return the raw image without scaling if true.",
"type":"boolean",
"default":false
},
"imageUrl":{
"description":"The URL of the image to add to the server",
"description":"The region to use when searching for podcasts.",
"type":"string",
"example":"us"
}
}
},
"createdAt":{
"type":"integer",
"description":"The time (in ms since POSIX epoch) when was created.",
"example":1633522963509
},
"library":{
"description":"A library object which includes either books or podcasts.",
"type":"object",
"properties":{
"id":{
"$ref":"#/components/schemas/libraryId"
},
"name":{
"$ref":"#/components/schemas/libraryName"
},
"folders":{
"description":"The folders that belong to the library.",
"type":"array",
"items":{
"$ref":"#/components/schemas/folder"
}
},
"displayOrder":{
"description":"Display position of the library in the list of libraries. Must be >= 1.",
"type":"integer",
"example":1
},
"icon":{
"description":"The selected icon for the library. See Library Icons for a list of possible icons.",
"type":"string",
"example":"audiobookshelf"
},
"mediaType":{
"description":"The type of media that the library contains. Will be `book` or `podcast`. (Read Only)",
"type":"string",
"example":"book"
},
"provider":{
"description":"Preferred metadata provider for the library. See Metadata Providers for a list of possible providers.",
"type":"string",
"example":"audible"
},
"settings":{
"$ref":"#/components/schemas/librarySettings"
},
"createdAt":{
"$ref":"#/components/schemas/createdAt"
},
"lastUpdate":{
"$ref":"#/components/schemas/updatedAt"
}
}
},
"libraryFolders":{
"description":"The folders of the library. Only specify the fullPath.",
"type":"array",
"items":{
"$ref":"#/components/schemas/folder"
}
},
"libraryDisplayOrder":{
"description":"The display order of the library. Must be >= 1.",
"type":"integer",
"minimum":1,
"example":1
},
"libraryIcon":{
"description":"The icon of the library. See Library Icons for a list of possible icons.",
"type":"string",
"example":"audiobookshelf"
},
"libraryMediaType":{
"description":"The type of media that the library contains. Must be `book` or `podcast`.",
"type":"string",
"example":"book"
},
"libraryProvider":{
"description":"Preferred metadata provider for the library. See Metadata Providers for a list of possible providers.",
"type":"string",
"example":"audible"
},
"authorExpanded":{
"type":"object",
"description":"The author schema with the total number of books in the library.",
"allOf":[
{
"$ref":"#/components/schemas/author"
},
{
"type":"object",
"properties":{
"numBooks":{
"description":"The number of books associated with the author in the library.",
"type":"integer",
"example":1
}
}
}
]
},
"limit":{
"description":"The number of items to return. If 0, no items are returned.",
"type":"integer",
"example":10,
"default":0
},
"page":{
"description":"The page number (zero indexed) to return. If no limit is specified, then page will have no effect.",
"type":"integer",
"example":1,
"default":0
},
"librarySort":{
"description":"The sort order of the library. For example, to sort by title use 'sort=media.metadata.title'.",
"type":"string",
"example":"media.metadata.title"
},
"sortDesc":{
"description":"Return items in reversed order if true.",
"type":"boolean",
"example":true,
"default":false
},
"libraryFilter":{
"description":"The filter for the library.",
"type":"string",
"example":"media.metadata.title"
},
"minified":{
"description":"Return minified items if true.",
"type":"boolean",
"example":true,
"default":false
},
"libraryCollapseSeries":{
"description":"Whether to collapse series.",
"type":"boolean",
"example":true,
"default":false
},
"libraryInclude":{
"description":"The fields to include in the response. The only current option is `rssfeed`.",
"type":"string",
"example":"rssfeed"
},
"total":{
"description":"The total number of items in the response.",
"type":"integer",
"example":100
},
"sortBy":{
"type":"string",
"description":"The field to sort by from the request.",
"example":"media.metadata.title"
},
"filterBy":{
"type":"string",
"description":"The field to filter by from the request. TODO",
"example":"media.metadata.title"
},
"collapseSeries":{
"type":"boolean",
"description":"Whether collapse series was set in the request.",
"example":true
},
"sequence":{
"description":"The position in the series the book is.",
"type":"string",
"nullable":true
},
"libraryItemSequence":{
"type":"object",
"description":"A single item on the server, like a book or podcast. Includes series sequence information.",
"allOf":[
{
"$ref":"#/components/schemas/libraryItemBase"
},
{
"$ref":"#/components/schemas/sequence"
}
]
},
"seriesBooks":{
"type":"object",
"description":"A series object which includes the name and books in the series.",
"properties":{
"id":{
"$ref":"#/components/schemas/seriesId"
},
"name":{
"$ref":"#/components/schemas/seriesName"
},
"addedAt":{
"$ref":"#/components/schemas/addedAt"
},
"nameIgnorePrefix":{
"description":"The name of the series with any prefix moved to the end.",
"type":"string"
},
"nameIgnorePrefixSort":{
"description":"The name of the series with any prefix removed.",
"type":"string"
},
"type":{
"description":"Will always be `series`.",
"type":"string"
},
"books":{
"description":"The library items that contain the books in the series. A sequence attribute that denotes the position in the series the book is in, is tacked on.",
"type":"array",
"items":{
"$ref":"#/components/schemas/libraryItemSequence"
}
},
"totalDuration":{
"description":"The combined duration (in seconds) of all books in the series.",
"type":"number"
}
}
},
"seriesDescription":{
"description":"A description for the series. Will be null if there is none.",
"type":"string",
"nullable":true,
"example":"The Sword of Truth is a series of twenty one epic fantasy novels written by Terry Goodkind."
},
"series":{
"type":"object",
"description":"A series object which includes the name and description of the series.",
"properties":{
"id":{
"$ref":"#/components/schemas/seriesId"
},
"name":{
"$ref":"#/components/schemas/seriesName"
},
"description":{
"$ref":"#/components/schemas/seriesDescription"
},
"addedAt":{
"$ref":"#/components/schemas/addedAt"
},
"updatedAt":{
"$ref":"#/components/schemas/updatedAt"
}
}
},
"seriesProgress":{
"type":"object",
"description":"The user's progress of a series.",
"properties":{
"libraryItemIds":{
"description":"The IDs of the library items in the series.",
"type":"array",
"items":{
"$ref":"#/components/schemas/libraryItemId"
}
},
"libraryItemIdsFinished":{
"description":"The IDs of the library items in the series that are finished.",
"type":"array",
"items":{
"$ref":"#/components/schemas/libraryItemId"
}
},
"isFinished":{
"description":"Whether the series is finished.",
"type":"boolean"
}
}
},
"seriesWithProgressAndRSS":{
"type":"object",
"description":"A series object which includes the name and progress of the series.",