Skip to content

Add service and endpoints for entity duplication

Daniel Gerhardt requested to merge entity-duplication into master

Duplication has been implemented for rooms and contents. Room duplication cascades, i.e. entities related to the room are also duplicated and assigned to the new room. Content duplication adds a copy of a content and adds it to the same or another content group. Answers for those contents are not duplicated.

An event is published after the duplicate has been created and contains both room (application event) or room IDs (AMQP event). This allows other services to react and duplicate their data for the room.

Endpoints:

  • POST /room/<Room ID>/duplicate
  • POST /content/<Content ID>/duplicate {"contentGroupId": "<Target Content Group ID>"}
Edited by Daniel Gerhardt

Merge request reports

Loading