Add movie to collection

View as Markdown
**What:** Owner-only. Add a movie by TMDB id (idempotent: re-adding is a no-op). Hydrates the movie cache + filter facets from TMDB. **Auth:** Bearer token required. **Path params:** `id` (collection ObjectId). **Body (JSON):** | Field | Type | Required | Description | Example | |---|---|---|---|---| | tmdbId | integer | yes | Numeric TMDB movie id (> 0). | `27205` | **Returns:** `data = full` (the updated collection + movies).

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

{collectionIdstringRequired

Request

This endpoint expects an object.
tmdbIdintegerRequired

Response

OK
okboolean
dataobject

Errors

400
Bad Request Error
404
Not Found Error