github.com/orange-cloudfoundry/cli@v7.1.0+incompatible/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  	DeleteRouteRequest                                          = "DeleteRouteRequest"
    22  	DeleteRoleRequest                                           = "DeleteRoleRequest"
    23  	DeleteSecurityGroupRequest                                  = "DeleteSecurityGroup"
    24  	DeleteSecurityGroupStagingSpaceRequest                      = "DeleteSecurityGroupStagingSpace"
    25  	DeleteSecurityGroupRunningSpaceRequest                      = "DeleteSecurityGroupRunningSpace"
    26  	DeleteServiceBrokerRequest                                  = "DeleteServiceBrokerRequest"
    27  	DeleteServiceInstanceRelationshipsSharedSpaceRequest        = "DeleteServiceInstanceRelationshipsSharedSpace"
    28  	DeleteServiceOfferingRequest                                = "DeleteServiceOffering"
    29  	DeleteServicePlanVisibilityRequest                          = "DeleteServicePlanVisibility"
    30  	DeleteSharedOrgFromDomainRequest                            = "DeleteSharedOrgFromDomain"
    31  	DeleteSpaceQuotaRequest                                     = "DeleteSpaceQuota"
    32  	DeleteSpaceRequest                                          = "DeleteSpace"
    33  	DeleteSpaceQuotaFromSpaceRequest                            = "DeleteSpaceQuotaFromSpace"
    34  	DeleteUserRequest                                           = "DeleteUser"
    35  	GetApplicationDropletCurrentRequest                         = "GetApplicationDropletCurrent"
    36  	GetApplicationEnvRequest                                    = "GetApplicationEnv"
    37  	GetApplicationFeaturesRequest                               = "GetApplicationFeatures"
    38  	GetApplicationManifestRequest                               = "GetApplicationManifest"
    39  	GetApplicationProcessRequest                                = "GetApplicationProcess"
    40  	GetApplicationProcessesRequest                              = "GetApplicationProcesses"
    41  	GetApplicationRevisionsRequest                              = "GetApplicationRevisions"
    42  	GetApplicationRoutesRequest                                 = "GetApplicationRoutes"
    43  	GetApplicationTasksRequest                                  = "GetApplicationTasks"
    44  	GetApplicationsRequest                                      = "GetApplications"
    45  	GetBuildRequest                                             = "GetBuild"
    46  	GetBuildpacksRequest                                        = "GetBuildpacks"
    47  	GetDefaultDomainRequest                                     = "GetDefaultDomain"
    48  	GetDeploymentRequest                                        = "GetDeployment"
    49  	GetDeploymentsRequest                                       = "GetDeployments"
    50  	GetDomainRequest                                            = "GetDomain"
    51  	GetDomainRouteReservationsRequest                           = "GetDomainRouteReservations"
    52  	GetDomainsRequest                                           = "GetDomains"
    53  	GetDropletRequest                                           = "GetDroplet"
    54  	GetDropletsRequest                                          = "GetDroplets"
    55  	GetDropletBitsRequest                                       = "GetDropletBits"
    56  	GetEnvironmentVariableGroupRequest                          = "GetEnvironmentVariableGroup"
    57  	GetEventsRequest                                            = "GetEvents"
    58  	GetFeatureFlagRequest                                       = "GetFeatureFlag"
    59  	GetFeatureFlagsRequest                                      = "GetFeatureFlags"
    60  	GetIsolationSegmentOrganizationsRequest                     = "GetIsolationSegmentOrganizations"
    61  	GetIsolationSegmentRequest                                  = "GetIsolationSegment"
    62  	GetIsolationSegmentsRequest                                 = "GetIsolationSegments"
    63  	GetOrganizationDomainsRequest                               = "GetOrganizationDomains"
    64  	GetOrganizationQuotasRequest                                = "GetOrganizationQuotas"
    65  	GetOrganizationQuotaRequest                                 = "GetOrganizationQuota"
    66  	GetOrganizationRelationshipDefaultIsolationSegmentRequest   = "GetOrganizationRelationshipDefaultIsolationSegment"
    67  	GetOrganizationRequest                                      = "GetOrganization"
    68  	GetOrganizationsRequest                                     = "GetOrganizations"
    69  	GetPackageRequest                                           = "GetPackage"
    70  	GetPackagesRequest                                          = "GetPackages"
    71  	GetPackageDropletsRequest                                   = "GetPackageDroplets"
    72  	GetProcessRequest                                           = "GetProcess"
    73  	GetProcessesRequest                                         = "GetProcesses"
    74  	GetProcessStatsRequest                                      = "GetProcessStats"
    75  	GetProcessSidecarsRequest                                   = "GetProcessSidecars"
    76  	GetRolesRequest                                             = "GetRoles"
    77  	GetRouteDestinationsRequest                                 = "GetRouteDestinations"
    78  	GetRoutesRequest                                            = "GetRoutes"
    79  	GetSecurityGroupsRequest                                    = "GetSecurityGroups"
    80  	GetServiceBrokersRequest                                    = "GetServiceBrokers"
    81  	GetServiceInstancesRequest                                  = "GetServiceInstances"
    82  	GetServiceOfferingsRequest                                  = "GetServiceOfferings"
    83  	GetServicePlansRequest                                      = "GetServicePlans"
    84  	GetServicePlanVisibilityRequest                             = "GetServicePlanVisibility"
    85  	GetSpaceFeatureRequest                                      = "GetSpaceFeatureRequest"
    86  	GetSpaceRelationshipIsolationSegmentRequest                 = "GetSpaceRelationshipIsolationSegment"
    87  	GetSpaceRunningSecurityGroupsRequest                        = "GetSpaceRunningSecurityGroups"
    88  	GetSpacesRequest                                            = "GetSpaces"
    89  	GetSpaceQuotaRequest                                        = "GetSpaceQuota"
    90  	GetSpaceQuotasRequest                                       = "GetSpaceQuotas"
    91  	GetSpaceStagingSecurityGroupsRequest                        = "GetSpaceStagingSecurityGroups"
    92  	GetSSHEnabled                                               = "GetSSHEnabled"
    93  	GetStacksRequest                                            = "GetStacks"
    94  	GetUserRequest                                              = "GetUser"
    95  	GetUsersRequest                                             = "GetUsers"
    96  	MapRouteRequest                                             = "MapRoute"
    97  	PatchApplicationCurrentDropletRequest                       = "PatchApplicationCurrentDroplet"
    98  	PatchApplicationEnvironmentVariablesRequest                 = "PatchApplicationEnvironmentVariables"
    99  	PatchApplicationRequest                                     = "PatchApplication"
   100  	PatchApplicationFeaturesRequest                             = "PatchApplicationFeatures"
   101  	PatchEnvironmentVariableGroupRequest                        = "PatchEnvironmentVariableGroup"
   102  	PatchBuildpackRequest                                       = "PatchBuildpack"
   103  	PatchDomainRequest                                          = "PatchDomain"
   104  	PatchFeatureFlagRequest                                     = "PatchFeatureFlag"
   105  	PatchOrganizationRelationshipDefaultIsolationSegmentRequest = "PatchOrganizationRelationshipDefaultIsolationSegment"
   106  	PatchOrganizationRequest                                    = "PatchOrganization"
   107  	PatchOrganizationQuotaRequest                               = "PatchOrganizationQuota"
   108  	PatchProcessRequest                                         = "PatchProcess"
   109  	PatchRouteRequest                                           = "PatchRoute"
   110  	PatchSecurityGroupRequest                                   = "PatchSecurityGroup"
   111  	PatchServiceBrokerRequest                                   = "PatchServiceBrokerRequest"
   112  	PatchServiceOfferingRequest                                 = "PatchServiceOfferingRequest"
   113  	PatchServicePlanRequest                                     = "PatchServicePlanRequest"
   114  	PatchSpaceRelationshipIsolationSegmentRequest               = "PatchSpaceRelationshipIsolationSegment"
   115  	PatchSpaceRequest                                           = "PatchSpace"
   116  	PatchSpaceFeaturesRequest                                   = "PatchSpaceFeatures"
   117  	PatchSpaceQuotaRequest                                      = "PatchSpaceQuota"
   118  	PatchStackRequest                                           = "PatchStack"
   119  	PostApplicationActionApplyManifest                          = "PostApplicationActionApplyM"
   120  	PostApplicationActionRestartRequest                         = "PostApplicationActionRestart"
   121  	PostApplicationActionStartRequest                           = "PostApplicationActionStart"
   122  	PostApplicationActionStopRequest                            = "PostApplicationActionStop"
   123  	PostApplicationDeploymentActionCancelRequest                = "PostApplicationDeploymentActionCancel"
   124  	PostApplicationDeploymentRequest                            = "PostApplicationDeployment"
   125  	PostApplicationProcessActionScaleRequest                    = "PostApplicationProcessActionScale"
   126  	PostApplicationRequest                                      = "PostApplication"
   127  	PostApplicationTasksRequest                                 = "PostApplicationTasks"
   128  	PostBuildRequest                                            = "PostBuild"
   129  	PostBuildpackBitsRequest                                    = "PostBuildpackBits"
   130  	PostBuildpackRequest                                        = "PostBuildpack"
   131  	PostDomainRequest                                           = "PostDomain"
   132  	PostDropletBitsRequest                                      = "PostDropletBits"
   133  	PostDropletRequest                                          = "PostDroplet"
   134  	PostIsolationSegmentRelationshipOrganizationsRequest        = "PostIsolationSegmentRelationshipOrganizations"
   135  	PostIsolationSegmentsRequest                                = "PostIsolationSegments"
   136  	PostOrganizationRequest                                     = "PostOrganization"
   137  	PostOrganizationQuotaRequest                                = "PostOrganizationQuota"
   138  	PostOrganizationQuotaApplyRequest                           = "PostOrganizationQuotaApply"
   139  	PostPackageRequest                                          = "PostPackage"
   140  	PostPackageBitsRequest                                      = "PostPackageBits"
   141  	PostResourceMatchesRequest                                  = "PostResourceMatches"
   142  	PostRoleRequest                                             = "PostRole"
   143  	PostRouteRequest                                            = "PostRoute"
   144  	PostSecurityGroupRequest                                    = "PostSecurityGroup"
   145  	PostSecurityGroupStagingSpaceRequest                        = "PostSecurityGroupStagingSpace"
   146  	PostSecurityGroupRunningSpaceRequest                        = "PostSecurityGroupRunningSpace"
   147  	PostServiceBrokerRequest                                    = "PostServiceBroker"
   148  	PostServiceInstanceRelationshipsSharedSpacesRequest         = "PostServiceInstanceRelationshipsSharedSpaces"
   149  	PostServicePlanVisibilityRequest                            = "PostServicePlanVisibility"
   150  	PostSpaceActionApplyManifestRequest                         = "PostSpaceActionApplyManifest"
   151  	PostSpaceRequest                                            = "PostSpace"
   152  	PostSpaceQuotaRequest                                       = "PostSpaceQuota"
   153  	PostSpaceQuotaRelationshipsRequest                          = "PostSpaceQuotaRelationships"
   154  	PostUserRequest                                             = "PostUser"
   155  	PutTaskCancelRequest                                        = "PutTaskCancel"
   156  	SharePrivateDomainRequest                                   = "SharePrivateDomainRequest"
   157  	UnmapRouteRequest                                           = "UnmapRoute"
   158  )
   159  
   160  // APIRoutes is a list of routes used by the router to construct request URLs.
   161  var APIRoutes = []Route{
   162  	{Resource: AppsResource, Path: "/", Method: http.MethodGet, Name: GetApplicationsRequest},
   163  	{Resource: AppsResource, Path: "/", Method: http.MethodPost, Name: PostApplicationRequest},
   164  	{Resource: AppsResource, Path: "/:app_guid", Method: http.MethodDelete, Name: DeleteApplicationRequest},
   165  	{Resource: AppsResource, Path: "/:app_guid", Method: http.MethodPatch, Name: PatchApplicationRequest},
   166  	{Resource: AppsResource, Path: "/:app_guid/features/:name", Method: http.MethodPatch, Name: PatchApplicationFeaturesRequest},
   167  	{Resource: AppsResource, Path: "/:app_guid/features/:name", Method: http.MethodGet, Name: GetApplicationFeaturesRequest},
   168  	{Resource: AppsResource, Path: "/:app_guid/actions/apply_manifest", Method: http.MethodPost, Name: PostApplicationActionApplyManifest},
   169  	{Resource: AppsResource, Path: "/:app_guid/actions/restart", Method: http.MethodPost, Name: PostApplicationActionRestartRequest},
   170  	{Resource: AppsResource, Path: "/:app_guid/actions/start", Method: http.MethodPost, Name: PostApplicationActionStartRequest},
   171  	{Resource: AppsResource, Path: "/:app_guid/actions/stop", Method: http.MethodPost, Name: PostApplicationActionStopRequest},
   172  	{Resource: AppsResource, Path: "/:app_guid/droplets/current", Method: http.MethodGet, Name: GetApplicationDropletCurrentRequest},
   173  	{Resource: AppsResource, Path: "/:app_guid/env", Method: http.MethodGet, Name: GetApplicationEnvRequest},
   174  	{Resource: AppsResource, Path: "/:app_guid/environment_variables", Method: http.MethodPatch, Name: PatchApplicationEnvironmentVariablesRequest},
   175  	{Resource: AppsResource, Path: "/:app_guid/manifest", Method: http.MethodGet, Name: GetApplicationManifestRequest},
   176  	{Resource: AppsResource, Path: "/:app_guid/processes", Method: http.MethodGet, Name: GetApplicationProcessesRequest},
   177  	{Resource: AppsResource, Path: "/:app_guid/processes/:type", Method: http.MethodGet, Name: GetApplicationProcessRequest},
   178  	{Resource: AppsResource, Path: "/:app_guid/processes/:type/actions/scale", Method: http.MethodPost, Name: PostApplicationProcessActionScaleRequest},
   179  	{Resource: AppsResource, Path: "/:app_guid/processes/:type/instances/:index", Method: http.MethodDelete, Name: DeleteApplicationProcessInstanceRequest},
   180  	{Resource: AppsResource, Path: "/:app_guid/relationships/current_droplet", Method: http.MethodPatch, Name: PatchApplicationCurrentDropletRequest},
   181  	{Resource: AppsResource, Path: "/:app_guid/revisions", Method: http.MethodGet, Name: GetApplicationRevisionsRequest},
   182  	{Resource: AppsResource, Path: "/:app_guid/routes", Method: http.MethodGet, Name: GetApplicationRoutesRequest},
   183  	{Resource: AppsResource, Path: "/:app_guid/ssh_enabled", Method: http.MethodGet, Name: GetSSHEnabled},
   184  	{Resource: AppsResource, Path: "/:app_guid/tasks", Method: http.MethodGet, Name: GetApplicationTasksRequest},
   185  	{Resource: AppsResource, Path: "/:app_guid/tasks", Method: http.MethodPost, Name: PostApplicationTasksRequest},
   186  	{Resource: BuildpacksResource, Path: "/", Method: http.MethodGet, Name: GetBuildpacksRequest},
   187  	{Resource: BuildpacksResource, Path: "/", Method: http.MethodPost, Name: PostBuildpackRequest},
   188  	{Resource: BuildpacksResource, Path: "/:buildpack_guid", Method: http.MethodDelete, Name: DeleteBuildpackRequest},
   189  	{Resource: BuildpacksResource, Path: "/:buildpack_guid", Method: http.MethodPatch, Name: PatchBuildpackRequest},
   190  	{Resource: BuildpacksResource, Path: "/:buildpack_guid/upload", Method: http.MethodPost, Name: PostBuildpackBitsRequest},
   191  	{Resource: BuildsResource, Path: "/", Method: http.MethodPost, Name: PostBuildRequest},
   192  	{Resource: BuildsResource, Path: "/:build_guid", Method: http.MethodGet, Name: GetBuildRequest},
   193  	{Resource: DeploymentsResource, Path: "/", Method: http.MethodGet, Name: GetDeploymentsRequest},
   194  	{Resource: DeploymentsResource, Path: "/", Method: http.MethodPost, Name: PostApplicationDeploymentRequest},
   195  	{Resource: DeploymentsResource, Path: "/:deployment_guid", Method: http.MethodGet, Name: GetDeploymentRequest},
   196  	{Resource: DeploymentsResource, Path: "/:deployment_guid/actions/cancel", Method: http.MethodPost, Name: PostApplicationDeploymentActionCancelRequest},
   197  	{Resource: DomainsResource, Path: "/", Method: http.MethodGet, Name: GetDomainsRequest},
   198  	{Resource: DomainsResource, Path: "/", Method: http.MethodPost, Name: PostDomainRequest},
   199  	{Resource: DomainsResource, Path: "/:domain_guid", Method: http.MethodDelete, Name: DeleteDomainRequest},
   200  	{Resource: DomainsResource, Path: "/:domain_guid", Method: http.MethodGet, Name: GetDomainRequest},
   201  	{Resource: DomainsResource, Path: "/:domain_guid", Method: http.MethodPatch, Name: PatchDomainRequest},
   202  	{Resource: DomainsResource, Path: "/:domain_guid/relationships/shared_organizations", Method: http.MethodPost, Name: SharePrivateDomainRequest},
   203  	{Resource: DomainsResource, Path: "/:domain_guid/relationships/shared_organizations/:org_guid", Method: http.MethodDelete, Name: DeleteSharedOrgFromDomainRequest},
   204  	{Resource: DomainsResource, Path: "/:domain_guid/route_reservations", Method: http.MethodGet, Name: GetDomainRouteReservationsRequest},
   205  	{Resource: DropletsResource, Path: "/", Method: http.MethodGet, Name: GetDropletsRequest},
   206  	{Resource: DropletsResource, Path: "/", Method: http.MethodPost, Name: PostDropletRequest},
   207  	{Resource: DropletsResource, Path: "/:droplet_guid", Method: http.MethodGet, Name: GetDropletRequest},
   208  	{Resource: DropletsResource, Path: "/:droplet_guid/upload", Method: http.MethodPost, Name: PostDropletBitsRequest},
   209  	{Resource: DropletsResource, Path: "/:droplet_guid/download", Method: http.MethodGet, Name: GetDropletBitsRequest},
   210  	{Resource: EnvironmentVariableGroupsResource, Path: "/:group_name", Method: http.MethodGet, Name: GetEnvironmentVariableGroupRequest},
   211  	{Resource: EnvironmentVariableGroupsResource, Path: "/:group_name", Method: http.MethodPatch, Name: PatchEnvironmentVariableGroupRequest},
   212  	{Resource: EventsResource, Path: "/", Method: http.MethodGet, Name: GetEventsRequest},
   213  	{Resource: FeatureFlagsResource, Path: "/", Method: http.MethodGet, Name: GetFeatureFlagsRequest},
   214  	{Resource: FeatureFlagsResource, Path: "/:name", Method: http.MethodGet, Name: GetFeatureFlagRequest},
   215  	{Resource: FeatureFlagsResource, Path: "/:name", Method: http.MethodPatch, Name: PatchFeatureFlagRequest},
   216  	{Resource: IsolationSegmentsResource, Path: "/", Method: http.MethodGet, Name: GetIsolationSegmentsRequest},
   217  	{Resource: IsolationSegmentsResource, Path: "/", Method: http.MethodPost, Name: PostIsolationSegmentsRequest},
   218  	{Resource: IsolationSegmentsResource, Path: "/:isolation_segment_guid", Method: http.MethodDelete, Name: DeleteIsolationSegmentRequest},
   219  	{Resource: IsolationSegmentsResource, Path: "/:isolation_segment_guid", Method: http.MethodGet, Name: GetIsolationSegmentRequest},
   220  	{Resource: IsolationSegmentsResource, Path: "/:isolation_segment_guid/organizations", Method: http.MethodGet, Name: GetIsolationSegmentOrganizationsRequest},
   221  	{Resource: IsolationSegmentsResource, Path: "/:isolation_segment_guid/relationships/organizations", Method: http.MethodPost, Name: PostIsolationSegmentRelationshipOrganizationsRequest},
   222  	{Resource: IsolationSegmentsResource, Path: "/:isolation_segment_guid/relationships/organizations/:organization_guid", Method: http.MethodDelete, Name: DeleteIsolationSegmentRelationshipOrganizationRequest},
   223  	{Resource: OrgsResource, Path: "/", Method: http.MethodGet, Name: GetOrganizationsRequest},
   224  	{Resource: OrgsResource, Path: "/", Method: http.MethodPost, Name: PostOrganizationRequest},
   225  	{Resource: OrgsResource, Path: "/:organization_guid", Method: http.MethodGet, Name: GetOrganizationRequest},
   226  	{Resource: OrgsResource, Path: "/:organization_guid/", Method: http.MethodDelete, Name: DeleteOrganizationRequest},
   227  	{Resource: OrgsResource, Path: "/:organization_guid/", Method: http.MethodPatch, Name: PatchOrganizationRequest},
   228  	{Resource: OrgsResource, Path: "/:organization_guid/domains", Method: http.MethodGet, Name: GetOrganizationDomainsRequest},
   229  	{Resource: OrgsResource, Path: "/:organization_guid/domains/default", Method: http.MethodGet, Name: GetDefaultDomainRequest},
   230  	{Resource: OrgsResource, Path: "/:organization_guid/relationships/default_isolation_segment", Method: http.MethodGet, Name: GetOrganizationRelationshipDefaultIsolationSegmentRequest},
   231  	{Resource: OrgsResource, Path: "/:organization_guid/relationships/default_isolation_segment", Method: http.MethodPatch, Name: PatchOrganizationRelationshipDefaultIsolationSegmentRequest},
   232  	{Resource: OrgQuotasResource, Path: "/:quota_guid", Method: http.MethodPatch, Name: PatchOrganizationQuotaRequest},
   233  	{Resource: OrgQuotasResource, Path: "/", Method: http.MethodPost, Name: PostOrganizationQuotaRequest},
   234  	{Resource: OrgQuotasResource, Path: "/:quota_guid/relationships/organizations", Method: http.MethodPost, Name: PostOrganizationQuotaApplyRequest},
   235  	{Resource: OrgQuotasResource, Path: "/:quota_guid", Method: http.MethodGet, Name: GetOrganizationQuotaRequest},
   236  	{Resource: OrgQuotasResource, Path: "/", Method: http.MethodGet, Name: GetOrganizationQuotasRequest},
   237  	{Resource: OrgQuotasResource, Path: "/:quota_guid", Method: http.MethodDelete, Name: DeleteOrganizationQuotaRequest},
   238  	{Resource: PackagesResource, Path: "/", Method: http.MethodGet, Name: GetPackagesRequest},
   239  	{Resource: PackagesResource, Path: "/", Method: http.MethodPost, Name: PostPackageRequest},
   240  	{Resource: PackagesResource, Path: "/:package_guid", Method: http.MethodGet, Name: GetPackageRequest},
   241  	{Resource: PackagesResource, Path: "/:package_guid/upload", Method: http.MethodPost, Name: PostPackageBitsRequest},
   242  	{Resource: PackagesResource, Path: "/:package_guid/droplets", Method: http.MethodGet, Name: GetPackageDropletsRequest},
   243  	{Resource: ProcessesResource, Path: "/:process_guid", Method: http.MethodGet, Name: GetProcessRequest},
   244  	{Resource: ProcessesResource, Path: "/", Method: http.MethodGet, Name: GetProcessesRequest},
   245  	{Resource: ProcessesResource, Path: "/:process_guid", Method: http.MethodPatch, Name: PatchProcessRequest},
   246  	{Resource: ProcessesResource, Path: "/:process_guid/stats", Method: http.MethodGet, Name: GetProcessStatsRequest},
   247  	{Resource: ProcessesResource, Path: "/:process_guid/sidecars", Method: http.MethodGet, Name: GetProcessSidecarsRequest},
   248  	{Resource: ResourceMatches, Path: "/", Method: http.MethodPost, Name: PostResourceMatchesRequest},
   249  	{Resource: RolesResource, Path: "/", Method: http.MethodGet, Name: GetRolesRequest},
   250  	{Resource: RolesResource, Path: "/", Method: http.MethodPost, Name: PostRoleRequest},
   251  	{Resource: RoutesResource, Path: "/", Method: http.MethodGet, Name: GetRoutesRequest},
   252  	{Resource: RoutesResource, Path: "/", Method: http.MethodPost, Name: PostRouteRequest},
   253  	{Resource: RoutesResource, Path: "/:route_guid", Method: http.MethodDelete, Name: DeleteRouteRequest},
   254  	{Resource: RoutesResource, Path: "/:route_guid", Method: http.MethodPatch, Name: PatchRouteRequest},
   255  	{Resource: RoutesResource, Path: "/:route_guid/destinations", Method: http.MethodGet, Name: GetRouteDestinationsRequest},
   256  	{Resource: RoutesResource, Path: "/:route_guid/destinations", Method: http.MethodPost, Name: MapRouteRequest},
   257  	{Resource: RoutesResource, Path: "/:route_guid/destinations/:destination_guid", Method: http.MethodDelete, Name: UnmapRouteRequest},
   258  	{Resource: RolesResource, Path: "/:role_guid", Method: http.MethodDelete, Name: DeleteRoleRequest},
   259  	{Resource: SecurityGroupsResource, Path: "/", Method: http.MethodGet, Name: GetSecurityGroupsRequest},
   260  	{Resource: SecurityGroupsResource, Path: "/", Method: http.MethodPost, Name: PostSecurityGroupRequest},
   261  	{Resource: SecurityGroupsResource, Path: "/:security_group_guid", Method: http.MethodDelete, Name: DeleteSecurityGroupRequest},
   262  	{Resource: SecurityGroupsResource, Path: "/:security_group_guid/relationships/staging_spaces", Method: http.MethodPost, Name: PostSecurityGroupStagingSpaceRequest},
   263  	{Resource: SecurityGroupsResource, Path: "/:security_group_guid/relationships/running_spaces", Method: http.MethodPost, Name: PostSecurityGroupRunningSpaceRequest},
   264  	{Resource: SecurityGroupsResource, Path: "/:security_group_guid/relationships/staging_spaces/:space_guid", Method: http.MethodDelete, Name: DeleteSecurityGroupStagingSpaceRequest},
   265  	{Resource: SecurityGroupsResource, Path: "/:security_group_guid/relationships/running_spaces/:space_guid", Method: http.MethodDelete, Name: DeleteSecurityGroupRunningSpaceRequest},
   266  	{Resource: SecurityGroupsResource, Path: "/:security_group_guid", Method: http.MethodPatch, Name: PatchSecurityGroupRequest},
   267  	{Resource: ServiceBrokersResource, Path: "/", Method: http.MethodGet, Name: GetServiceBrokersRequest},
   268  	{Resource: ServiceBrokersResource, Path: "/", Method: http.MethodPost, Name: PostServiceBrokerRequest},
   269  	{Resource: ServiceBrokersResource, Path: "/:service_broker_guid", Method: http.MethodDelete, Name: DeleteServiceBrokerRequest},
   270  	{Resource: ServiceBrokersResource, Path: "/:service_broker_guid", Method: http.MethodPatch, Name: PatchServiceBrokerRequest},
   271  	{Resource: ServiceInstancesResource, Path: "/", Method: http.MethodGet, Name: GetServiceInstancesRequest},
   272  	{Resource: ServiceInstancesResource, Path: "/:service_instance_guid/relationships/shared_spaces", Method: http.MethodPost, Name: PostServiceInstanceRelationshipsSharedSpacesRequest},
   273  	{Resource: ServiceInstancesResource, Path: "/:service_instance_guid/relationships/shared_spaces/:space_guid", Method: http.MethodDelete, Name: DeleteServiceInstanceRelationshipsSharedSpaceRequest},
   274  	{Resource: ServiceOfferingsResource, Path: "/", Method: http.MethodGet, Name: GetServiceOfferingsRequest},
   275  	{Resource: ServiceOfferingsResource, Path: "/:service_offering_guid", Method: http.MethodPatch, Name: PatchServiceOfferingRequest},
   276  	{Resource: ServiceOfferingsResource, Path: "/:service_offering_guid", Method: http.MethodDelete, Name: DeleteServiceOfferingRequest},
   277  	{Resource: ServicePlansResource, Path: "/", Method: http.MethodGet, Name: GetServicePlansRequest},
   278  	{Resource: ServicePlansResource, Path: "/:service_plan_guid", Method: http.MethodPatch, Name: PatchServicePlanRequest},
   279  	{Resource: ServicePlansResource, Path: "/:service_plan_guid/visibility", Method: http.MethodGet, Name: GetServicePlanVisibilityRequest},
   280  	{Resource: ServicePlansResource, Path: "/:service_plan_guid/visibility", Method: http.MethodPost, Name: PostServicePlanVisibilityRequest},
   281  	{Resource: ServicePlansResource, Path: "/:service_plan_guid/visibility/:organization_guid", Method: http.MethodDelete, Name: DeleteServicePlanVisibilityRequest},
   282  	{Resource: SpacesResource, Path: "/", Method: http.MethodGet, Name: GetSpacesRequest},
   283  	{Resource: SpacesResource, Path: "/", Method: http.MethodPost, Name: PostSpaceRequest},
   284  	{Resource: SpacesResource, Path: "/:space_guid", Method: http.MethodDelete, Name: DeleteSpaceRequest},
   285  	{Resource: SpacesResource, Path: "/:space_guid", Method: http.MethodPatch, Name: PatchSpaceRequest},
   286  	{Resource: SpacesResource, Path: "/:space_guid/actions/apply_manifest", Method: http.MethodPost, Name: PostSpaceActionApplyManifestRequest},
   287  	{Resource: SpacesResource, Path: "/:space_guid/relationships/isolation_segment", Method: http.MethodGet, Name: GetSpaceRelationshipIsolationSegmentRequest},
   288  	{Resource: SpacesResource, Path: "/:space_guid/relationships/isolation_segment", Method: http.MethodPatch, Name: PatchSpaceRelationshipIsolationSegmentRequest},
   289  	{Resource: SpacesResource, Path: "/:space_guid/routes", Method: http.MethodDelete, Name: DeleteOrphanedRoutesRequest},
   290  	{Resource: SpacesResource, Path: "/:space_guid/running_security_groups", Method: http.MethodGet, Name: GetSpaceRunningSecurityGroupsRequest},
   291  	{Resource: SpacesResource, Path: "/:space_guid/staging_security_groups", Method: http.MethodGet, Name: GetSpaceStagingSecurityGroupsRequest},
   292  	{Resource: SpacesResource, Path: "/:space_guid/features/:feature", Method: http.MethodPatch, Name: PatchSpaceFeaturesRequest},
   293  	{Resource: SpacesResource, Path: "/:space_guid/features/:feature", Method: http.MethodGet, Name: GetSpaceFeatureRequest},
   294  	{Resource: SpaceQuotasResource, Path: "/", Method: http.MethodPost, Name: PostSpaceQuotaRequest},
   295  	{Resource: SpaceQuotasResource, Path: "/:quota_guid", Method: http.MethodGet, Name: GetSpaceQuotaRequest},
   296  	{Resource: SpaceQuotasResource, Path: "/:quota_guid", Method: http.MethodDelete, Name: DeleteSpaceQuotaRequest},
   297  	{Resource: SpaceQuotasResource, Path: "/:quota_guid/relationships/spaces", Method: http.MethodPost, Name: PostSpaceQuotaRelationshipsRequest},
   298  	{Resource: SpaceQuotasResource, Path: "/", Method: http.MethodGet, Name: GetSpaceQuotasRequest},
   299  	{Resource: SpaceQuotasResource, Path: "/:quota_guid", Method: http.MethodPatch, Name: PatchSpaceQuotaRequest},
   300  	{Resource: SpaceQuotasResource, Path: "/:quota_guid/relationships/spaces/:space_guid", Method: http.MethodDelete, Name: DeleteSpaceQuotaFromSpaceRequest},
   301  	{Resource: StacksResource, Path: "/", Method: http.MethodGet, Name: GetStacksRequest},
   302  	{Resource: StacksResource, Path: "/:stack_guid", Method: http.MethodPatch, Name: PatchStackRequest},
   303  	{Resource: TasksResource, Path: "/:task_guid/cancel", Method: http.MethodPut, Name: PutTaskCancelRequest},
   304  	{Resource: UsersResource, Path: "/", Method: http.MethodGet, Name: GetUsersRequest},
   305  	{Resource: UsersResource, Path: "/:user_guid", Method: http.MethodGet, Name: GetUserRequest},
   306  	{Resource: UsersResource, Path: "/", Method: http.MethodPost, Name: PostUserRequest},
   307  	{Resource: UsersResource, Path: "/:user_guid", Method: http.MethodDelete, Name: DeleteUserRequest},
   308  }