mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
4.9 KiB
4.9 KiB
GetSearchAllLibrariesRequest
Example Usage
import {
GetSearchAllLibrariesRequest,
QueryParamIncludeCollections,
QueryParamIncludeExternalMedia,
SearchTypes,
} from "@lukehagar/plexjs/sdk/models/operations";
let value: GetSearchAllLibrariesRequest = {
query: "<value>",
searchTypes: [
SearchTypes.OtherVideos,
],
includeCollections: QueryParamIncludeCollections.Enable,
includeExternalMedia: QueryParamIncludeExternalMedia.Enable,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
query |
string | ✔️ | The search query term. | |
clientID |
string | ➖ | An opaque identifier unique to the client (UUID, serial number, or other unique device ID) | 3381b62b-9ab7-4e37-827b-203e9809eb58 |
limit |
number | ➖ | Limit the number of results returned. | |
searchTypes |
operations.SearchTypes[] | ➖ | A comma-separated list of search types to include. Valid values are: movies, music, otherVideos, people, tv. |
movies,music,otherVideos,people,tv |
includeCollections |
operations.QueryParamIncludeCollections | ➖ | Whether to include collections in the search results. | 1 |
includeExternalMedia |
operations.QueryParamIncludeExternalMedia | ➖ | Whether to include external media in the search results. | 1 |