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

Put workspace-centric API endpoints behind new URL prefix #67

Closed
jirik opened this issue Apr 23, 2020 · 0 comments · Fixed by #266, #267 or #269
Closed

Put workspace-centric API endpoints behind new URL prefix #67

jirik opened this issue Apr 23, 2020 · 0 comments · Fixed by #266, #267 or #269
Labels
enhancement New feature or request
Milestone

Comments

@jirik
Copy link
Member

jirik commented Apr 23, 2020

Currently, the URL path prefix of workspace-related API endpoints starts with /rest/<workspace>. This blocks usage of non-workspace-centric endpoints, such as endpoint showing information of the Layman instance (e.g. Layman version) or list of all layers/maps across all users.

To enable non-workspace-content endpoints, we need to mode current workspace-centric API endpoints to the new URL path prefix: /rest/workspaces/<workspace>. Then we can create also non-workspace-centric endpoints, for example

  • /rest/about
  • /rest/maps
  • /rest/layers
@jirik jirik added the enhancement New feature or request label Apr 23, 2020
@jirik jirik changed the title Put user-centric API endpoints to behind new URL prefix Put user-centric API endpoints behind new URL prefix Jun 18, 2020
@index-git index-git added this to the Future release milestone Nov 24, 2020
@jirik jirik changed the title Put user-centric API endpoints behind new URL prefix Put workspace-centric API endpoints behind new URL prefix Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants