Atomically add several (entity, preview) couples to the given playlist in a single database write. A playlist entry is the couple, so the same entity may be added several times with different previews; only exact duplicate couples are skipped. When a couple has no preview_file_id, the entity's latest preview (highest revision, restricted to the playlist task type when one is set) is used.
POST
/actions/playlists/{playlist_id}/add-entities
curl \
--request POST 'http://api.example.com/actions/playlists/{playlist_id}/add-entities' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"entities":[{"entity_id":"string","preview_file_id":"string"}]}'
Request examples
{
"entities": [
{
"entity_id": "string",
"preview_file_id": "string"
}
]
}
Response examples (200)
{}