Watchlist-project / movie-watchlist-backend

Backend API for movie watchlist website
1 stars 0 forks source link

Create DTO for watchlist #5

Closed Martenere closed 3 months ago

Martenere commented 3 months ago

The watchlist endpoint will be able to return either a single watchlist or multiple watchlists.

A watchlistDTO looks like the following in JSON:

{ 
id:
name:
description:
List of movieIDs int[]
}

It should be created in the /DTO/WatchlistDTO

The watchlistDTO should be return a single watchlistDTO from a constructor

Return a list of watchlistDTO generated by a static function WatchlistDTO.fromListOfWatchlist()