Skip to main content
POST
Ajouter à la collection

Usage

Adds a movie or TV show to the authenticated user’s collection. Authentication is required via x-api-key or Authorization: Bearer. Write access requires the permissions associated with a secret key (sk_).

Example

Parameters and response

The JSON request body and responses are defined by the OpenAPI specification displayed on this page.

Errors

See Responses for the operation-specific error codes and formats.

Notes

For episodes, use the series, season, and episode context defined by the schema.

Authorizations

x-api-key
string
header
required

Clé API dejaVu. pk_* = lecture seule ; sk_* = lecture et écriture.

Body

application/json
type
enum<string>
required
Available options:
movie,
tv
id
integer
required

ID TMDB

format
string

Format de stockage (ex: Blu-ray, DVD, digital)

notes
string

Response

Élément ajouté à la collection

id
integer

ID TMDB

type
enum<string>
Available options:
movie,
tv
title
string
posterPath
string | null
format
string | null

Format de stockage (Blu-ray, DVD, etc.)

notes
string | null
addedAt
string<date-time>