github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+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 // /v2/organizations/:organization_guid is GetOrganization). 11 const ( 12 DeleteApplicationProcessInstanceRequest = "DeleteApplicationProcessInstance" 13 DeleteApplicationRequest = "DeleteApplication" 14 DeleteSharedOrgFromDomainRequest = "DeleteSharedOrgFromDomain" 15 DeleteBuildpackRequest = "DeleteBuildpack" 16 DeleteDomainRequest = "DeleteDomainRequest" 17 DeleteIsolationSegmentRelationshipOrganizationRequest = "DeleteIsolationSegmentRelationshipOrganization" 18 DeleteIsolationSegmentRequest = "DeleteIsolationSegment" 19 DeleteServiceInstanceRelationshipsSharedSpaceRequest = "DeleteServiceInstanceRelationshipsSharedSpace" 20 GetApplicationDropletCurrentRequest = "GetApplicationDropletCurrent" 21 GetApplicationEnvRequest = "GetApplicationEnv" 22 GetApplicationManifestRequest = "GetApplicationManifest" 23 GetApplicationProcessesRequest = "GetApplicationProcesses" 24 GetApplicationProcessRequest = "GetApplicationProcess" 25 GetApplicationsRequest = "GetApplications" 26 GetApplicationTasksRequest = "GetApplicationTasks" 27 GetBuildpacksRequest = "GetBuildpacks" 28 GetBuildRequest = "GetBuild" 29 GetDeploymentRequest = "GetDeployment" 30 GetDeploymentsRequest = "GetDeployments" 31 GetDomainsRequest = "GetDomains" 32 GetDropletRequest = "GetDroplet" 33 GetDropletsRequest = "GetDroplets" 34 GetFeatureFlagRequest = "GetFeatureFlag" 35 GetFeatureFlagsRequest = "GetFeatureFlags" 36 GetIsolationSegmentOrganizationsRequest = "GetIsolationSegmentOrganizations" 37 GetIsolationSegmentRequest = "GetIsolationSegment" 38 GetIsolationSegmentsRequest = "GetIsolationSegments" 39 GetOrganizationDomainsRequest = "GetOrganizationDomains" 40 GetOrganizationRelationshipDefaultIsolationSegmentRequest = "GetOrganizationRelationshipDefaultIsolationSegment" 41 GetOrganizationsRequest = "GetOrganizations" 42 GetPackageRequest = "GetPackage" 43 GetPackagesRequest = "GetPackages" 44 GetProcessStatsRequest = "GetProcessStats" 45 GetServiceInstancesRequest = "GetServiceInstances" 46 GetSpaceRelationshipIsolationSegmentRequest = "GetSpaceRelationshipIsolationSegment" 47 GetSpacesRequest = "GetSpaces" 48 GetStacksRequest = "GetStacks" 49 PatchApplicationCurrentDropletRequest = "PatchApplicationCurrentDroplet" 50 PatchApplicationEnvironmentVariablesRequest = "PatchApplicationEnvironmentVariables" 51 PatchApplicationRequest = "PatchApplication" 52 PatchBuildpackRequest = "PatchBuildpack" 53 PatchFeatureFlagRequest = "PatchFeatureFlag" 54 PatchOrganizationRequest = "PatchOrganization" 55 PatchOrganizationRelationshipDefaultIsolationSegmentRequest = "PatchOrganizationRelationshipDefaultIsolationSegment" 56 PatchProcessRequest = "PatchProcess" 57 PatchSpaceRelationshipIsolationSegmentRequest = "PatchSpaceRelationshipIsolationSegment" 58 PostApplicationActionApplyManifest = "PostApplicationActionApplyM" 59 PostApplicationActionRestartRequest = "PostApplicationActionRestart" 60 PostApplicationActionStartRequest = "PostApplicationActionStart" 61 PostApplicationActionStopRequest = "PostApplicationActionStop" 62 PostApplicationDeploymentActionCancelRequest = "PostApplicationDeploymentActionCancel" 63 PostApplicationDeploymentRequest = "PostApplicationDeployment" 64 PostApplicationProcessActionScaleRequest = "PostApplicationProcessActionScale" 65 PostApplicationRequest = "PostApplication" 66 PostApplicationTasksRequest = "PostApplicationTasks" 67 PostBuildRequest = "PostBuild" 68 PostBuildpackBitsRequest = "PostBuildpackBits" 69 PostBuildpackRequest = "PostBuildpack" 70 PostDomainRequest = "PostDomain" 71 PostIsolationSegmentRelationshipOrganizationsRequest = "PostIsolationSegmentRelationshipOrganizations" 72 PostIsolationSegmentsRequest = "PostIsolationSegments" 73 PostPackageRequest = "PostPackage" 74 PostResourceMatchesRequest = "PostResourceMatches" 75 PostServiceInstanceRelationshipsSharedSpacesRequest = "PostServiceInstanceRelationshipsSharedSpaces" 76 PostSpaceActionApplyManifestRequest = "PostSpaceActionApplyManifest" 77 PostSpaceDiffManifestRequest = "PostSpaceDiffManifest" 78 PutTaskCancelRequest = "PutTaskCancel" 79 SharePrivateDomainRequest = "SharePrivateDomainRequest" 80 81 GetOrganizationRequest = "GetOrganization" 82 DeleteOrganizationRequest = "DeleteOrganization" 83 PostOrganizationRequest = "PostOrganization" 84 GetDefaultDomainRequest = "GetDefaultDomain" 85 86 GetServiceOfferingsRequest = "GetServiceOfferings" 87 DeleteServiceOfferingRequest = "DeleteServiceOffering" 88 89 GetServicePlansRequest = "GetServicePlans" 90 91 PostRouteRequest = "PostRoute" 92 DeleteRouteRequest = "DeleteRouteRequest" 93 PatchRouteRequest = "PatchRoute" 94 95 DeleteOrphanedRoutesRequest = "DeleteOrphanedRoutes" 96 GetApplicationRoutesRequest = "GetApplicationRoutes" 97 GetRouteDestinationsRequest = "GetRouteDestinations" 98 GetRoutesRequest = "GetRoutes" 99 MapRouteRequest = "MapRoute" 100 UnmapRouteRequest = "UnmapRoute" 101 102 // v3 droplet 103 PostDropletRequest = "PostDroplet" 104 GetPackageDropletsRequest = "GetPackageDroplets" 105 PostDropletBitsRequest = "PostDropletBits" 106 GetDropletBitsRequest = "GetDropletBits" 107 108 // v3 package 109 PostPackageBitsRequest = "PostPackageBits" 110 111 // v3 service credential binding 112 PostServiceCredentialBindingRequest = "PostServiceCredentialBinding" 113 GetServiceCredentialBindingsRequest = "GetServiceCredentialBindings" 114 DeleteServiceCredentialBindingRequest = "DeleteServiceCredentialBinding" 115 GetServiceCredentialBindingDetailsRequest = "GetServiceCredentialBindingDetails" 116 117 // service_instance 118 GetServiceInstanceParametersRequest = "GetServiceInstanceParameters" 119 GetServiceInstanceCredentialsRequest = "GetServiceInstanceCredentails" 120 PostServiceInstanceRequest = "PostServiceInstance" 121 PatchServiceInstanceRequest = "PatchServiceInstance" 122 DeleteServiceInstanceRequest = "DeleteServiceInstance" 123 GetServiceInstanceRelationshipsSharedSpacesRequest = "GetServiceInstanceRelationshipSharedSpacesRequest" 124 GetServiceInstanceSharedSpacesUsageSummaryRequest = "GetServiceInstanceSharedSpacesUsageSummaryRequest" 125 126 // v3 process add missing endpoints 127 GetProcessRequest = "GetProcess" 128 GetProcessesRequest = "GetProcesses" 129 130 // v3 application feature 131 GetApplicationFeaturesRequest = "GetApplicationFeatures" 132 GetSSHEnabled = "GetSSHEnabled" 133 PatchApplicationFeaturesRequest = "PatchApplicationFeatures" 134 135 // v3 environment variable 136 GetEnvironmentVariableGroupRequest = "GetEnvironmentVariableGroup" 137 PatchEnvironmentVariableGroupRequest = "PatchEnvironmentVariableGroup" 138 139 // v3 domain add missing endpoints 140 GetDomainRouteReservationsRequest = "GetDomainRouteReservations" 141 GetDomainRequest = "GetDomain" 142 143 // v3 space add missing 144 PostSpaceRequest = "PostSpace" 145 DeleteSpaceRequest = "DeleteSpace" 146 PatchSpaceRequest = "PatchSpace" 147 148 // v3 revision 149 GetApplicationRevisionsRequest = "GetApplicationRevisions" 150 GetApplicationRevisionsDeployedRequest = "GetApplicationRevisionsDeployed" 151 152 // v3 organization quota 153 PostOrganizationQuotaApplyRequest = "PostOrganizationQuotaApply" 154 PostOrganizationQuotaRequest = "PostOrganizationQuota" 155 DeleteOrganizationQuotaRequest = "DeleteOrganizationQuota" 156 GetOrganizationQuotaRequest = "GetOrganizationQuota" 157 GetOrganizationQuotasRequest = "GetOrganizationQuotas" 158 PatchOrganizationQuotaRequest = "PatchOrganizationQuota" 159 ) 160 161 // APIRoutes is a list of routes used by the router to construct request URLs. 162 var APIRoutes = []Route{ 163 // v3 droplet 164 {Resource: DropletsResource, Path: "/", Method: http.MethodPost, Name: PostDropletRequest}, 165 {Resource: PackagesResource, Path: "/:package_guid/droplets", Method: http.MethodGet, Name: GetPackageDropletsRequest}, 166 {Resource: DropletsResource, Path: "/:droplet_guid/upload", Method: http.MethodPost, Name: PostDropletBitsRequest}, 167 {Resource: DropletsResource, Path: "/:droplet_guid/download", Method: http.MethodGet, Name: GetDropletBitsRequest}, 168 169 // v3 package 170 {Resource: PackagesResource, Path: "/:package_guid/upload", Method: http.MethodPost, Name: PostPackageBitsRequest}, 171 172 // v3 service credential binding 173 {Resource: ServiceCredentialBindingsResource, Path: "/", Method: http.MethodGet, Name: GetServiceCredentialBindingsRequest}, 174 {Resource: ServiceCredentialBindingsResource, Path: "/:service_credential_binding_guid/details", Method: http.MethodGet, Name: GetServiceCredentialBindingDetailsRequest}, 175 {Resource: ServiceCredentialBindingsResource, Path: "/:service_credential_binding_guid", Method: http.MethodDelete, Name: DeleteServiceCredentialBindingRequest}, 176 {Resource: ServiceCredentialBindingsResource, Path: "/", Method: http.MethodPost, Name: PostServiceCredentialBindingRequest}, 177 178 // v3 service instance 179 {Resource: ServiceInstancesResource, Path: "/:service_instance_guid/parameters", Method: http.MethodGet, Name: GetServiceInstanceParametersRequest}, 180 {Resource: ServiceInstancesResource, Path: "/:service_instance_guid/credentials", Method: http.MethodGet, Name: GetServiceInstanceCredentialsRequest}, 181 {Resource: ServiceInstancesResource, Path: "/", Method: http.MethodPost, Name: PostServiceInstanceRequest}, 182 {Resource: ServiceInstancesResource, Path: "/:service_instance_guid", Method: http.MethodPatch, Name: PatchServiceInstanceRequest}, 183 {Resource: ServiceInstancesResource, Path: "/:service_instance_guid", Method: http.MethodDelete, Name: DeleteServiceInstanceRequest}, 184 {Resource: ServiceInstancesResource, Path: "/:service_instance_guid/relationships/shared_spaces", Method: http.MethodGet, Name: GetServiceInstanceRelationshipsSharedSpacesRequest}, 185 {Resource: ServiceInstancesResource, Path: "/:service_instance_guid/relationships/shared_spaces/usage_summary", Method: http.MethodGet, Name: GetServiceInstanceSharedSpacesUsageSummaryRequest}, 186 187 // v3 process add missing endpoints 188 {Resource: ProcessesResource, Path: "/", Method: http.MethodGet, Name: GetProcessesRequest}, 189 {Resource: ProcessesResource, Path: "/:process_guid", Method: http.MethodGet, Name: GetProcessRequest}, 190 191 {Resource: RoutesResource, Path: "/:route_guid/destinations/:destination_guid", Method: http.MethodDelete, Name: UnmapRouteRequest}, 192 {Resource: RoutesResource, Path: "/:route_guid/destinations", Method: http.MethodPost, Name: MapRouteRequest}, 193 {Resource: RoutesResource, Path: "/", Method: http.MethodGet, Name: GetRoutesRequest}, 194 {Resource: RoutesResource, Path: "/:route_guid/destinations", Method: http.MethodGet, Name: GetRouteDestinationsRequest}, 195 {Resource: AppsResource, Path: "/:app_guid/routes", Method: http.MethodGet, Name: GetApplicationRoutesRequest}, 196 {Resource: SpacesResource, Path: "/:space_guid/routes", Method: http.MethodDelete, Name: DeleteOrphanedRoutesRequest}, 197 {Resource: RoutesResource, Path: "/", Method: http.MethodPost, Name: PostRouteRequest}, 198 {Resource: RoutesResource, Path: "/:route_guid", Method: http.MethodDelete, Name: DeleteRouteRequest}, 199 {Resource: RoutesResource, Path: "/:route_guid", Method: http.MethodPatch, Name: PatchRouteRequest}, 200 201 // v3 application feature 202 {Resource: AppsResource, Path: "/:app_guid/ssh_enabled", Method: http.MethodGet, Name: GetSSHEnabled}, 203 {Resource: AppsResource, Path: "/:app_guid/features/:name", Method: http.MethodGet, Name: GetApplicationFeaturesRequest}, 204 {Resource: AppsResource, Path: "/:app_guid/features/:name", Method: http.MethodPatch, Name: PatchApplicationFeaturesRequest}, 205 206 // v3 environment varirable 207 {Resource: EnvironmentVariableGroupsResource, Path: "/:group_name", Method: http.MethodGet, Name: GetEnvironmentVariableGroupRequest}, 208 {Resource: EnvironmentVariableGroupsResource, Path: "/:group_name", Method: http.MethodPatch, Name: PatchEnvironmentVariableGroupRequest}, 209 210 // v3 domain add missing 211 {Resource: DomainsResource, Path: "/:domain_guid/route_reservations", Method: http.MethodGet, Name: GetDomainRouteReservationsRequest}, 212 {Resource: DomainsResource, Path: "/:domain_guid", Method: http.MethodGet, Name: GetDomainRequest}, 213 214 // v3 space add missing 215 {Resource: SpacesResource, Path: "/", Method: http.MethodPost, Name: PostSpaceRequest}, 216 {Resource: SpacesResource, Path: "/:space_guid", Method: http.MethodDelete, Name: DeleteSpaceRequest}, 217 {Resource: SpacesResource, Path: "/:space_guid", Method: http.MethodPatch, Name: PatchSpaceRequest}, 218 219 // v3 org add missing 220 {Resource: OrgsResource, Path: "/:organization_guid", Method: http.MethodGet, Name: GetOrganizationRequest}, 221 222 // v3 revision 223 {Resource: AppsResource, Path: "/:app_guid/revisions", Method: http.MethodGet, Name: GetApplicationRevisionsRequest}, 224 {Resource: AppsResource, Path: "/:app_guid/revisions/deployed", Method: http.MethodGet, Name: GetApplicationRevisionsDeployedRequest}, 225 226 // v3 organization quota 227 {Resource: OrgQuotasResource, Path: "/:quota_guid/relationships/organizations", Method: http.MethodPost, Name: PostOrganizationQuotaApplyRequest}, 228 {Resource: OrgQuotasResource, Path: "/", Method: http.MethodPost, Name: PostOrganizationQuotaRequest}, 229 {Resource: OrgQuotasResource, Path: "/:quota_guid", Method: http.MethodDelete, Name: DeleteOrganizationQuotaRequest}, 230 {Resource: OrgQuotasResource, Path: "/:quota_guid", Method: http.MethodGet, Name: GetOrganizationQuotaRequest}, 231 {Resource: OrgQuotasResource, Path: "/", Method: http.MethodGet, Name: GetOrganizationQuotasRequest}, 232 {Resource: OrgQuotasResource, Path: "/:quota_guid", Method: http.MethodPatch, Name: PatchOrganizationQuotaRequest}, 233 234 {Resource: ServicePlansResource, Path: "/", Method: http.MethodGet, Name: GetServicePlansRequest}, 235 236 {Resource: ServiceOfferingsResource, Path: "/", Method: http.MethodGet, Name: GetServiceOfferingsRequest}, 237 {Resource: ServiceOfferingsResource, Path: "/:service_offering_guid", Method: http.MethodDelete, Name: DeleteServiceOfferingRequest}, 238 239 {Resource: OrgsResource, Path: "/", Method: http.MethodGet, Name: GetOrganizationsRequest}, 240 {Resource: OrgsResource, Path: "/:organization_guid/", Method: http.MethodDelete, Name: DeleteOrganizationRequest}, 241 {Resource: OrgsResource, Path: "/", Method: http.MethodPost, Name: PostOrganizationRequest}, 242 {Resource: OrgsResource, Path: "/:organization_guid/domains/default", Method: http.MethodGet, Name: GetDefaultDomainRequest}, 243 244 {Resource: AppsResource, Path: "/", Method: http.MethodGet, Name: GetApplicationsRequest}, 245 {Resource: AppsResource, Path: "/", Method: http.MethodPost, Name: PostApplicationRequest}, 246 {Resource: AppsResource, Path: "/:app_guid", Method: http.MethodDelete, Name: DeleteApplicationRequest}, 247 {Resource: AppsResource, Path: "/:app_guid", Method: http.MethodPatch, Name: PatchApplicationRequest}, 248 {Resource: AppsResource, Path: "/:app_guid/actions/apply_manifest", Method: http.MethodPost, Name: PostApplicationActionApplyManifest}, 249 {Resource: AppsResource, Path: "/:app_guid/actions/restart", Method: http.MethodPost, Name: PostApplicationActionRestartRequest}, 250 {Resource: AppsResource, Path: "/:app_guid/actions/start", Method: http.MethodPost, Name: PostApplicationActionStartRequest}, 251 {Resource: AppsResource, Path: "/:app_guid/actions/stop", Method: http.MethodPost, Name: PostApplicationActionStopRequest}, 252 {Resource: AppsResource, Path: "/:app_guid/droplets/current", Method: http.MethodGet, Name: GetApplicationDropletCurrentRequest}, 253 {Resource: AppsResource, Path: "/:app_guid/env", Method: http.MethodGet, Name: GetApplicationEnvRequest}, 254 {Resource: AppsResource, Path: "/:app_guid/environment_variables", Method: http.MethodPatch, Name: PatchApplicationEnvironmentVariablesRequest}, 255 {Resource: AppsResource, Path: "/:app_guid/manifest", Method: http.MethodGet, Name: GetApplicationManifestRequest}, 256 {Resource: AppsResource, Path: "/:app_guid/processes", Method: http.MethodGet, Name: GetApplicationProcessesRequest}, 257 {Resource: AppsResource, Path: "/:app_guid/processes/:type", Method: http.MethodGet, Name: GetApplicationProcessRequest}, 258 {Resource: AppsResource, Path: "/:app_guid/processes/:type/actions/scale", Method: http.MethodPost, Name: PostApplicationProcessActionScaleRequest}, 259 {Resource: AppsResource, Path: "/:app_guid/processes/:type/instances/:index", Method: http.MethodDelete, Name: DeleteApplicationProcessInstanceRequest}, 260 {Resource: AppsResource, Path: "/:app_guid/relationships/current_droplet", Method: http.MethodPatch, Name: PatchApplicationCurrentDropletRequest}, 261 {Resource: AppsResource, Path: "/:app_guid/tasks", Method: http.MethodGet, Name: GetApplicationTasksRequest}, 262 {Resource: AppsResource, Path: "/:app_guid/tasks", Method: http.MethodPost, Name: PostApplicationTasksRequest}, 263 {Resource: BuildpacksResource, Path: "/", Method: http.MethodGet, Name: GetBuildpacksRequest}, 264 {Resource: BuildpacksResource, Path: "/", Method: http.MethodPost, Name: PostBuildpackRequest}, 265 {Resource: BuildpacksResource, Path: "/:buildpack_guid", Method: http.MethodPatch, Name: PatchBuildpackRequest}, 266 {Resource: BuildpacksResource, Path: "/:buildpack_guid/upload", Method: http.MethodPost, Name: PostBuildpackBitsRequest}, 267 {Resource: BuildpacksResource, Path: "/:buildpack_guid", Method: http.MethodDelete, Name: DeleteBuildpackRequest}, 268 {Resource: BuildsResource, Path: "/", Method: http.MethodPost, Name: PostBuildRequest}, 269 {Resource: BuildsResource, Path: "/:build_guid", Method: http.MethodGet, Name: GetBuildRequest}, 270 {Resource: DeploymentsResource, Path: "/", Method: http.MethodGet, Name: GetDeploymentsRequest}, 271 {Resource: DeploymentsResource, Path: "/", Method: http.MethodPost, Name: PostApplicationDeploymentRequest}, 272 {Resource: DeploymentsResource, Path: "/:deployment_guid", Method: http.MethodGet, Name: GetDeploymentRequest}, 273 {Resource: DeploymentsResource, Path: "/:deployment_guid/actions/cancel", Method: http.MethodPost, Name: PostApplicationDeploymentActionCancelRequest}, 274 {Resource: DomainsResource, Path: "/", Method: http.MethodPost, Name: PostDomainRequest}, 275 {Resource: DomainsResource, Path: "/", Method: http.MethodGet, Name: GetDomainsRequest}, 276 {Resource: DomainsResource, Path: "/:domain_guid", Method: http.MethodDelete, Name: DeleteDomainRequest}, 277 {Resource: DomainsResource, Path: "/:domain_guid/relationships/shared_organizations", Method: http.MethodPost, Name: SharePrivateDomainRequest}, 278 {Resource: DomainsResource, Path: "/:domain_guid/relationships/shared_organizations/:org_guid", Method: http.MethodDelete, Name: DeleteSharedOrgFromDomainRequest}, 279 {Resource: DropletsResource, Path: "/", Method: http.MethodGet, Name: GetDropletsRequest}, 280 {Resource: DropletsResource, Path: "/:droplet_guid", Method: http.MethodGet, Name: GetDropletRequest}, 281 {Resource: FeatureFlagsResource, Path: "/:name", Method: http.MethodGet, Name: GetFeatureFlagRequest}, 282 {Resource: FeatureFlagsResource, Path: "/:name", Method: http.MethodPatch, Name: PatchFeatureFlagRequest}, 283 {Resource: FeatureFlagsResource, Path: "/", Method: http.MethodGet, Name: GetFeatureFlagsRequest}, 284 {Resource: IsolationSegmentsResource, Path: "/", Method: http.MethodGet, Name: GetIsolationSegmentsRequest}, 285 {Resource: IsolationSegmentsResource, Path: "/", Method: http.MethodPost, Name: PostIsolationSegmentsRequest}, 286 {Resource: IsolationSegmentsResource, Path: "/:isolation_segment_guid", Method: http.MethodDelete, Name: DeleteIsolationSegmentRequest}, 287 {Resource: IsolationSegmentsResource, Path: "/:isolation_segment_guid", Method: http.MethodGet, Name: GetIsolationSegmentRequest}, 288 {Resource: IsolationSegmentsResource, Path: "/:isolation_segment_guid/organizations", Method: http.MethodGet, Name: GetIsolationSegmentOrganizationsRequest}, 289 {Resource: IsolationSegmentsResource, Path: "/:isolation_segment_guid/relationships/organizations", Method: http.MethodPost, Name: PostIsolationSegmentRelationshipOrganizationsRequest}, 290 {Resource: IsolationSegmentsResource, Path: "/:isolation_segment_guid/relationships/organizations/:organization_guid", Method: http.MethodDelete, Name: DeleteIsolationSegmentRelationshipOrganizationRequest}, 291 {Resource: OrgsResource, Path: "/", Method: http.MethodGet, Name: GetOrganizationsRequest}, 292 {Resource: OrgsResource, Path: "/:organization_guid/domains", Method: http.MethodGet, Name: GetOrganizationDomainsRequest}, 293 {Resource: OrgsResource, Path: "/:organization_guid/relationships/default_isolation_segment", Method: http.MethodGet, Name: GetOrganizationRelationshipDefaultIsolationSegmentRequest}, 294 {Resource: OrgsResource, Path: "/:organization_guid/relationships/default_isolation_segment", Method: http.MethodPatch, Name: PatchOrganizationRelationshipDefaultIsolationSegmentRequest}, 295 {Resource: OrgsResource, Path: "/:organization_guid/", Method: http.MethodPatch, Name: PatchOrganizationRequest}, 296 {Resource: PackagesResource, Path: "/", Method: http.MethodGet, Name: GetPackagesRequest}, 297 {Resource: PackagesResource, Path: "/", Method: http.MethodPost, Name: PostPackageRequest}, 298 {Resource: PackagesResource, Path: "/:package_guid", Method: http.MethodGet, Name: GetPackageRequest}, 299 {Resource: ProcessesResource, Path: "/:process_guid", Method: http.MethodPatch, Name: PatchProcessRequest}, 300 {Resource: ProcessesResource, Path: "/:process_guid/stats", Method: http.MethodGet, Name: GetProcessStatsRequest}, 301 {Resource: ResourceMatches, Path: "/", Method: http.MethodPost, Name: PostResourceMatchesRequest}, 302 {Resource: ServiceInstancesResource, Path: "/", Method: http.MethodGet, Name: GetServiceInstancesRequest}, 303 {Resource: ServiceInstancesResource, Path: "/:service_instance_guid/relationships/shared_spaces", Method: http.MethodPost, Name: PostServiceInstanceRelationshipsSharedSpacesRequest}, 304 {Resource: ServiceInstancesResource, Path: "/:service_instance_guid/relationships/shared_spaces/:space_guid", Method: http.MethodDelete, Name: DeleteServiceInstanceRelationshipsSharedSpaceRequest}, 305 {Resource: SpacesResource, Path: "/", Method: http.MethodGet, Name: GetSpacesRequest}, 306 {Resource: SpacesResource, Path: "/:space_guid/relationships/isolation_segment", Method: http.MethodGet, Name: GetSpaceRelationshipIsolationSegmentRequest}, 307 {Resource: SpacesResource, Path: "/:space_guid/relationships/isolation_segment", Method: http.MethodPatch, Name: PatchSpaceRelationshipIsolationSegmentRequest}, 308 {Resource: SpacesResource, Path: "/:space_guid/actions/apply_manifest", Method: http.MethodPost, Name: PostSpaceActionApplyManifestRequest}, 309 {Resource: StacksResource, Path: "/", Method: http.MethodGet, Name: GetStacksRequest}, 310 {Resource: TasksResource, Path: "/:task_guid/cancel", Method: http.MethodPut, Name: PutTaskCancelRequest}, 311 }