polyflix/video

[ENHANCEMENT]: Simplifications on the service architecture

Opened this issue · 0 comments

Description

According to https://github.com/polyflix/architecture/pull/6, we need to update the video service by following the new openapi specifications in order to be v3 compliant.

  • remove watchtime attribute
  • add duration attribute #7
  • remlove isDraft attribute #13

Additional Information

Don't forget to write database migrations :

  • convert all videos in draft mode into private videos
  • slug converted to id everywhere
  • new attribute added : the video's duration