Skip to main content
POST
/
collection
Ajouter à la collection
curl --request POST \
  --url https://dejavu.plus/api/v1/collection \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "id": 123,
  "format": "<string>",
  "notes": "<string>"
}
'
{
  "id": 123,
  "title": "<string>",
  "posterPath": "<string>",
  "format": "<string>",
  "notes": "<string>",
  "addedAt": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Clé API transmise via le header HTTP. Supporte les clés publiques (pk_...) et secrètes (sk_...).

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>