Skip to main content
POST
Importer une bibliothèque Kodi

Usage

Imports Kodi library data into the authenticated dejaVu account. 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 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

Kodi imports are chunked; follow the importSessionId, chunk, and totalChunks fields defined by the API contract.

Authorizations

x-api-key
string
header
required

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

Body

application/json
importSessionId
string
required
chunk
integer
required
Required range: x >= 1
totalChunks
integer
required
Required range: x >= 1
source
string
options
object
movies
array
Maximum array length: 250
tvShows
array
Maximum array length: 250
episodes
array
Maximum array length: 250
playlists
array
favorites
array
Maximum array length: 250

Response

Lot importé

success
boolean
required
data
any

Données retournées par l’opération