Skip to content

Conversation

@jlabatut
Copy link
Member

@jlabatut jlabatut commented Jan 11, 2023

Update OpenAPI specifications, in order to comply with Polyflix v3 :

  • Courses are the only entity now.
  • Elements will be stored in sections.
  • Elements can be VIDEO, QUIZ and PAGE.
  • The Catalog service now stores only elements IDs and type (and their order in the course).
  • An element should have a visibility field (either PUBLIC, PROTECTED or PRIVATE).
  • A page entity can be created with all associated routes (POST, PUT/{id}, GET/{id}, DELETE/{id}).

@jlabatut
Copy link
Member Author

User stories :

As I want to be able to
a contributor create a course containing elements (videos, quizzes, pages) inside sections
a contributor update a course
a contributor delete a course
a member / a guest access a course, browse its content (sections/elements)
an admin manage the course (update/delete it)

@jlabatut jlabatut requested review from sylvain-reynaud and removed request for hugoamalric January 12, 2023 10:28
@hugoamalric hugoamalric self-requested a review January 12, 2023 10:31
@leofvo leofvo merged commit 38636c1 into main Jan 12, 2023
@leofvo leofvo deleted the add-v3-specs branch January 12, 2023 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants