action trakt_get_collection { label: "Get collection" description: "#### 🔒 OAuth Required ✨ Extended Info\n\nGet all collected items in a user's collection. A collected item indicates availability to watch digitally or on physical media.\n\nEach `movie` object contains `collected_at` and `updated_at` timestamps. Since users can set custom dates when they collected movies, it is possible for `collected_at` to be in the past. We also include `updated_at` to help sync Trakt data with your app. Cache this timestamp locally and only re-process the movie if you see a newer timestamp.\n\nEach `show` object contains `last_collected_at` and `last_updated_at` timestamps. Since users can set custom dates when they collected episodes, it is possible for `last_collected_at` to be in the past. We also include `last_updated_at` to help sync Trakt data with your app. Cache this timestamp locally and only re-process the show if you see a newer timestamp.\n\nIf you add `?extended=metadata` to the URL, it will return the additional `media_type`, `resolution`, `hdr`, `audio`, `audio_channels` and '3d' metadata. It will use `null` if the metadata isn't set for an item." provider: trakt method: GET path: "/sync/collection/{type}" encoding: json input: { type: "object" properties: { "trakt-api-key": { type: "string" } "trakt-api-version": { type: "string" } type: { type: "string" enum: ["movies", "shows"] } } required: ["type"] additionalProperties: false } output: { type: "object" additionalProperties: true } }