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

5.9 KiB
Raw Blame History

GetSessionHistoryRequest

Example Usage

import { GetSessionHistoryRequest } from "@lukehagar/plexjs/sdk/models/operations";

let value: GetSessionHistoryRequest = {
  accountId: 1,
  filter: {},
  librarySectionID: 12,
};

Fields

Field Type Required Description Example
sort string Sorts the results by the specified field followed by the direction (asc, desc)
accountId number Filter results by those that are related to a specific users id
1
filter operations.QueryParamFilter Filters content by field and direction/equality
(Unknown if viewedAt is the only supported column)
{
"viewed-at-greater-than": {
"value": "viewedAt\u003e"
},
"viewed-at-greater-than-or-equal-to": {
"value": "viewedAt\u003e=\u003e"
},
"viewed-at-less-than": {
"value": "viewedAt\u003c"
}
}
librarySectionID number Filters the results based on the id of a valid library section
12