Admin Public Exercises

Move Category

Move every exercise whose category_path starts with source_path so that the source folder becomes a child of destination_path.

Mirrors the behaviour of /calcul-exercises/move-category: the moved folder keeps its name (source_path[-1]) and any descendants below it are preserved. Passing an empty destination_path lifts the folder to the root.

post/admin/public-exercises/move-category

Request body

source_pathstring[] required
destination_pathstring[]

Response

Successful Response

object required

Changes

No recorded changes to this endpoint across all 2 revisions of this API.