Package-level declarations
Types
Response item from sync/collection/movies and sync/collection/shows endpoints.
Response item from comments/:id/item endpoint. Returns the media item a comment is attached to.
Stats of the commenting user for the item the comment is attached to.
Request body for device code generation.
Request body for polling device token.
Response item from users/favorites endpoints.
Response item from users/hidden endpoints.
Hidden section types for users/hidden/{section} endpoint.
Item types for user list items. Includes person in addition to media types.
Common interface for media items returned from sync and user endpoints. All implementations contain at least movie and show fields.
A note resource as returned by the single-note endpoints (POST /notes, GET /notes/{id}, PUT /notes/{id}). The list endpoint (GET /users/{id}/notes) wraps this inside TraktNoteItem.note.
Describes what a note is attached to, e.g. {"type":"movie"} or {"type":"history","id":4943432}.
A single entry of the notes list endpoint (GET /users/{id}/notes) and the attached-item endpoint (GET /notes/{id}/item). It pairs the attachedTo context and the media item (movie/show/…) with the actual note. The note content is nested under note, NOT flattened into this object.
Credits for a person in movies.
Credits for a person in TV shows.
Response item from sync/ratings endpoints.
Request body for revoking a token.
VIP: If a user is a regular VIP. VIP_EP: If a user is an execute producer.
Response from users/{id}/stats.
Episode data from sync/watched/shows endpoint. Contains the episode number, play count, and last watched timestamp.
Response item from sync/watched/movies and sync/watched/shows endpoints.
Season data from sync/watched/shows endpoint. Contains only the season number and list of watched episodes.
Response from users/{id}/watching endpoint. Returns what a user is currently watching. If they are not watching anything, the API returns 204 No Content.
Response item from sync/watchlist endpoints.