Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change / Improve the url for routes #647

Open
zak39 opened this issue Jan 3, 2023 · 0 comments
Open

Change / Improve the url for routes #647

zak39 opened this issue Jan 3, 2023 · 0 comments
Assignees
Labels
api Modification linked to internal or external call to the application backend Modification related to backend

Comments

@zak39
Copy link
Collaborator

zak39 commented Jan 3, 2023

The url for routes are misnamed and confused.

Here is an example of a better way :

/workspaces (GET, POST)
/workspaces/<wid> (GET, DELETE, PATCH)
/workspaces/<wid>/groups (POST, GET)
/workspaces/<wid>/groups/<gid> (GET, DELETE, PATCH)
/workspaces/<wid>/groups/<gid>/users (POST, GET)
/workspaces/<wid>/groups/<gid>/users/<uid> (DELETE)
/users (GET, POST)
/users/<uid> (GET, DELETE, PATCH, PUT)
@zak39 zak39 added backend Modification related to backend api Modification linked to internal or external call to the application labels Jan 3, 2023
@zak39 zak39 self-assigned this Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Modification linked to internal or external call to the application backend Modification related to backend
Projects
None yet
Development

No branches or pull requests

1 participant