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

8.7 KiB
Raw Blame History

GetRecentlyAddedRequest

Example Usage

import { GetRecentlyAddedRequest, Type } from "@lukehagar/plexjs/sdk/models/operations";

let value: GetRecentlyAddedRequest = {
  contentDirectoryID: 995290,
  sectionID: 2,
  type: Type.TvShow,
};

Fields

Field Type Required Description Example
contentDirectoryID number ✔️ The content directory ID.
pinnedContentDirectoryID string Comma-separated list of pinned content directory IDs.
sectionID number The library section ID for filtering content. 2
type operations.Type ✔️ 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
includeMeta operations.IncludeMeta Adds the Meta object to the response
1
xPlexContainerStart number The index of the first item to return. If not specified, the first item will be returned.
If the number of items exceeds the limit, the response will be paginated.
By default this is 0
0
xPlexContainerSize number The number of items to return. If not specified, all items will be returned.
If the number of items exceeds the limit, the response will be paginated.
By default this is 50
50