getHistory method
Future<TautulliHistory>
getHistory({
- bool? grouping,
- String? user,
- int? userId,
- int? ratingKey,
- int? parentRatingKey,
- int? grandparentRatingKey,
- String? startDate,
- int? sectionId,
- TautulliMediaType? mediaType,
- TautulliTranscodeDecision? transcodeDecision,
- String? guid,
- TautulliHistoryOrderColumn? orderColumn,
- TautulliOrderDirection? orderDirection,
- int? start,
- int? length,
- String? search,
Handler for get_history.
Get the Tautulli history.
Optional Parameters:
grouping
: Group datauser
: User's nameuserId
: User's IDratingKey
: Identifier/rating key for the content itselfparentRatingKey
: Identifier/rating key for the content's parentgrandparentRatingKey
: Identifier/rating key for the content's grandparentstartDate
: String DateTime format structured as "YYYY-MM-DD"sectionId
: Section ID to fetch history formediaType
: Type of media to fetch history fortranscodeDecision
: To fetch history only for records with a specific transcoding decisionguid
: Plex GUID for an itemorderColumn
: The column order key for sorting the history recordsorderDirection
: The direction to sort the history recordsstart
: Which row to start at (default: 0)length
: Number of records to return (default: 25)search
: A string to search for
Implementation
Future<TautulliHistory> getHistory({
bool? grouping,
String? user,
int? userId,
int? ratingKey,
int? parentRatingKey,
int? grandparentRatingKey,
String? startDate,
int? sectionId,
TautulliMediaType? mediaType,
TautulliTranscodeDecision? transcodeDecision,
String? guid,
TautulliHistoryOrderColumn? orderColumn,
TautulliOrderDirection? orderDirection,
int? start,
int? length,
String? search,
}) async => _commandGetHistory(
_client,
grouping: grouping,
user: user,
userId: userId,
ratingKey: ratingKey,
parentRatingKey: parentRatingKey,
grandparentRatingKey: grandparentRatingKey,
startDate: startDate,
sectionId: sectionId,
mediaType: mediaType,
transcodeDecision: transcodeDecision,
guid: guid,
orderColumn: orderColumn,
orderDirection: orderDirection,
start: start,
length: length,
search: search,
);