Creates a new season within a specific series. Seasons organize episodes into logical groups, typically representing different production periods or story arcs.
curl -X POST "https://your-domain.com/api/series/507f1f77bcf86cd799439011/seasons" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{ "title": "Season 1", "description": "The first season introduces the main characters and establishes the core storyline" }'
{ "_id": "507f191e810c19729de860ea", "title": "Season 1", "description": "The first season introduces the main characters and establishes the core storyline", "images": []}
Returned when required fields are missing or invalid:
{ "error": { "message": "Validation failed", "status": 400, "details": { "title": ["The title field is required"], "description": ["The description field is required"] } }}