Get all book IDs matching filters
GET
/api/v1/app/books/ids
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");curl_easy_setopt(hnd, CURLOPT_URL, "http://127.0.0.1:58259/api/v1/app/books/ids?page=1&size=1&sort=example&dir=example&libraryId=1&shelfId=1&status=%5B%22example%22%5D&search=example&fileType=%5B%22example%22%5D&minRating=1&maxRating=1&authors=%5B%22example%22%5D&language=%5B%22example%22%5D&series=%5B%22example%22%5D&category=%5B%22example%22%5D&publisher=%5B%22example%22%5D&tag=%5B%22example%22%5D&mood=%5B%22example%22%5D&narrator=%5B%22example%22%5D&ageRating=%5B%22example%22%5D&contentRating=%5B%22example%22%5D&matchScore=%5B%22example%22%5D&publishedDate=%5B%22example%22%5D&fileSize=%5B%22example%22%5D&personalRating=%5B%22example%22%5D&amazonRating=%5B%22example%22%5D&goodreadsRating=%5B%22example%22%5D&hardcoverRating=%5B%22example%22%5D&lubimyczytacRating=%5B%22example%22%5D&ranobedbRating=%5B%22example%22%5D&audibleRating=%5B%22example%22%5D&pageCount=%5B%22example%22%5D&shelfStatus=%5B%22example%22%5D&comicCharacter=%5B%22example%22%5D&comicTeam=%5B%22example%22%5D&comicLocation=%5B%22example%22%5D&comicCreator=%5B%22example%22%5D&shelves=%5B%22example%22%5D&libraries=%5B%22example%22%5D&magicShelfId=1&unshelved=true&filterMode=example");
CURLcode ret = curl_easy_perform(hnd);using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("http://127.0.0.1:58259/api/v1/app/books/ids?page=1&size=1&sort=example&dir=example&libraryId=1&shelfId=1&status=%5B%22example%22%5D&search=example&fileType=%5B%22example%22%5D&minRating=1&maxRating=1&authors=%5B%22example%22%5D&language=%5B%22example%22%5D&series=%5B%22example%22%5D&category=%5B%22example%22%5D&publisher=%5B%22example%22%5D&tag=%5B%22example%22%5D&mood=%5B%22example%22%5D&narrator=%5B%22example%22%5D&ageRating=%5B%22example%22%5D&contentRating=%5B%22example%22%5D&matchScore=%5B%22example%22%5D&publishedDate=%5B%22example%22%5D&fileSize=%5B%22example%22%5D&personalRating=%5B%22example%22%5D&amazonRating=%5B%22example%22%5D&goodreadsRating=%5B%22example%22%5D&hardcoverRating=%5B%22example%22%5D&lubimyczytacRating=%5B%22example%22%5D&ranobedbRating=%5B%22example%22%5D&audibleRating=%5B%22example%22%5D&pageCount=%5B%22example%22%5D&shelfStatus=%5B%22example%22%5D&comicCharacter=%5B%22example%22%5D&comicTeam=%5B%22example%22%5D&comicLocation=%5B%22example%22%5D&comicCreator=%5B%22example%22%5D&shelves=%5B%22example%22%5D&libraries=%5B%22example%22%5D&magicShelfId=1&unshelved=true&filterMode=example"),};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}package main
import ( "fmt" "net/http" "io")
func main() {
url := "http://127.0.0.1:58259/api/v1/app/books/ids?page=1&size=1&sort=example&dir=example&libraryId=1&shelfId=1&status=%5B%22example%22%5D&search=example&fileType=%5B%22example%22%5D&minRating=1&maxRating=1&authors=%5B%22example%22%5D&language=%5B%22example%22%5D&series=%5B%22example%22%5D&category=%5B%22example%22%5D&publisher=%5B%22example%22%5D&tag=%5B%22example%22%5D&mood=%5B%22example%22%5D&narrator=%5B%22example%22%5D&ageRating=%5B%22example%22%5D&contentRating=%5B%22example%22%5D&matchScore=%5B%22example%22%5D&publishedDate=%5B%22example%22%5D&fileSize=%5B%22example%22%5D&personalRating=%5B%22example%22%5D&amazonRating=%5B%22example%22%5D&goodreadsRating=%5B%22example%22%5D&hardcoverRating=%5B%22example%22%5D&lubimyczytacRating=%5B%22example%22%5D&ranobedbRating=%5B%22example%22%5D&audibleRating=%5B%22example%22%5D&pageCount=%5B%22example%22%5D&shelfStatus=%5B%22example%22%5D&comicCharacter=%5B%22example%22%5D&comicTeam=%5B%22example%22%5D&comicLocation=%5B%22example%22%5D&comicCreator=%5B%22example%22%5D&shelves=%5B%22example%22%5D&libraries=%5B%22example%22%5D&magicShelfId=1&unshelved=true&filterMode=example"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close() body, _ := io.ReadAll(res.Body)
fmt.Println(res) fmt.Println(string(body))
}HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("http://127.0.0.1:58259/api/v1/app/books/ids?page=1&size=1&sort=example&dir=example&libraryId=1&shelfId=1&status=%5B%22example%22%5D&search=example&fileType=%5B%22example%22%5D&minRating=1&maxRating=1&authors=%5B%22example%22%5D&language=%5B%22example%22%5D&series=%5B%22example%22%5D&category=%5B%22example%22%5D&publisher=%5B%22example%22%5D&tag=%5B%22example%22%5D&mood=%5B%22example%22%5D&narrator=%5B%22example%22%5D&ageRating=%5B%22example%22%5D&contentRating=%5B%22example%22%5D&matchScore=%5B%22example%22%5D&publishedDate=%5B%22example%22%5D&fileSize=%5B%22example%22%5D&personalRating=%5B%22example%22%5D&amazonRating=%5B%22example%22%5D&goodreadsRating=%5B%22example%22%5D&hardcoverRating=%5B%22example%22%5D&lubimyczytacRating=%5B%22example%22%5D&ranobedbRating=%5B%22example%22%5D&audibleRating=%5B%22example%22%5D&pageCount=%5B%22example%22%5D&shelfStatus=%5B%22example%22%5D&comicCharacter=%5B%22example%22%5D&comicTeam=%5B%22example%22%5D&comicLocation=%5B%22example%22%5D&comicCreator=%5B%22example%22%5D&shelves=%5B%22example%22%5D&libraries=%5B%22example%22%5D&magicShelfId=1&unshelved=true&filterMode=example")) .method("GET", HttpRequest.BodyPublishers.noBody()) .build();HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());System.out.println(response.body());OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder() .url("http://127.0.0.1:58259/api/v1/app/books/ids?page=1&size=1&sort=example&dir=example&libraryId=1&shelfId=1&status=%5B%22example%22%5D&search=example&fileType=%5B%22example%22%5D&minRating=1&maxRating=1&authors=%5B%22example%22%5D&language=%5B%22example%22%5D&series=%5B%22example%22%5D&category=%5B%22example%22%5D&publisher=%5B%22example%22%5D&tag=%5B%22example%22%5D&mood=%5B%22example%22%5D&narrator=%5B%22example%22%5D&ageRating=%5B%22example%22%5D&contentRating=%5B%22example%22%5D&matchScore=%5B%22example%22%5D&publishedDate=%5B%22example%22%5D&fileSize=%5B%22example%22%5D&personalRating=%5B%22example%22%5D&amazonRating=%5B%22example%22%5D&goodreadsRating=%5B%22example%22%5D&hardcoverRating=%5B%22example%22%5D&lubimyczytacRating=%5B%22example%22%5D&ranobedbRating=%5B%22example%22%5D&audibleRating=%5B%22example%22%5D&pageCount=%5B%22example%22%5D&shelfStatus=%5B%22example%22%5D&comicCharacter=%5B%22example%22%5D&comicTeam=%5B%22example%22%5D&comicLocation=%5B%22example%22%5D&comicCreator=%5B%22example%22%5D&shelves=%5B%22example%22%5D&libraries=%5B%22example%22%5D&magicShelfId=1&unshelved=true&filterMode=example") .get() .build();
Response response = client.newCall(request).execute();import axios from 'axios';
const options = { method: 'GET', url: 'http://127.0.0.1:58259/api/v1/app/books/ids', params: { page: '1', size: '1', sort: 'example', dir: 'example', libraryId: '1', shelfId: '1', status: '["example"]', search: 'example', fileType: '["example"]', minRating: '1', maxRating: '1', authors: '["example"]', language: '["example"]', series: '["example"]', category: '["example"]', publisher: '["example"]', tag: '["example"]', mood: '["example"]', narrator: '["example"]', ageRating: '["example"]', contentRating: '["example"]', matchScore: '["example"]', publishedDate: '["example"]', fileSize: '["example"]', personalRating: '["example"]', amazonRating: '["example"]', goodreadsRating: '["example"]', hardcoverRating: '["example"]', lubimyczytacRating: '["example"]', ranobedbRating: '["example"]', audibleRating: '["example"]', pageCount: '["example"]', shelfStatus: '["example"]', comicCharacter: '["example"]', comicTeam: '["example"]', comicLocation: '["example"]', comicCreator: '["example"]', shelves: '["example"]', libraries: '["example"]', magicShelfId: '1', unshelved: 'true', filterMode: 'example' }};
try { const { data } = await axios.request(options); console.log(data);} catch (error) { console.error(error);}const url = 'http://127.0.0.1:58259/api/v1/app/books/ids?page=1&size=1&sort=example&dir=example&libraryId=1&shelfId=1&status=%5B%22example%22%5D&search=example&fileType=%5B%22example%22%5D&minRating=1&maxRating=1&authors=%5B%22example%22%5D&language=%5B%22example%22%5D&series=%5B%22example%22%5D&category=%5B%22example%22%5D&publisher=%5B%22example%22%5D&tag=%5B%22example%22%5D&mood=%5B%22example%22%5D&narrator=%5B%22example%22%5D&ageRating=%5B%22example%22%5D&contentRating=%5B%22example%22%5D&matchScore=%5B%22example%22%5D&publishedDate=%5B%22example%22%5D&fileSize=%5B%22example%22%5D&personalRating=%5B%22example%22%5D&amazonRating=%5B%22example%22%5D&goodreadsRating=%5B%22example%22%5D&hardcoverRating=%5B%22example%22%5D&lubimyczytacRating=%5B%22example%22%5D&ranobedbRating=%5B%22example%22%5D&audibleRating=%5B%22example%22%5D&pageCount=%5B%22example%22%5D&shelfStatus=%5B%22example%22%5D&comicCharacter=%5B%22example%22%5D&comicTeam=%5B%22example%22%5D&comicLocation=%5B%22example%22%5D&comicCreator=%5B%22example%22%5D&shelves=%5B%22example%22%5D&libraries=%5B%22example%22%5D&magicShelfId=1&unshelved=true&filterMode=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}val client = OkHttpClient()
val request = Request.Builder() .url("http://127.0.0.1:58259/api/v1/app/books/ids?page=1&size=1&sort=example&dir=example&libraryId=1&shelfId=1&status=%5B%22example%22%5D&search=example&fileType=%5B%22example%22%5D&minRating=1&maxRating=1&authors=%5B%22example%22%5D&language=%5B%22example%22%5D&series=%5B%22example%22%5D&category=%5B%22example%22%5D&publisher=%5B%22example%22%5D&tag=%5B%22example%22%5D&mood=%5B%22example%22%5D&narrator=%5B%22example%22%5D&ageRating=%5B%22example%22%5D&contentRating=%5B%22example%22%5D&matchScore=%5B%22example%22%5D&publishedDate=%5B%22example%22%5D&fileSize=%5B%22example%22%5D&personalRating=%5B%22example%22%5D&amazonRating=%5B%22example%22%5D&goodreadsRating=%5B%22example%22%5D&hardcoverRating=%5B%22example%22%5D&lubimyczytacRating=%5B%22example%22%5D&ranobedbRating=%5B%22example%22%5D&audibleRating=%5B%22example%22%5D&pageCount=%5B%22example%22%5D&shelfStatus=%5B%22example%22%5D&comicCharacter=%5B%22example%22%5D&comicTeam=%5B%22example%22%5D&comicLocation=%5B%22example%22%5D&comicCreator=%5B%22example%22%5D&shelves=%5B%22example%22%5D&libraries=%5B%22example%22%5D&magicShelfId=1&unshelved=true&filterMode=example") .get() .build()
val response = client.newCall(request).execute()use reqwest;
#[tokio::main]pub async fn main() { let url = "http://127.0.0.1:58259/api/v1/app/books/ids";
let querystring = [ ("page", "1"), ("size", "1"), ("sort", "example"), ("dir", "example"), ("libraryId", "1"), ("shelfId", "1"), ("status", "["example"]"), ("search", "example"), ("fileType", "["example"]"), ("minRating", "1"), ("maxRating", "1"), ("authors", "["example"]"), ("language", "["example"]"), ("series", "["example"]"), ("category", "["example"]"), ("publisher", "["example"]"), ("tag", "["example"]"), ("mood", "["example"]"), ("narrator", "["example"]"), ("ageRating", "["example"]"), ("contentRating", "["example"]"), ("matchScore", "["example"]"), ("publishedDate", "["example"]"), ("fileSize", "["example"]"), ("personalRating", "["example"]"), ("amazonRating", "["example"]"), ("goodreadsRating", "["example"]"), ("hardcoverRating", "["example"]"), ("lubimyczytacRating", "["example"]"), ("ranobedbRating", "["example"]"), ("audibleRating", "["example"]"), ("pageCount", "["example"]"), ("shelfStatus", "["example"]"), ("comicCharacter", "["example"]"), ("comicTeam", "["example"]"), ("comicLocation", "["example"]"), ("comicCreator", "["example"]"), ("shelves", "["example"]"), ("libraries", "["example"]"), ("magicShelfId", "1"), ("unshelved", "true"), ("filterMode", "example"), ];
let client = reqwest::Client::new(); let response = client.get(url) .query(&querystring) .send() .await;
let results = response.unwrap() .json::<serde_json::Value>() .await .unwrap();
dbg!(results);}curl --request GET \ --url 'http://127.0.0.1:58259/api/v1/app/books/ids?page=1&size=1&sort=example&dir=example&libraryId=1&shelfId=1&status=%5B%22example%22%5D&search=example&fileType=%5B%22example%22%5D&minRating=1&maxRating=1&authors=%5B%22example%22%5D&language=%5B%22example%22%5D&series=%5B%22example%22%5D&category=%5B%22example%22%5D&publisher=%5B%22example%22%5D&tag=%5B%22example%22%5D&mood=%5B%22example%22%5D&narrator=%5B%22example%22%5D&ageRating=%5B%22example%22%5D&contentRating=%5B%22example%22%5D&matchScore=%5B%22example%22%5D&publishedDate=%5B%22example%22%5D&fileSize=%5B%22example%22%5D&personalRating=%5B%22example%22%5D&amazonRating=%5B%22example%22%5D&goodreadsRating=%5B%22example%22%5D&hardcoverRating=%5B%22example%22%5D&lubimyczytacRating=%5B%22example%22%5D&ranobedbRating=%5B%22example%22%5D&audibleRating=%5B%22example%22%5D&pageCount=%5B%22example%22%5D&shelfStatus=%5B%22example%22%5D&comicCharacter=%5B%22example%22%5D&comicTeam=%5B%22example%22%5D&comicLocation=%5B%22example%22%5D&comicCreator=%5B%22example%22%5D&shelves=%5B%22example%22%5D&libraries=%5B%22example%22%5D&magicShelfId=1&unshelved=true&filterMode=example'wget --quiet \ --method GET \ --output-document \ - 'http://127.0.0.1:58259/api/v1/app/books/ids?page=1&size=1&sort=example&dir=example&libraryId=1&shelfId=1&status=%5B%22example%22%5D&search=example&fileType=%5B%22example%22%5D&minRating=1&maxRating=1&authors=%5B%22example%22%5D&language=%5B%22example%22%5D&series=%5B%22example%22%5D&category=%5B%22example%22%5D&publisher=%5B%22example%22%5D&tag=%5B%22example%22%5D&mood=%5B%22example%22%5D&narrator=%5B%22example%22%5D&ageRating=%5B%22example%22%5D&contentRating=%5B%22example%22%5D&matchScore=%5B%22example%22%5D&publishedDate=%5B%22example%22%5D&fileSize=%5B%22example%22%5D&personalRating=%5B%22example%22%5D&amazonRating=%5B%22example%22%5D&goodreadsRating=%5B%22example%22%5D&hardcoverRating=%5B%22example%22%5D&lubimyczytacRating=%5B%22example%22%5D&ranobedbRating=%5B%22example%22%5D&audibleRating=%5B%22example%22%5D&pageCount=%5B%22example%22%5D&shelfStatus=%5B%22example%22%5D&comicCharacter=%5B%22example%22%5D&comicTeam=%5B%22example%22%5D&comicLocation=%5B%22example%22%5D&comicCreator=%5B%22example%22%5D&shelves=%5B%22example%22%5D&libraries=%5B%22example%22%5D&magicShelfId=1&unshelved=true&filterMode=example'Return all book IDs that match the given filters without pagination. Useful for bulk selection.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” request
required
object
page
integer format: int32
size
integer format: int32
sort
string
dir
string
libraryId
integer format: int64
shelfId
integer format: int64
status
Array<string>
search
string
fileType
Array<string>
minRating
integer format: int32
maxRating
integer format: int32
authors
Array<string>
language
Array<string>
series
Array<string>
category
Array<string>
publisher
Array<string>
tag
Array<string>
mood
Array<string>
narrator
Array<string>
ageRating
Array<string>
contentRating
Array<string>
matchScore
Array<string>
publishedDate
Array<string>
fileSize
Array<string>
personalRating
Array<string>
amazonRating
Array<string>
goodreadsRating
Array<string>
hardcoverRating
Array<string>
lubimyczytacRating
Array<string>
ranobedbRating
Array<string>
audibleRating
Array<string>
pageCount
Array<string>
shelfStatus
Array<string>
comicCharacter
Array<string>
comicTeam
Array<string>
comicLocation
Array<string>
comicCreator
Array<string>
shelves
Array<string>
libraries
Array<string>
magicShelfId
integer format: int64
unshelved
boolean
filterMode
string
Responses
Section titled “ Responses ”OK
Media type */*
Array<integer>