Collections
Create/Update a collection for the identified user [Premium feature]
Create/Update a collection for the identified user. [Premium feature]
post/collections/collection
Request
- Base URLhttps://api.betaseries.com
- AuthAPI key in header X-BetaSeries-Key and API key in header X-BetaSeries-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
idstring
ID of the collection to update (Mandatory for updating)
namestring
Name of the collection (Mandatory for creation)
descriptionstring
Description of the collection (Optional)
privatestring
Indicates if the collection if private (Optional, possibles values : '1' (for private) or '0' (for public, default value when creation))
itemsstring
List of shows/movies for the collection (Mandatory for creation, Optional for edition. Must be a JSON array with format : [{"type": "show", "id": 123, "note": "Note about series"}, {"type": "movie", "id": 456, "note": null}])
localestring
Locale parameter to specify language preference
Response
Successful operation
Changes
No recorded changes to this operation across all 2 revisions of this API.