Skip to main content
POST
/
collection
/
batch
Ajout par lots à la collection
curl --request POST \
  --url https://dejavu.plus/api/v1/collection/batch \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "items": [
    {
      "id": 123,
      "format": "<string>",
      "notes": "<string>"
    }
  ]
}
'
{
  "success": true
}

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
items
object[]

Response

Succès du lot

success
boolean
default:true