github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/api/cloudcontroller/ccv3/internal/api_routes.go (about)

     1  package internal
     2  
     3  import "net/http"
     4  
     5  // Naming convention:
     6  //
     7  // HTTP method + non-parameter parts of the path + "Request"
     8  //
     9  // If the request returns a single entity by GUID, use the singular (for example
    10  // /v3/organizations/:organization_guid is GetOrganization).
    11  const (
    12  	DeleteApplicationProcessInstanceRequest                     = "DeleteApplicationProcessInstance"
    13  	DeleteApplicationRequest                                    = "DeleteApplication"
    14  	DeleteBuildpackRequest                                      = "DeleteBuildpack"
    15  	DeleteDomainRequest                                         = "DeleteDomainRequest"
    16  	DeleteIsolationSegmentRelationshipOrganizationRequest       = "DeleteIsolationSegmentRelationshipOrganization"
    17  	DeleteIsolationSegmentRequest                               = "DeleteIsolationSegment"
    18  	DeleteOrganizationRequest                                   = "DeleteOrganization"
    19  	DeleteOrganizationQuotaRequest                              = "DeleteOrganizationQuota"
    20  	DeleteOrphanedRoutesRequest                                 = "DeleteOrphanedRoutes"
    21  	DeleteRoleRequest                                           = "DeleteRoleRequest"
    22  	DeleteRouteRequest                                          = "DeleteRouteRequest"
    23  	DeleteRouteBindingRequest                                   = "DeleteRouteBinding"
    24  	DeleteSecurityGroupRequest                                  = "DeleteSecurityGroup"
    25  	DeleteSecurityGroupStagingSpaceRequest                      = "DeleteSecurityGroupStagingSpace"
    26  	DeleteSecurityGroupRunningSpaceRequest                      = "DeleteSecurityGroupRunningSpace"
    27  	DeleteServiceCredentialBindingRequest                       = "DeleteServiceCredentialBinding"
    28  	DeleteServiceBrokerRequest                                  = "DeleteServiceBrokerRequest"
    29  	DeleteServiceInstanceRelationshipsSharedSpaceRequest        = "DeleteServiceInstanceRelationshipsSharedSpace"
    30  	DeleteServiceInstanceRequest                                = "DeleteServiceInstance"
    31  	DeleteServiceOfferingRequest                                = "DeleteServiceOffering"
    32  	DeleteServicePlanVisibilityRequest                          = "DeleteServicePlanVisibility"
    33  	DeleteSharedOrgFromDomainRequest                            = "DeleteSharedOrgFromDomain"
    34  	DeleteSpaceQuotaRequest                                     = "DeleteSpaceQuota"
    35  	DeleteSpaceRequest                                          = "DeleteSpace"
    36  	DeleteSpaceQuotaFromSpaceRequest                            = "DeleteSpaceQuotaFromSpace"
    37  	DeleteUserRequest                                           = "DeleteUser"
    38  	GetApplicationDropletCurrentRequest                         = "GetApplicationDropletCurrent"
    39  	GetApplicationEnvRequest                                    = "GetApplicationEnv"
    40  	GetApplicationFeaturesRequest                               = "GetApplicationFeatures"
    41  	GetApplicationManifestRequest                               = "GetApplicationManifest"
    42  	GetApplicationProcessRequest                                = "GetApplicationProcess"
    43  	GetApplicationProcessesRequest                              = "GetApplicationProcesses"
    44  	GetApplicationRevisionsRequest                              = "GetApplicationRevisions"
    45  	GetApplicationRevisionsDeployedRequest                      = "GetApplicationRevisionsDeployed"
    46  	GetApplicationRoutesRequest                                 = "GetApplicationRoutes"
    47  	GetApplicationTasksRequest                                  = "GetApplicationTasks"
    48  	GetApplicationsRequest                                      = "GetApplications"
    49  	GetBuildRequest                                             = "GetBuild"
    50  	GetBuildpacksRequest                                        = "GetBuildpacks"
    51  	GetDefaultDomainRequest                                     = "GetDefaultDomain"
    52  	GetDeploymentRequest                                        = "GetDeployment"
    53  	GetDeploymentsRequest                                       = "GetDeployments"
    54  	GetDomainRequest                                            = "GetDomain"
    55  	GetDomainRouteReservationsRequest                           = "GetDomainRouteReservations"
    56  	GetDomainsRequest                                           = "GetDomains"
    57  	GetDropletRequest                                           = "GetDroplet"
    58  	GetDropletsRequest                                          = "GetDroplets"
    59  	GetDropletBitsRequest                                       = "GetDropletBits"
    60  	GetEnvironmentVariableGroupRequest                          = "GetEnvironmentVariableGroup"
    61  	GetEventsRequest                                            = "GetEvents"
    62  	GetFeatureFlagRequest                                       = "GetFeatureFlag"
    63  	GetFeatureFlagsRequest                                      = "GetFeatureFlags"
    64  	GetIsolationSegmentOrganizationsRequest                     = "GetIsolationSegmentOrganizations"
    65  	GetIsolationSegmentRequest                                  = "GetIsolationSegment"
    66  	GetIsolationSegmentsRequest                                 = "GetIsolationSegments"
    67  	GetOrganizationDomainsRequest                               = "GetOrganizationDomains"
    68  	GetOrganizationQuotasRequest                                = "GetOrganizationQuotas"
    69  	GetOrganizationQuotaRequest                                 = "GetOrganizationQuota"
    70  	GetOrganizationRelationshipDefaultIsolationSegmentRequest   = "GetOrganizationRelationshipDefaultIsolationSegment"
    71  	GetOrganizationRequest                                      = "GetOrganization"
    72  	GetOrganizationsRequest                                     = "GetOrganizations"
    73  	GetPackageRequest                                           = "GetPackage"
    74  	GetPackagesRequest                                          = "GetPackages"
    75  	GetPackageDropletsRequest                                   = "GetPackageDroplets"
    76  	GetProcessRequest                                           = "GetProcess"
    77  	GetProcessesRequest                                         = "GetProcesses"
    78  	GetProcessStatsRequest                                      = "GetProcessStats"
    79  	GetProcessSidecarsRequest                                   = "GetProcessSidecars"
    80  	GetRolesRequest                                             = "GetRoles"
    81  	GetRouteBindingsRequest                                     = "GetRouteBindings"
    82  	GetRouteDestinationsRequest                                 = "GetRouteDestinations"
    83  	GetRoutesRequest                                            = "GetRoutes"
    84  	GetSecurityGroupsRequest                                    = "GetSecurityGroups"
    85  	GetServiceBrokersRequest                                    = "GetServiceBrokers"
    86  	GetServiceCredentialBindingsRequest                         = "GetServiceCredentialBindings"
    87  	GetServiceCredentialBindingDetailsRequest                   = "GetServiceCredentialBindingDetails"
    88  	GetServiceInstanceParametersRequest                         = "GetServiceInstanceParameters"
    89  	GetServiceInstancesRequest                                  = "GetServiceInstances"
    90  	GetServiceInstanceRelationshipsSharedSpacesRequest          = "GetServiceInstanceRelationshipSharedSpacesRequest"
    91  	GetServiceInstanceSharedSpacesUsageSummaryRequest           = "GetServiceInstanceSharedSpacesUsageSummaryRequest"
    92  	GetServiceOfferingRequest                                   = "GetServiceOffering"
    93  	GetServiceOfferingsRequest                                  = "GetServiceOfferings"
    94  	GetServicePlanRequest                                       = "GetServicePlan"
    95  	GetServicePlansRequest                                      = "GetServicePlans"
    96  	GetServicePlanVisibilityRequest                             = "GetServicePlanVisibility"
    97  	GetSpaceFeatureRequest                                      = "GetSpaceFeatureRequest"
    98  	GetSpaceRelationshipIsolationSegmentRequest                 = "GetSpaceRelationshipIsolationSegment"
    99  	GetSpaceRunningSecurityGroupsRequest                        = "GetSpaceRunningSecurityGroups"
   100  	GetSpacesRequest                                            = "GetSpaces"
   101  	GetSpaceQuotaRequest                                        = "GetSpaceQuota"
   102  	GetSpaceQuotasRequest                                       = "GetSpaceQuotas"
   103  	GetSpaceStagingSecurityGroupsRequest                        = "GetSpaceStagingSecurityGroups"
   104  	GetSSHEnabled                                               = "GetSSHEnabled"
   105  	GetStacksRequest                                            = "GetStacks"
   106  	GetTasksRequest                                             = "GetTasks"
   107  	GetTaskRequest                                              = "GetTask"
   108  	GetUserRequest                                              = "GetUser"
   109  	GetUsersRequest                                             = "GetUsers"
   110  	MapRouteRequest                                             = "MapRoute"
   111  	PatchApplicationCurrentDropletRequest                       = "PatchApplicationCurrentDroplet"
   112  	PatchApplicationEnvironmentVariablesRequest                 = "PatchApplicationEnvironmentVariables"
   113  	PatchApplicationRequest                                     = "PatchApplication"
   114  	PatchApplicationFeaturesRequest                             = "PatchApplicationFeatures"
   115  	PatchEnvironmentVariableGroupRequest                        = "PatchEnvironmentVariableGroup"
   116  	PatchBuildpackRequest                                       = "PatchBuildpack"
   117  	PatchDestinationRequest                                     = "PatchDestination"
   118  	PatchDomainRequest                                          = "PatchDomain"
   119  	PatchFeatureFlagRequest                                     = "PatchFeatureFlag"
   120  	PatchOrganizationRelationshipDefaultIsolationSegmentRequest = "PatchOrganizationRelationshipDefaultIsolationSegment"
   121  	PatchOrganizationRequest                                    = "PatchOrganization"
   122  	PatchOrganizationQuotaRequest                               = "PatchOrganizationQuota"
   123  	PatchProcessRequest                                         = "PatchProcess"
   124  	PatchRouteRequest                                           = "PatchRoute"
   125  	PatchSecurityGroupRequest                                   = "PatchSecurityGroup"
   126  	PatchServiceBrokerRequest                                   = "PatchServiceBrokerRequest"
   127  	PatchServiceInstanceRequest                                 = "PatchServiceInstance"
   128  	PatchServiceOfferingRequest                                 = "PatchServiceOfferingRequest"
   129  	PatchServicePlanRequest                                     = "PatchServicePlanRequest"
   130  	PatchSpaceRelationshipIsolationSegmentRequest               = "PatchSpaceRelationshipIsolationSegment"
   131  	PatchSpaceRequest                                           = "PatchSpace"
   132  	PatchSpaceFeaturesRequest                                   = "PatchSpaceFeatures"
   133  	PatchSpaceQuotaRequest                                      = "PatchSpaceQuota"
   134  	PatchStackRequest                                           = "PatchStack"
   135  	PatchMoveRouteRequest                                       = "PatchMoveRouteRequest"
   136  	PostApplicationActionApplyManifest                          = "PostApplicationActionApplyM"
   137  	PostApplicationActionRestartRequest                         = "PostApplicationActionRestart"
   138  	PostApplicationActionStartRequest                           = "PostApplicationActionStart"
   139  	PostApplicationActionStopRequest                            = "PostApplicationActionStop"
   140  	PostApplicationDeploymentActionCancelRequest                = "PostApplicationDeploymentActionCancel"
   141  	PostApplicationDeploymentRequest                            = "PostApplicationDeployment"
   142  	PostApplicationProcessActionScaleRequest                    = "PostApplicationProcessActionScale"
   143  	PostApplicationRequest                                      = "PostApplication"
   144  	PostApplicationTasksRequest                                 = "PostApplicationTasks"
   145  	PostBuildRequest                                            = "PostBuild"
   146  	PostBuildpackBitsRequest                                    = "PostBuildpackBits"
   147  	PostBuildpackRequest                                        = "PostBuildpack"
   148  	PostDomainRequest                                           = "PostDomain"
   149  	PostDropletBitsRequest                                      = "PostDropletBits"
   150  	PostDropletRequest                                          = "PostDroplet"
   151  	PostIsolationSegmentRelationshipOrganizationsRequest        = "PostIsolationSegmentRelationshipOrganizations"
   152  	PostIsolationSegmentsRequest                                = "PostIsolationSegments"
   153  	PostOrganizationRequest                                     = "PostOrganization"
   154  	PostOrganizationQuotaRequest                                = "PostOrganizationQuota"
   155  	PostOrganizationQuotaApplyRequest                           = "PostOrganizationQuotaApply"
   156  	PostPackageRequest                                          = "PostPackage"
   157  	PostPackageBitsRequest                                      = "PostPackageBits"
   158  	PostResourceMatchesRequest                                  = "PostResourceMatches"
   159  	PostRoleRequest                                             = "PostRole"
   160  	PostRouteRequest                                            = "PostRoute"
   161  	PostRouteBindingRequest                                     = "PostRouteBinding"
   162  	PostSecurityGroupRequest                                    = "PostSecurityGroup"
   163  	PostSecurityGroupStagingSpaceRequest                        = "PostSecurityGroupStagingSpace"
   164  	PostSecurityGroupRunningSpaceRequest                        = "PostSecurityGroupRunningSpace"
   165  	PostServiceCredentialBindingRequest                         = "PostServiceCredentialBinding"
   166  	PostServiceBrokerRequest                                    = "PostServiceBroker"
   167  	PostServiceInstanceRequest                                  = "PostServiceInstance"
   168  	PostServiceInstanceRelationshipsSharedSpacesRequest         = "PostServiceInstanceRelationshipsSharedSpaces"
   169  	PostServicePlanVisibilityRequest                            = "PostServicePlanVisibility"
   170  	PostSpaceActionApplyManifestRequest                         = "PostSpaceActionApplyManifest"
   171  	PostSpaceDiffManifestRequest                                = "PostSpaceDiffManifest"
   172  	PostSpaceRequest                                            = "PostSpace"
   173  	PostSpaceQuotaRequest                                       = "PostSpaceQuota"
   174  	PostSpaceQuotaRelationshipsRequest                          = "PostSpaceQuotaRelationships"
   175  	PostUserRequest                                             = "PostUser"
   176  	PutTaskCancelRequest                                        = "PutTaskCancel"
   177  	SharePrivateDomainRequest                                   = "SharePrivateDomainRequest"
   178  	ShareRouteRequest                                           = "ShareRouteRequest"
   179  	UnmapRouteRequest                                           = "UnmapRoute"
   180  	UnshareRouteRequest                                         = "UnshareRoute"
   181  	WhoAmI                                                      = "WhoAmI"
   182  )
   183  
   184  // APIRoutes is a list of routes used by the router to construct request URLs.
   185  var APIRoutes = map[string]Route{
   186  	GetApplicationsRequest:                                      {Path: "/v3/apps", Method: http.MethodGet},
   187  	PostApplicationRequest:                                      {Path: "/v3/apps", Method: http.MethodPost},
   188  	DeleteApplicationRequest:                                    {Path: "/v3/apps/:app_guid", Method: http.MethodDelete},
   189  	PatchApplicationRequest:                                     {Path: "/v3/apps/:app_guid", Method: http.MethodPatch},
   190  	PatchApplicationFeaturesRequest:                             {Path: "/v3/apps/:app_guid/features/:name", Method: http.MethodPatch},
   191  	GetApplicationFeaturesRequest:                               {Path: "/v3/apps/:app_guid/features/:name", Method: http.MethodGet},
   192  	PostApplicationActionApplyManifest:                          {Path: "/v3/apps/:app_guid/actions/apply_manifest", Method: http.MethodPost},
   193  	PostApplicationActionRestartRequest:                         {Path: "/v3/apps/:app_guid/actions/restart", Method: http.MethodPost},
   194  	PostApplicationActionStartRequest:                           {Path: "/v3/apps/:app_guid/actions/start", Method: http.MethodPost},
   195  	PostApplicationActionStopRequest:                            {Path: "/v3/apps/:app_guid/actions/stop", Method: http.MethodPost},
   196  	GetApplicationDropletCurrentRequest:                         {Path: "/v3/apps/:app_guid/droplets/current", Method: http.MethodGet},
   197  	GetApplicationEnvRequest:                                    {Path: "/v3/apps/:app_guid/env", Method: http.MethodGet},
   198  	PatchApplicationEnvironmentVariablesRequest:                 {Path: "/v3/apps/:app_guid/environment_variables", Method: http.MethodPatch},
   199  	GetApplicationManifestRequest:                               {Path: "/v3/apps/:app_guid/manifest", Method: http.MethodGet},
   200  	GetApplicationProcessesRequest:                              {Path: "/v3/apps/:app_guid/processes", Method: http.MethodGet},
   201  	GetApplicationProcessRequest:                                {Path: "/v3/apps/:app_guid/processes/:type", Method: http.MethodGet},
   202  	PostApplicationProcessActionScaleRequest:                    {Path: "/v3/apps/:app_guid/processes/:type/actions/scale", Method: http.MethodPost},
   203  	DeleteApplicationProcessInstanceRequest:                     {Path: "/v3/apps/:app_guid/processes/:type/instances/:index", Method: http.MethodDelete},
   204  	PatchApplicationCurrentDropletRequest:                       {Path: "/v3/apps/:app_guid/relationships/current_droplet", Method: http.MethodPatch},
   205  	GetApplicationRevisionsRequest:                              {Path: "/v3/apps/:app_guid/revisions", Method: http.MethodGet},
   206  	GetApplicationRevisionsDeployedRequest:                      {Path: "/v3/apps/:app_guid/revisions/deployed", Method: http.MethodGet},
   207  	GetApplicationRoutesRequest:                                 {Path: "/v3/apps/:app_guid/routes", Method: http.MethodGet},
   208  	GetSSHEnabled:                                               {Path: "/v3/apps/:app_guid/ssh_enabled", Method: http.MethodGet},
   209  	GetApplicationTasksRequest:                                  {Path: "/v3/apps/:app_guid/tasks", Method: http.MethodGet},
   210  	PostApplicationTasksRequest:                                 {Path: "/v3/apps/:app_guid/tasks", Method: http.MethodPost},
   211  	GetBuildpacksRequest:                                        {Path: "/v3/buildpacks", Method: http.MethodGet},
   212  	PostBuildpackRequest:                                        {Path: "/v3/buildpacks/", Method: http.MethodPost},
   213  	DeleteBuildpackRequest:                                      {Path: "/v3/buildpacks/:buildpack_guid", Method: http.MethodDelete},
   214  	PatchBuildpackRequest:                                       {Path: "/v3/buildpacks/:buildpack_guid", Method: http.MethodPatch},
   215  	PostBuildpackBitsRequest:                                    {Path: "/v3/buildpacks/:buildpack_guid/upload", Method: http.MethodPost},
   216  	PostBuildRequest:                                            {Path: "/v3/builds", Method: http.MethodPost},
   217  	GetBuildRequest:                                             {Path: "/v3/builds/:build_guid", Method: http.MethodGet},
   218  	GetDeploymentsRequest:                                       {Path: "/v3/deployments", Method: http.MethodGet},
   219  	PostApplicationDeploymentRequest:                            {Path: "/v3/deployments", Method: http.MethodPost},
   220  	GetDeploymentRequest:                                        {Path: "/v3/deployments/:deployment_guid", Method: http.MethodGet},
   221  	PostApplicationDeploymentActionCancelRequest:                {Path: "/v3/deployments/:deployment_guid/actions/cancel", Method: http.MethodPost},
   222  	GetDomainsRequest:                                           {Path: "/v3/domains", Method: http.MethodGet},
   223  	PostDomainRequest:                                           {Path: "/v3/domains", Method: http.MethodPost},
   224  	DeleteDomainRequest:                                         {Path: "/v3/domains/:domain_guid", Method: http.MethodDelete},
   225  	GetDomainRequest:                                            {Path: "/v3/domains/:domain_guid", Method: http.MethodGet},
   226  	PatchDomainRequest:                                          {Path: "/v3/domains/:domain_guid", Method: http.MethodPatch},
   227  	SharePrivateDomainRequest:                                   {Path: "/v3/domains/:domain_guid/relationships/shared_organizations", Method: http.MethodPost},
   228  	DeleteSharedOrgFromDomainRequest:                            {Path: "/v3/domains/:domain_guid/relationships/shared_organizations/:org_guid", Method: http.MethodDelete},
   229  	GetDomainRouteReservationsRequest:                           {Path: "/v3/domains/:domain_guid/route_reservations", Method: http.MethodGet},
   230  	GetDropletsRequest:                                          {Path: "/v3/droplets", Method: http.MethodGet},
   231  	PostDropletRequest:                                          {Path: "/v3/droplets", Method: http.MethodPost},
   232  	GetDropletRequest:                                           {Path: "/v3/droplets/:droplet_guid", Method: http.MethodGet},
   233  	PostDropletBitsRequest:                                      {Path: "/v3/droplets/:droplet_guid/upload", Method: http.MethodPost},
   234  	GetDropletBitsRequest:                                       {Path: "/v3/droplets/:droplet_guid/download", Method: http.MethodGet},
   235  	GetEnvironmentVariableGroupRequest:                          {Path: "/v3/environment_variable_groups/:group_name", Method: http.MethodGet},
   236  	PatchEnvironmentVariableGroupRequest:                        {Path: "/v3/environment_variable_groups/:group_name", Method: http.MethodPatch},
   237  	GetEventsRequest:                                            {Path: "/v3/audit_events", Method: http.MethodGet},
   238  	GetFeatureFlagsRequest:                                      {Path: "/v3/feature_flags", Method: http.MethodGet},
   239  	GetFeatureFlagRequest:                                       {Path: "/v3/feature_flags/:name", Method: http.MethodGet},
   240  	PatchFeatureFlagRequest:                                     {Path: "/v3/feature_flags/:name", Method: http.MethodPatch},
   241  	GetIsolationSegmentsRequest:                                 {Path: "/v3/isolation_segments", Method: http.MethodGet},
   242  	PostIsolationSegmentsRequest:                                {Path: "/v3/isolation_segments", Method: http.MethodPost},
   243  	DeleteIsolationSegmentRequest:                               {Path: "/v3/isolation_segments/:isolation_segment_guid", Method: http.MethodDelete},
   244  	GetIsolationSegmentRequest:                                  {Path: "/v3/isolation_segments/:isolation_segment_guid", Method: http.MethodGet},
   245  	GetIsolationSegmentOrganizationsRequest:                     {Path: "/v3/isolation_segments/:isolation_segment_guid/organizations", Method: http.MethodGet},
   246  	PostIsolationSegmentRelationshipOrganizationsRequest:        {Path: "/v3/isolation_segments/:isolation_segment_guid/relationships/organizations", Method: http.MethodPost},
   247  	DeleteIsolationSegmentRelationshipOrganizationRequest:       {Path: "/v3/isolation_segments/:isolation_segment_guid/relationships/organizations/:organization_guid", Method: http.MethodDelete},
   248  	GetOrganizationsRequest:                                     {Path: "/v3/organizations", Method: http.MethodGet},
   249  	PostOrganizationRequest:                                     {Path: "/v3/organizations", Method: http.MethodPost},
   250  	GetOrganizationRequest:                                      {Path: "/v3/organizations/:organization_guid", Method: http.MethodGet},
   251  	DeleteOrganizationRequest:                                   {Path: "/v3/organizations/:organization_guid/", Method: http.MethodDelete},
   252  	PatchOrganizationRequest:                                    {Path: "/v3/organizations/:organization_guid/", Method: http.MethodPatch},
   253  	GetOrganizationDomainsRequest:                               {Path: "/v3/organizations/:organization_guid/domains", Method: http.MethodGet},
   254  	GetDefaultDomainRequest:                                     {Path: "/v3/organizations/:organization_guid/domains/default", Method: http.MethodGet},
   255  	GetOrganizationRelationshipDefaultIsolationSegmentRequest:   {Path: "/v3/organizations/:organization_guid/relationships/default_isolation_segment", Method: http.MethodGet},
   256  	PatchOrganizationRelationshipDefaultIsolationSegmentRequest: {Path: "/v3/organizations/:organization_guid/relationships/default_isolation_segment", Method: http.MethodPatch},
   257  	PatchOrganizationQuotaRequest:                               {Path: "/v3/organization_quotas/:quota_guid", Method: http.MethodPatch},
   258  	PostOrganizationQuotaRequest:                                {Path: "/v3/organization_quotas", Method: http.MethodPost},
   259  	PostOrganizationQuotaApplyRequest:                           {Path: "/v3/organization_quotas/:quota_guid/relationships/organizations", Method: http.MethodPost},
   260  	GetOrganizationQuotaRequest:                                 {Path: "/v3/organization_quotas/:quota_guid", Method: http.MethodGet},
   261  	GetOrganizationQuotasRequest:                                {Path: "/v3/organization_quotas", Method: http.MethodGet},
   262  	DeleteOrganizationQuotaRequest:                              {Path: "/v3/organization_quotas/:quota_guid", Method: http.MethodDelete},
   263  	GetPackagesRequest:                                          {Path: "/v3/packages", Method: http.MethodGet},
   264  	PostPackageRequest:                                          {Path: "/v3/packages", Method: http.MethodPost},
   265  	GetPackageRequest:                                           {Path: "/v3/packages/:package_guid", Method: http.MethodGet},
   266  	PostPackageBitsRequest:                                      {Path: "/v3/packages/:package_guid/upload", Method: http.MethodPost},
   267  	GetPackageDropletsRequest:                                   {Path: "/v3/packages/:package_guid/droplets", Method: http.MethodGet},
   268  	GetProcessRequest:                                           {Path: "/v3/processes/:process_guid", Method: http.MethodGet},
   269  	GetProcessesRequest:                                         {Path: "/v3/processes", Method: http.MethodGet},
   270  	PatchProcessRequest:                                         {Path: "/v3/processes/:process_guid", Method: http.MethodPatch},
   271  	GetProcessStatsRequest:                                      {Path: "/v3/processes/:process_guid/stats", Method: http.MethodGet},
   272  	GetProcessSidecarsRequest:                                   {Path: "/v3/processes/:process_guid/sidecars", Method: http.MethodGet},
   273  	PostResourceMatchesRequest:                                  {Path: "/v3/resource_matches", Method: http.MethodPost},
   274  	GetRolesRequest:                                             {Path: "/v3/roles", Method: http.MethodGet},
   275  	PostRoleRequest:                                             {Path: "/v3/roles", Method: http.MethodPost},
   276  	DeleteRoleRequest:                                           {Path: "/v3/roles/:role_guid", Method: http.MethodDelete},
   277  	GetRoutesRequest:                                            {Path: "/v3/routes", Method: http.MethodGet},
   278  	PostRouteRequest:                                            {Path: "/v3/routes", Method: http.MethodPost},
   279  	DeleteRouteRequest:                                          {Path: "/v3/routes/:route_guid", Method: http.MethodDelete},
   280  	PatchRouteRequest:                                           {Path: "/v3/routes/:route_guid", Method: http.MethodPatch},
   281  	GetRouteDestinationsRequest:                                 {Path: "/v3/routes/:route_guid/destinations", Method: http.MethodGet},
   282  	MapRouteRequest:                                             {Path: "/v3/routes/:route_guid/destinations", Method: http.MethodPost},
   283  	UnmapRouteRequest:                                           {Path: "/v3/routes/:route_guid/destinations/:destination_guid", Method: http.MethodDelete},
   284  	PatchDestinationRequest:                                     {Path: "/v3/routes/:route_guid/destinations/:destination_guid", Method: http.MethodPatch},
   285  	ShareRouteRequest:                                           {Path: "/v3/routes/:route_guid/relationships/shared_spaces", Method: http.MethodPost},
   286  	UnshareRouteRequest:                                         {Path: "/v3/routes/:route_guid/relationships/shared_spaces/:space_guid", Method: http.MethodDelete},
   287  	PatchMoveRouteRequest:                                       {Path: "/v3/routes/:route_guid/relationships/space", Method: http.MethodPatch},
   288  	GetSecurityGroupsRequest:                                    {Path: "/v3/security_groups", Method: http.MethodGet},
   289  	PostSecurityGroupRequest:                                    {Path: "/v3/security_groups", Method: http.MethodPost},
   290  	DeleteSecurityGroupRequest:                                  {Path: "/v3/security_groups/:security_group_guid", Method: http.MethodDelete},
   291  	PostSecurityGroupStagingSpaceRequest:                        {Path: "/v3/security_groups/:security_group_guid/relationships/staging_spaces", Method: http.MethodPost},
   292  	PostSecurityGroupRunningSpaceRequest:                        {Path: "/v3/security_groups/:security_group_guid/relationships/running_spaces", Method: http.MethodPost},
   293  	DeleteSecurityGroupStagingSpaceRequest:                      {Path: "/v3/security_groups/:security_group_guid/relationships/staging_spaces/:space_guid", Method: http.MethodDelete},
   294  	DeleteSecurityGroupRunningSpaceRequest:                      {Path: "/v3/security_groups/:security_group_guid/relationships/running_spaces/:space_guid", Method: http.MethodDelete},
   295  	PatchSecurityGroupRequest:                                   {Path: "/v3/security_groups/:security_group_guid", Method: http.MethodPatch},
   296  	GetServiceBrokersRequest:                                    {Path: "/v3/service_brokers", Method: http.MethodGet},
   297  	PostServiceBrokerRequest:                                    {Path: "/v3/service_brokers", Method: http.MethodPost},
   298  	DeleteServiceBrokerRequest:                                  {Path: "/v3/service_brokers/:service_broker_guid", Method: http.MethodDelete},
   299  	PatchServiceBrokerRequest:                                   {Path: "/v3/service_brokers/:service_broker_guid", Method: http.MethodPatch},
   300  	PostServiceCredentialBindingRequest:                         {Path: "/v3/service_credential_bindings", Method: http.MethodPost},
   301  	GetServiceCredentialBindingsRequest:                         {Path: "/v3/service_credential_bindings", Method: http.MethodGet},
   302  	DeleteServiceCredentialBindingRequest:                       {Path: "/v3/service_credential_bindings/:service_credential_binding_guid", Method: http.MethodDelete},
   303  	GetServiceCredentialBindingDetailsRequest:                   {Path: "/v3/service_credential_bindings/:service_credential_binding_guid/details", Method: http.MethodGet},
   304  	GetServiceInstancesRequest:                                  {Path: "/v3/service_instances", Method: http.MethodGet},
   305  	PostServiceInstanceRequest:                                  {Path: "/v3/service_instances", Method: http.MethodPost},
   306  	GetServiceInstanceParametersRequest:                         {Path: "/v3/service_instances/:service_instance_guid/parameters", Method: http.MethodGet},
   307  	PatchServiceInstanceRequest:                                 {Path: "/v3/service_instances/:service_instance_guid", Method: http.MethodPatch},
   308  	DeleteServiceInstanceRequest:                                {Path: "/v3/service_instances/:service_instance_guid", Method: http.MethodDelete},
   309  	GetServiceInstanceSharedSpacesUsageSummaryRequest:           {Path: "/v3/service_instances/:service_instance_guid/relationships/shared_spaces/usage_summary", Method: http.MethodGet},
   310  	GetServiceInstanceRelationshipsSharedSpacesRequest:          {Path: "/v3/service_instances/:service_instance_guid/relationships/shared_spaces", Method: http.MethodGet},
   311  	PostServiceInstanceRelationshipsSharedSpacesRequest:         {Path: "/v3/service_instances/:service_instance_guid/relationships/shared_spaces", Method: http.MethodPost},
   312  	DeleteServiceInstanceRelationshipsSharedSpaceRequest:        {Path: "/v3/service_instances/:service_instance_guid/relationships/shared_spaces/:space_guid", Method: http.MethodDelete},
   313  	GetServiceOfferingRequest:                                   {Path: "/v3/service_offerings/:service_offering_guid", Method: http.MethodGet},
   314  	GetServiceOfferingsRequest:                                  {Path: "/v3/service_offerings", Method: http.MethodGet},
   315  	PatchServiceOfferingRequest:                                 {Path: "/v3/service_offerings/:service_offering_guid", Method: http.MethodPatch},
   316  	DeleteServiceOfferingRequest:                                {Path: "/v3/service_offerings/:service_offering_guid", Method: http.MethodDelete},
   317  	GetServicePlanRequest:                                       {Path: "/v3/service_plans/:service_plan_guid", Method: http.MethodGet},
   318  	GetServicePlansRequest:                                      {Path: "/v3/service_plans", Method: http.MethodGet},
   319  	PatchServicePlanRequest:                                     {Path: "/v3/service_plans/:service_plan_guid", Method: http.MethodPatch},
   320  	GetServicePlanVisibilityRequest:                             {Path: "/v3/service_plans/:service_plan_guid/visibility", Method: http.MethodGet},
   321  	PostServicePlanVisibilityRequest:                            {Path: "/v3/service_plans/:service_plan_guid/visibility", Method: http.MethodPost},
   322  	DeleteServicePlanVisibilityRequest:                          {Path: "/v3/service_plans/:service_plan_guid/visibility/:organization_guid", Method: http.MethodDelete},
   323  	PostRouteBindingRequest:                                     {Path: "/v3/service_route_bindings", Method: http.MethodPost},
   324  	GetRouteBindingsRequest:                                     {Path: "/v3/service_route_bindings", Method: http.MethodGet},
   325  	DeleteRouteBindingRequest:                                   {Path: "/v3/service_route_bindings/:route_binding_guid", Method: http.MethodDelete},
   326  	GetSpacesRequest:                                            {Path: "/v3/spaces", Method: http.MethodGet},
   327  	PostSpaceRequest:                                            {Path: "/v3/spaces", Method: http.MethodPost},
   328  	DeleteSpaceRequest:                                          {Path: "/v3/spaces/:space_guid", Method: http.MethodDelete},
   329  	PatchSpaceRequest:                                           {Path: "/v3/spaces/:space_guid", Method: http.MethodPatch},
   330  	PostSpaceActionApplyManifestRequest:                         {Path: "/v3/spaces/:space_guid/actions/apply_manifest", Method: http.MethodPost},
   331  	PostSpaceDiffManifestRequest:                                {Path: "/v3/spaces/:space_guid/manifest_diff", Method: http.MethodPost},
   332  	GetSpaceRelationshipIsolationSegmentRequest:                 {Path: "/v3/spaces/:space_guid/relationships/isolation_segment", Method: http.MethodGet},
   333  	PatchSpaceRelationshipIsolationSegmentRequest:               {Path: "/v3/spaces/:space_guid/relationships/isolation_segment", Method: http.MethodPatch},
   334  	DeleteOrphanedRoutesRequest:                                 {Path: "/v3/spaces/:space_guid/routes", Method: http.MethodDelete},
   335  	GetSpaceRunningSecurityGroupsRequest:                        {Path: "/v3/spaces/:space_guid/running_security_groups", Method: http.MethodGet},
   336  	GetSpaceStagingSecurityGroupsRequest:                        {Path: "/v3/spaces/:space_guid/staging_security_groups", Method: http.MethodGet},
   337  	PatchSpaceFeaturesRequest:                                   {Path: "/v3/spaces/:space_guid/features/:feature", Method: http.MethodPatch},
   338  	GetSpaceFeatureRequest:                                      {Path: "/v3/spaces/:space_guid/features/:feature", Method: http.MethodGet},
   339  	PostSpaceQuotaRequest:                                       {Path: "/v3/space_quotas", Method: http.MethodPost},
   340  	GetSpaceQuotaRequest:                                        {Path: "/v3/space_quotas/:quota_guid", Method: http.MethodGet},
   341  	DeleteSpaceQuotaRequest:                                     {Path: "/v3/space_quotas/:quota_guid", Method: http.MethodDelete},
   342  	PostSpaceQuotaRelationshipsRequest:                          {Path: "/v3/space_quotas/:quota_guid/relationships/spaces", Method: http.MethodPost},
   343  	GetSpaceQuotasRequest:                                       {Path: "/v3/space_quotas", Method: http.MethodGet},
   344  	PatchSpaceQuotaRequest:                                      {Path: "/v3/space_quotas/:quota_guid", Method: http.MethodPatch},
   345  	DeleteSpaceQuotaFromSpaceRequest:                            {Path: "/v3/space_quotas/:quota_guid/relationships/spaces/:space_guid", Method: http.MethodDelete},
   346  	GetStacksRequest:                                            {Path: "/v3/stacks", Method: http.MethodGet},
   347  	PatchStackRequest:                                           {Path: "/v3/stacks/:stack_guid", Method: http.MethodPatch},
   348  	GetTaskRequest:                                              {Path: "/v3/tasks/:task_guid", Method: http.MethodGet},
   349  	PutTaskCancelRequest:                                        {Path: "/v3/tasks/:task_guid/cancel", Method: http.MethodPut},
   350  	GetTasksRequest:                                             {Path: "/v3/tasks", Method: http.MethodGet},
   351  	GetUsersRequest:                                             {Path: "/v3/users", Method: http.MethodGet},
   352  	GetUserRequest:                                              {Path: "/v3/users/:user_guid", Method: http.MethodGet},
   353  	PostUserRequest:                                             {Path: "/v3/users", Method: http.MethodPost},
   354  	DeleteUserRequest:                                           {Path: "/v3/users/:user_guid", Method: http.MethodDelete},
   355  	WhoAmI:                                                      {Path: "/whoami", Method: http.MethodGet},
   356  }