Frontend Routes
For consistency, we have a strict structure for our frontend route URIs. The structure is based on REST, but not completely the same due to the limitations of the unavailable request methods.
/resourcesfor the resource overview, e.g.,/projectsfor the projects overview/resources/actionfor a specific action (not related to a specific instance of the resource), e.g.,/projects/createto create a project. Possible actions are:createdelete- or any other action if the action is not used to
createordeletea resource.
/resources/action/subactionfor a specific action related to a parent action, e.g.,/project/:name/models/create/sourceto go to the source stage of the model creation.resource/:nameto access a single instance of type resource.resource/:name/childresourceto access a single child resource of a specific instance from type resource.
Examples
Valid routes are:
/project/test/models/createis a valid route to create a model in the projecttest./projectsis a valid route for the overview of projects.
These are not valid:
/project/create(projectshould be plural)/models(modelsis a child resource ofprojects, therefore it should be/projects/:id/models)