Rest Api - MeteoraProjects/MeteoraDesigner GitHub Wiki

Request tables

URL path Request method Description Permitted for users Permitted for admins
User
users/ POST create user yes
users/ GET get all users yes
users/{id} GET get user by the user id yes
users/by theParameters GET get user by the parameters yes
users/{id} PUT update user by the user id yes
users/ DELETE delete all users yes
users/{id} DELETE delete user by the user id yes yes
users/{id}/roles GET get all user roles by the user id yes
users/{id}/portfolios GET get all user portfolios by the user id yes
users/{id}/tasks GET get all user tasks by the user id yes
users/{id}/contexts GET get all user contexts by the user id yes
Portfolio
portfolios/ POST create portfolio yes
portfolios/{id} GET get user portfolio by the portfolio id yes
portfolios/by theParameters GET get user portfolios by the parameters yes
portfolios/{id} PUT update user portfolio by the portfolio id yes
portfolios/ DELETE delete all user porfolios yes
portfolios/{id} DELETE delete user portfolio by the portfolio id yes
portfolios/{id}/tasks GET get tasks of user portfolio by the portfolio id yes
TaskContext
contexts/ POST create context yes
contexts/{id} GET get user context by the context id yes
contexts/by theParameters GET get user contexts by the parameters yes
contexts/{id} PUT update user context by the context id yes
contexts/ DELETE delete all user contexts yes
contexts/{id} DELETE delete user context by the context id yes
contexts/{id}/tasks GET get tasks of user context by the context id yes
contexts/{id}/externalcontexts GET get external contexts of user context by the context id yes
contexts/{id}/internalcontexts GET get internal contexts of user context by the context id yes
Task
tasks/ POST create task yes
tasks/{id}parameter(isClone) POST create task from existing one, parameter describes clone the subtasks or use the links yes
tasks/{id}/seflcompletionstateparameters(toState,isRecursively) PUT change the tasks state with according to paramenters yes
tasks/{id}/pointedcompletionstateparameters(toState,isRecursively) PUT change the tasks state with according to paramenters yes
tasks/{id}/internalexecutionstateparameters(toState,isRecursively) PUT change the tasks state with according to paramenters yes
tasks/{id} GET get user task by task id yes
tasks/byParameters GET get user tasks by parameters yes
tasks/{id} PUT update user task by task id yes
tasks/ DELETE delete all user tasks yes
tasks/{id} DELETE delete user task by task id yes
tasks/{id}/externaltasks GET get external tasks of user task by task id yes
tasks/{id}/internaltasks GET get internal tasks of user task by task id yes
tasks/{id}/tasksBlockingTheTask GET get tasks blocking the user task by the task id yes
tasks/{id}/tasksBlockedByTheTask GET get tasks blocked by the user task by the task id yes
tasks/{id}/contexts GET get taskcontexts of user task by the task id yes
TaskContext
contexts/ POST create context yes
contexts/{id} GET get user context by the context id yes
contexts/by theParameters GET get user contexts by the parameters yes
contexts/{id} PUT update user context by the context id yes
contexts/ DELETE delete all user contexts yes
contexts/{id} DELETE delete user context by the context id yes
contexts/{id}/tasks GET get tasks of user context by the context id yes
contexts/{id}/externalcontexts GET get external contexts of user context by the context id yes
contexts/{id}/internalcontexts GET get internal contexts of user context by the context id yes