🍿 @lorenzopant/tmdb

v4 Lists

Type definitions for the v4 Lists API.

Types related to the V4ListsAPI namespace.

V4ListMediaType

Union type for list item media types.

type V4ListMediaType = "movie" | "tv";

V4ListStatusResponse

Standard response returned by mutating endpoints: update(), delete(), remove_items(), and clear().

Prop

Type


V4ListItemInput

A single item reference used when adding or updating items in a list.

Prop

Type


V4CreateListBody

Request body for v4.lists.create().

Prop

Type

V4CreateListResponse

Returned by v4.lists.create().

Prop

Type


V4ListDetailsParams

Query params for v4.lists.details().

Prop

Type

V4ListResult

A single media item returned inside the results array of V4ListDetails. Fields vary between movies and TV shows — movie-specific fields (title, release_date, video) are optional and present only for media_type: "movie"; TV-specific fields (name, first_air_date, origin_country) are present only for media_type: "tv".

Prop

Type

V4ListDetails

Full response from v4.lists.details().

Prop

Type


V4UpdateListBody

Request body for v4.lists.update().

Prop

Type


V4DeleteListParams

Query params for v4.lists.delete().

Prop

Type


V4AddListItemsBody

Request body for v4.lists.add_items().

Prop

Type

V4ListItemResult

Per-item result inside V4AddListItemsResponse.

Prop

Type

V4AddListItemsResponse

Returned by v4.lists.add_items().

Prop

Type


V4UpdateListItemsBody

Request body for v4.lists.update_items(). Alias of V4AddListItemsBody.

V4UpdateListItemsResponse

Returned by v4.lists.update_items(). Alias of V4AddListItemsResponse.


V4RemoveListItemsBody

Request body for v4.lists.remove_items().

Prop

Type


V4ListItemStatusParams

Query params for v4.lists.item_status().

Prop

Type

V4ListItemStatusResponse

Returned by v4.lists.item_status().

Prop

Type

On this page