API is inconsistent in itself and compared to other apps and core #678
Labels
api
Modification linked to internal or external call to the application
backend
Modification related to backend
proposition
Suggested improvement to be discussed
Hello,
I notice some inconsistencies in the API of the workspace app.
https://github.com/arawa/workspace/blob/main/appinfo/routes.php
(I don't know where else to look for documentation)
/spaces
, others like/workspaces
, and sometimes/api/workspace/*
. In some cases these do the same, in others not. In other apps or core, there is usually one main path (e.g.apps/groupfolders/folders
), and the main difference is just method POST vs GET vs PUT vs DELETE etc, and a minimal suffix to target a specific id.ocs: {meta: {..}, data: {..}}
.page#index
is a leftover?'folderId'
, other times'folder_id'
or'groupfolder_id'
Do you have any plans to change this?
The text was updated successfully, but these errors were encountered: