# GetAllMediaLibraryRequest


## Fields

| Field                                                                                                                                                                                        | Type                                                                                                                                                                                         | Required                                                                                                                                                                                     | Description                                                                                                                                                                                  | Example                                                                                                                                                                                      |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `SectionKey`                                                                                                                                                                                 | *int*                                                                                                                                                                                        | :heavy_check_mark:                                                                                                                                                                           | The unique key of the Plex library. <br/>Note: This is unique in the context of the Plex server.<br/>                                                                                        | 9518                                                                                                                                                                                         |
| `Type`                                                                                                                                                                                       | [GetAllMediaLibraryQueryParamType](../../Models/Requests/GetAllMediaLibraryQueryParamType.md)                                                                                                | :heavy_check_mark:                                                                                                                                                                           | The type of media to retrieve or filter by.<br/>1 = movie<br/>2 = show<br/>3 = season<br/>4 = episode<br/>E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries<br/> | 2                                                                                                                                                                                            |
| `IncludeMeta`                                                                                                                                                                                | [GetAllMediaLibraryQueryParamIncludeMeta](../../Models/Requests/GetAllMediaLibraryQueryParamIncludeMeta.md)                                                                                  | :heavy_minus_sign:                                                                                                                                                                           | Adds the Meta object to the response<br/>                                                                                                                                                    | 1                                                                                                                                                                                            |
| `IncludeGuids`                                                                                                                                                                               | [QueryParamIncludeGuids](../../Models/Requests/QueryParamIncludeGuids.md)                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                           | Adds the Guid object to the response<br/>                                                                                                                                                    | 1                                                                                                                                                                                            |
| `IncludeAdvanced`                                                                                                                                                                            | [IncludeAdvanced](../../Models/Requests/IncludeAdvanced.md)                                                                                                                                  | :heavy_minus_sign:                                                                                                                                                                           | N/A                                                                                                                                                                                          | 1                                                                                                                                                                                            |
| `IncludeCollections`                                                                                                                                                                         | [QueryParamIncludeCollections](../../Models/Requests/QueryParamIncludeCollections.md)                                                                                                        | :heavy_minus_sign:                                                                                                                                                                           | N/A                                                                                                                                                                                          | 1                                                                                                                                                                                            |
| `IncludeExternalMedia`                                                                                                                                                                       | [QueryParamIncludeExternalMedia](../../Models/Requests/QueryParamIncludeExternalMedia.md)                                                                                                    | :heavy_minus_sign:                                                                                                                                                                           | N/A                                                                                                                                                                                          | 1                                                                                                                                                                                            |
| `XPlexContainerStart`                                                                                                                                                                        | *int*                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                           | The index of the first item to return. If not specified, the first item will be returned.<br/>If the number of items exceeds the limit, the response will be paginated.<br/>By default this is 0<br/> | 0                                                                                                                                                                                            |
| `XPlexContainerSize`                                                                                                                                                                         | *int*                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                           | The number of items to return. If not specified, all items will be returned.<br/>If the number of items exceeds the limit, the response will be paginated.<br/>By default this is 50<br/>    | 50                                                                                                                                                                                           |