Skip to content
Snippets Groups Projects

CreateElementChildren endpoint

Merged Erwan Rouchet requested to merge element-path-bulk into master
All threads resolved!

Closes #1816 (closed)

  • The worker_run_id field is not included, since ElementPaths are not linked to worker runs.
  • Using the same URL as ListElementChildren and DestroyElementChildren implies using the same APIView with two different serializers, which is really hard to handle as different serializer contexts are needed, different ACL checks are needed, nothing in the OpenAPI schema generation works, etc.
  • /api/v1/element/<id>/children/bulk/ is already taken by CreateElements. I went with /api/v1/element/parent/<id>/, which is similar to /api/v1/element/<id>/parent/<id>/ of CreateElementParent, since this is a bulk version of CreateElementParent.

Merge request reports

Checking pipeline status.

Merged by Bastien AbadieBastien Abadie 8 months ago (Jul 31, 2024 10:06am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Bastien Abadie resolved all threads

    resolved all threads

  • A bit slower than I hoped for, but it should be helpful still.

    Works as expected through API client.

  • Please register or sign in to reply
    Loading