Skip to content

[Libraries] [Collections] [Backend] REST CRUD API for Collections in v2 Libraries #226

Description

@bradenmacdonald
  1. Define new CRUD REST API to be able to query/manipulate the instances of the newly created Collection Model ([Libraries] [Collections] [Backend] Collections model in Learning Core #225).
  2. These should be defined in edx-platform (in the content_libraries django app) to handle permission checks and interface with the Collection model defined in openedx_learning repo.
    • Similar to how the taxonomy views and apis are implemented.
    • For permissions, use the ContentLibrary associated with the Collection's LearningPackage to determine the user's permissions on the Collection. If the LearningPackage is not associated with a ContentLibrary, raise an error.
  3. We also need to emit events when collections are created/edited/updated, which will require adding new event & data types to https://github.com/openedx/openedx-events

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions