Skip to content

Commit

Permalink
ccv3 api routes: add GetTasksRequest
Browse files Browse the repository at this point in the history
no use in cli yet, but useful to have
  • Loading branch information
risicle committed Jan 24, 2023
1 parent dfbf695 commit 5b51b23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/cloudcontroller/ccv3/internal/api_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ const (
GetSpaceStagingSecurityGroupsRequest = "GetSpaceStagingSecurityGroups"
GetSSHEnabled = "GetSSHEnabled"
GetStacksRequest = "GetStacks"
GetTasksRequest = "GetTasks"
GetUserRequest = "GetUser"
GetUsersRequest = "GetUsers"
MapRouteRequest = "MapRoute"
Expand Down Expand Up @@ -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},
Expand Down

0 comments on commit 5b51b23

Please sign in to comment.