Skip to content

fix: expose the documented endpoint for cloning a board - #8220

Merged
luka-nextcloud merged 1 commit into
mainfrom
fix/board-clone-api-route
Jul 30, 2026
Merged

fix: expose the documented endpoint for cloning a board#8220
luka-nextcloud merged 1 commit into
mainfrom
fix/board-clone-api-route

Conversation

@solracsf

Copy link
Copy Markdown
Member
  • Target version: main

Summary

BoardApiController::clone() has never been routed, so the endpoint the API documentation lists as POST /boards/{boardId}/clone answered with a 405 and the controller method was dead code.

Register the route and mark the method up like its neighbours, so that integrations authenticating without a CSRF token can reach it too. The underlying service call is the same one the web route already uses.

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Tests (unit, integration, api and/or acceptance) are included
  • Documentation (manuals or wiki) has been updated or is not required

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
@luka-nextcloud
luka-nextcloud merged commit b142dcf into main Jul 30, 2026
41 checks passed
@luka-nextcloud
luka-nextcloud deleted the fix/board-clone-api-route branch July 30, 2026 16:19
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.

2 participants