From c615093f96e929c3d945021203589e459799641a Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Thu, 27 Oct 2022 13:30:45 +0100 Subject: [PATCH] ccv3 api routes: add GetTasksRequest no use in cli yet, but useful to have --- api/cloudcontroller/ccv3/internal/api_routes.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/cloudcontroller/ccv3/internal/api_routes.go b/api/cloudcontroller/ccv3/internal/api_routes.go index 1e747e21033..5955557f21f 100644 --- a/api/cloudcontroller/ccv3/internal/api_routes.go +++ b/api/cloudcontroller/ccv3/internal/api_routes.go @@ -103,6 +103,7 @@ const ( GetSpaceStagingSecurityGroupsRequest = "GetSpaceStagingSecurityGroups" GetSSHEnabled = "GetSSHEnabled" GetStacksRequest = "GetStacks" + GetTasksRequest = "GetTasks" GetUserRequest = "GetUser" GetUsersRequest = "GetUsers" MapRouteRequest = "MapRoute" @@ -344,6 +345,7 @@ var APIRoutes = map[string]Route{ GetStacksRequest: {Path: "/v3/stacks", Method: http.MethodGet}, PatchStackRequest: {Path: "/v3/stacks/:stack_guid", Method: http.MethodPatch}, PutTaskCancelRequest: {Path: "/v3/tasks/:task_guid/cancel", Method: http.MethodPut}, + GetTasksRequest: {Path: "/v3/tasks", Method: http.MethodGet}, GetUsersRequest: {Path: "/v3/users", Method: http.MethodGet}, GetUserRequest: {Path: "/v3/users/:user_guid", Method: http.MethodGet}, PostUserRequest: {Path: "/v3/users", Method: http.MethodPost},