# GetAllMediaLibraryMetadata

Unknown



## Fields

| Field                                                                                                                                                                                                                                     | Type                                                                                                                                                                                                                                      | Required                                                                                                                                                                                                                                  | Description                                                                                                                                                                                                                               | Example                                                                                                                                                                                                                                   |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ratingKey`                                                                                                                                                                                                                               | *String*                                                                                                                                                                                                                                  | :heavy_check_mark:                                                                                                                                                                                                                        | The rating key (Media ID) of this media item. Note: Although this is always an integer, it is represented as a string in the API.                                                                                                         | 58683                                                                                                                                                                                                                                     |
| `key`                                                                                                                                                                                                                                     | *String*                                                                                                                                                                                                                                  | :heavy_check_mark:                                                                                                                                                                                                                        | The unique key for the media item.                                                                                                                                                                                                        | /library/metadata/58683                                                                                                                                                                                                                   |
| `guid`                                                                                                                                                                                                                                    | *String*                                                                                                                                                                                                                                  | :heavy_check_mark:                                                                                                                                                                                                                        | The globally unique identifier for the media item.                                                                                                                                                                                        | plex://movie/5d7768ba96b655001fdc0408                                                                                                                                                                                                     |
| `slug`                                                                                                                                                                                                                                    | *String*                                                                                                                                                                                                                                  | :heavy_check_mark:                                                                                                                                                                                                                        | A URL‐friendly version of the media title.                                                                                                                                                                                                | 4-for-texas                                                                                                                                                                                                                               |
| `studio`                                                                                                                                                                                                                                  | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The studio that produced the media item.                                                                                                                                                                                                  | 20th Century Studios                                                                                                                                                                                                                      |
| `type`                                                                                                                                                                                                                                    | [GetAllMediaLibraryLibraryType](../../models/operations/GetAllMediaLibraryLibraryType.md)                                                                                                                                                 | :heavy_check_mark:                                                                                                                                                                                                                        | N/A                                                                                                                                                                                                                                       | movie                                                                                                                                                                                                                                     |
| `title`                                                                                                                                                                                                                                   | *String*                                                                                                                                                                                                                                  | :heavy_check_mark:                                                                                                                                                                                                                        | The title of the media item.                                                                                                                                                                                                              | Avatar: The Way of Water                                                                                                                                                                                                                  |
| `titleSort`                                                                                                                                                                                                                               | *String*                                                                                                                                                                                                                                  | :heavy_check_mark:                                                                                                                                                                                                                        | The sort title used for ordering media items.                                                                                                                                                                                             | Whale                                                                                                                                                                                                                                     |
| `contentRating`                                                                                                                                                                                                                           | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The content rating for the media item.                                                                                                                                                                                                    | PG-13                                                                                                                                                                                                                                     |
| `summary`                                                                                                                                                                                                                                 | *String*                                                                                                                                                                                                                                  | :heavy_check_mark:                                                                                                                                                                                                                        | A synopsis of the media item.                                                                                                                                                                                                             | Jake Sully lives with his newfound family formed on the extrasolar moon Pandora.<br/>Once a familiar threat returns to finish what was previously started, Jake must<br/>work with Neytiri and the army of the Na'vi race to protect their home.<br/> |
| `rating`                                                                                                                                                                                                                                  | *float*                                                                                                                                                                                                                                   | :heavy_check_mark:                                                                                                                                                                                                                        | The critic rating for the media item.                                                                                                                                                                                                     | 7.6                                                                                                                                                                                                                                       |
| `audienceRating`                                                                                                                                                                                                                          | *double*                                                                                                                                                                                                                                  | :heavy_check_mark:                                                                                                                                                                                                                        | The audience rating for the media item.                                                                                                                                                                                                   | 9.2                                                                                                                                                                                                                                       |
| `year`                                                                                                                                                                                                                                    | *int*                                                                                                                                                                                                                                     | :heavy_check_mark:                                                                                                                                                                                                                        | The release year of the media item.                                                                                                                                                                                                       | 2022                                                                                                                                                                                                                                      |
| `tagline`                                                                                                                                                                                                                                 | *String*                                                                                                                                                                                                                                  | :heavy_check_mark:                                                                                                                                                                                                                        | A brief tagline for the media item.                                                                                                                                                                                                       | Return to Pandora.                                                                                                                                                                                                                        |
| `thumb`                                                                                                                                                                                                                                   | *String*                                                                                                                                                                                                                                  | :heavy_check_mark:                                                                                                                                                                                                                        | The thumbnail image URL for the media item.                                                                                                                                                                                               | /library/metadata/58683/thumb/1703239236                                                                                                                                                                                                  |
| `art`                                                                                                                                                                                                                                     | *String*                                                                                                                                                                                                                                  | :heavy_check_mark:                                                                                                                                                                                                                        | The art image URL for the media item.                                                                                                                                                                                                     | /library/metadata/58683/art/1703239236                                                                                                                                                                                                    |
| `theme`                                                                                                                                                                                                                                   | *String*                                                                                                                                                                                                                                  | :heavy_check_mark:                                                                                                                                                                                                                        | The theme URL for the media item.                                                                                                                                                                                                         | /library/metadata/1/theme/1705636920                                                                                                                                                                                                      |
| `index`                                                                                                                                                                                                                                   | *int*                                                                                                                                                                                                                                     | :heavy_check_mark:                                                                                                                                                                                                                        | The index position of the media item.                                                                                                                                                                                                     | 1                                                                                                                                                                                                                                         |
| `leafCount`                                                                                                                                                                                                                               | *Optional\<Integer>*                                                                                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                        | The number of leaf items (end nodes) under this media item.                                                                                                                                                                               | 14                                                                                                                                                                                                                                        |
| `viewedLeafCount`                                                                                                                                                                                                                         | *Optional\<Integer>*                                                                                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                        | The number of leaf items that have been viewed.                                                                                                                                                                                           | 0                                                                                                                                                                                                                                         |
| `childCount`                                                                                                                                                                                                                              | *int*                                                                                                                                                                                                                                     | :heavy_check_mark:                                                                                                                                                                                                                        | The number of child items associated with this media item.                                                                                                                                                                                | 1                                                                                                                                                                                                                                         |
| `seasonCount`                                                                                                                                                                                                                             | *int*                                                                                                                                                                                                                                     | :heavy_check_mark:                                                                                                                                                                                                                        | The total number of seasons (for TV shows).                                                                                                                                                                                               | 2022                                                                                                                                                                                                                                      |
| `duration`                                                                                                                                                                                                                                | *int*                                                                                                                                                                                                                                     | :heavy_check_mark:                                                                                                                                                                                                                        | The duration of the media item in milliseconds.                                                                                                                                                                                           | 11558112                                                                                                                                                                                                                                  |
| `originallyAvailableAt`                                                                                                                                                                                                                   | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html)                                                                                                                                                           | :heavy_check_mark:                                                                                                                                                                                                                        | The original release date of the media item.                                                                                                                                                                                              | 2022-12-14                                                                                                                                                                                                                                |
| `addedAt`                                                                                                                                                                                                                                 | *long*                                                                                                                                                                                                                                    | :heavy_check_mark:                                                                                                                                                                                                                        | N/A                                                                                                                                                                                                                                       | 1556281940                                                                                                                                                                                                                                |
| `updatedAt`                                                                                                                                                                                                                               | *Optional\<Long>*                                                                                                                                                                                                                         | :heavy_minus_sign:                                                                                                                                                                                                                        | Unix epoch datetime in seconds                                                                                                                                                                                                            | 1556281940                                                                                                                                                                                                                                |
| `audienceRatingImage`                                                                                                                                                                                                                     | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The URL for the audience rating image.                                                                                                                                                                                                    | rottentomatoes://image.rating.upright                                                                                                                                                                                                     |
| `chapterSource`                                                                                                                                                                                                                           | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The source from which chapter data is derived.                                                                                                                                                                                            | media                                                                                                                                                                                                                                     |
| `primaryExtraKey`                                                                                                                                                                                                                         | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The primary extra key associated with this media item.                                                                                                                                                                                    | /library/metadata/58684                                                                                                                                                                                                                   |
| `originalTitle`                                                                                                                                                                                                                           | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The original title of the media item (if different).                                                                                                                                                                                      | 映画 ブラッククローバー 魔法帝の剣                                                                                                                                                                                                                        |
| `parentRatingKey`                                                                                                                                                                                                                         | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The rating key of the parent media item.                                                                                                                                                                                                  | 66                                                                                                                                                                                                                                        |
| `grandparentRatingKey`                                                                                                                                                                                                                    | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The rating key of the grandparent media item.                                                                                                                                                                                             | 66                                                                                                                                                                                                                                        |
| `parentGuid`                                                                                                                                                                                                                              | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The GUID of the parent media item.                                                                                                                                                                                                        | plex://show/5d9c081b170e24001f2a7be4                                                                                                                                                                                                      |
| `grandparentGuid`                                                                                                                                                                                                                         | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The GUID of the grandparent media item.                                                                                                                                                                                                   | plex://show/5d9c081b170e24001f2a7be4                                                                                                                                                                                                      |
| `grandparentSlug`                                                                                                                                                                                                                         | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The slug for the grandparent media item.                                                                                                                                                                                                  | alice-in-borderland-2020                                                                                                                                                                                                                  |
| `grandparentKey`                                                                                                                                                                                                                          | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The key of the grandparent media item.                                                                                                                                                                                                    | /library/metadata/66                                                                                                                                                                                                                      |
| `parentKey`                                                                                                                                                                                                                               | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The key of the parent media item.                                                                                                                                                                                                         | /library/metadata/66                                                                                                                                                                                                                      |
| `grandparentTitle`                                                                                                                                                                                                                        | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The title of the grandparent media item.                                                                                                                                                                                                  | Caprica                                                                                                                                                                                                                                   |
| `grandparentThumb`                                                                                                                                                                                                                        | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The thumbnail URL for the grandparent media item.                                                                                                                                                                                         | /library/metadata/66/thumb/1705716261                                                                                                                                                                                                     |
| `grandparentTheme`                                                                                                                                                                                                                        | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The theme URL for the grandparent media item.                                                                                                                                                                                             | /library/metadata/66/theme/1705716261                                                                                                                                                                                                     |
| `grandparentArt`                                                                                                                                                                                                                          | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The art URL for the grandparent media item.                                                                                                                                                                                               | /library/metadata/66/art/1705716261                                                                                                                                                                                                       |
| `parentTitle`                                                                                                                                                                                                                             | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The title of the parent media item.                                                                                                                                                                                                       | Caprica                                                                                                                                                                                                                                   |
| `parentIndex`                                                                                                                                                                                                                             | *Optional\<Integer>*                                                                                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                        | The index position of the parent media item.                                                                                                                                                                                              | 1                                                                                                                                                                                                                                         |
| `parentThumb`                                                                                                                                                                                                                             | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The thumbnail URL for the parent media item.                                                                                                                                                                                              | /library/metadata/66/thumb/1705716261                                                                                                                                                                                                     |
| `ratingImage`                                                                                                                                                                                                                             | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The URL for the rating image.                                                                                                                                                                                                             | rottentomatoes://image.rating.ripe                                                                                                                                                                                                        |
| `viewCount`                                                                                                                                                                                                                               | *Optional\<Integer>*                                                                                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                        | The number of times this media item has been viewed.                                                                                                                                                                                      | 1                                                                                                                                                                                                                                         |
| `viewOffset`                                                                                                                                                                                                                              | *Optional\<Integer>*                                                                                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                        | The current playback offset (in milliseconds).                                                                                                                                                                                            | 5222500                                                                                                                                                                                                                                   |
| `skipCount`                                                                                                                                                                                                                               | *Optional\<Integer>*                                                                                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                        | The number of times this media item has been skipped.                                                                                                                                                                                     | 1                                                                                                                                                                                                                                         |
| `subtype`                                                                                                                                                                                                                                 | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | A classification that further describes the type of media item. For example, 'clip' indicates that the item is a short video clip.                                                                                                        | clip                                                                                                                                                                                                                                      |
| `lastRatedAt`                                                                                                                                                                                                                             | *Optional\<Long>*                                                                                                                                                                                                                         | :heavy_minus_sign:                                                                                                                                                                                                                        | The Unix timestamp representing the last time the item was rated.                                                                                                                                                                         | 1721813113                                                                                                                                                                                                                                |
| `createdAtAccuracy`                                                                                                                                                                                                                       | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The accuracy of the creation timestamp. This value indicates the format(s) provided (for example, 'epoch,local' means both epoch and local time formats are available).                                                                   | epoch,local                                                                                                                                                                                                                               |
| `createdAtTZOffset`                                                                                                                                                                                                                       | *Optional\<String>*                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                        | The time zone offset for the creation timestamp, represented as a string. This offset indicates the difference from UTC.                                                                                                                  | 0                                                                                                                                                                                                                                         |
| `lastViewedAt`                                                                                                                                                                                                                            | *Optional\<Integer>*                                                                                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                        | Unix timestamp for when the media item was last viewed.                                                                                                                                                                                   | 1682752242                                                                                                                                                                                                                                |
| `userRating`                                                                                                                                                                                                                              | *Optional\<Float>*                                                                                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                        | The rating provided by a user for the item. This value is expressed as a decimal number.                                                                                                                                                  | 10                                                                                                                                                                                                                                        |
| `image`                                                                                                                                                                                                                                   | List\<[GetAllMediaLibraryImage](../../models/operations/GetAllMediaLibraryImage.md)>                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                        | N/A                                                                                                                                                                                                                                       |                                                                                                                                                                                                                                           |
| `ultraBlurColors`                                                                                                                                                                                                                         | [Optional\<GetAllMediaLibraryUltraBlurColors>](../../models/operations/GetAllMediaLibraryUltraBlurColors.md)                                                                                                                              | :heavy_minus_sign:                                                                                                                                                                                                                        | N/A                                                                                                                                                                                                                                       |                                                                                                                                                                                                                                           |
| `media`                                                                                                                                                                                                                                   | List\<[GetAllMediaLibraryMedia](../../models/operations/GetAllMediaLibraryMedia.md)>                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                        | N/A                                                                                                                                                                                                                                       |                                                                                                                                                                                                                                           |
| `genre`                                                                                                                                                                                                                                   | List\<[GetAllMediaLibraryGenre](../../models/operations/GetAllMediaLibraryGenre.md)>                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                        | N/A                                                                                                                                                                                                                                       |                                                                                                                                                                                                                                           |
| `country`                                                                                                                                                                                                                                 | List\<[GetAllMediaLibraryCountry](../../models/operations/GetAllMediaLibraryCountry.md)>                                                                                                                                                  | :heavy_minus_sign:                                                                                                                                                                                                                        | N/A                                                                                                                                                                                                                                       |                                                                                                                                                                                                                                           |
| `director`                                                                                                                                                                                                                                | List\<[GetAllMediaLibraryDirector](../../models/operations/GetAllMediaLibraryDirector.md)>                                                                                                                                                | :heavy_minus_sign:                                                                                                                                                                                                                        | N/A                                                                                                                                                                                                                                       |                                                                                                                                                                                                                                           |
| `writer`                                                                                                                                                                                                                                  | List\<[GetAllMediaLibraryWriter](../../models/operations/GetAllMediaLibraryWriter.md)>                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                        | N/A                                                                                                                                                                                                                                       |                                                                                                                                                                                                                                           |
| `role`                                                                                                                                                                                                                                    | List\<[GetAllMediaLibraryRole](../../models/operations/GetAllMediaLibraryRole.md)>                                                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                        | N/A                                                                                                                                                                                                                                       |                                                                                                                                                                                                                                           |
| `guids`                                                                                                                                                                                                                                   | List\<[Guids](../../models/operations/Guids.md)>                                                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                        | N/A                                                                                                                                                                                                                                       |                                                                                                                                                                                                                                           |
| `collection`                                                                                                                                                                                                                              | List\<[GetAllMediaLibraryCollection](../../models/operations/GetAllMediaLibraryCollection.md)>                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                                                        | N/A                                                                                                                                                                                                                                       |                                                                                                                                                                                                                                           |