POST Create GroupFolder return List of GroupFolders instead creating a new one
POST apps/groupfolders/folders: Create a new group folder mountpoint: The name for the new folder
I've tried all the possible configurations mountpoint=TEST mountpoint="TEST"
Steps to reproduce
- make a post request to apps/groupfolders/folders with mountpoint="TEST" (like https://help.nextcloud.com/t/create-groupfolders-with-api/80841)
Expected behaviour
A new folder should be created
Actual behaviour
The actual list of folder is returned
Server configuration
Operating system: Linux 4.9.0-4-amd64 x86_64
Web server:
Database: mysql 10.1.26
PHP version: 7.4.16
Nextcloud version: 20.0.8
Group folders version: 8.2.0
I've spent 2 days trying to understand the problem, as soon as I wrote down this Issue I figured it out:
even if GET requests get past to the URL + /apps/groupfolders/folders
this specific POST to create a folder NEEDS URL + index.php/apps/groupfolders/folders
hope this will help someone else
I noticed several other calls also need the addition of 'index.php' to return data or to return any response at all.
Would be happy if anyone can provide insights on the issue :)