Files
plexjs/docs/sdk/models/operations/getgenreslibraryrequest.md

4.1 KiB

GetGenresLibraryRequest

Example Usage

import { GetGenresLibraryQueryParamType, GetGenresLibraryRequest } from "@lukehagar/plexjs/sdk/models/operations";

let value: GetGenresLibraryRequest = {
  sectionKey: 9518,
  type: GetGenresLibraryQueryParamType.TvShow,
};

Fields

Field Type Required Description Example
sectionKey number ✔️ The unique key of the Plex library.
Note: This is unique in the context of the Plex server.
9518
type operations.GetGenresLibraryQueryParamType ✔️ The type of media to retrieve or filter by.
1 = movie
2 = show
3 = season
4 = episode
E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
2