mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
68 lines
2.9 KiB
Markdown
68 lines
2.9 KiB
Markdown
# GetAllMediaLibraryMeta
|
|
|
|
The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.
|
|
|
|
|
|
## Example Usage
|
|
|
|
```typescript
|
|
import { GetAllMediaLibraryMeta } from "@lukehagar/plexjs/sdk/models/operations";
|
|
|
|
let value: GetAllMediaLibraryMeta = {
|
|
type: [
|
|
{
|
|
key: "/library/sections/2/all?type=2",
|
|
type: "filter",
|
|
subtype: "clip",
|
|
title: "TV Shows",
|
|
active: false,
|
|
filter: [
|
|
{
|
|
filter: "genre",
|
|
filterType: "string",
|
|
key: "/library/sections/2/genre?type=2",
|
|
title: "Genre",
|
|
type: "filter",
|
|
advanced: true,
|
|
},
|
|
],
|
|
sort: [
|
|
{
|
|
default: "asc",
|
|
active: false,
|
|
descKey: "titleSort:desc",
|
|
firstCharacterKey: "/library/sections/2/firstCharacter",
|
|
key: "titleSort",
|
|
title: "Title",
|
|
},
|
|
],
|
|
field: [
|
|
{
|
|
key: "show.title",
|
|
title: "Show Title",
|
|
type: "string",
|
|
subType: "rating",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
fieldType: [
|
|
{
|
|
type: "tag",
|
|
operator: [
|
|
{
|
|
key: "=",
|
|
title: "is",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
};
|
|
```
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
|
|
| `type` | [operations.GetAllMediaLibraryType](../../../sdk/models/operations/getallmedialibrarytype.md)[] | :heavy_minus_sign: | N/A |
|
|
| `fieldType` | [operations.GetAllMediaLibraryFieldType](../../../sdk/models/operations/getallmedialibraryfieldtype.md)[] | :heavy_minus_sign: | N/A | |