From 2e82a9bd13781cf2fc8ab58f2416a5bfa0a61fd3 Mon Sep 17 00:00:00 2001 From: kskewes-sf <96093759+kskewes-sf@users.noreply.github.com> Date: Mon, 4 Apr 2022 19:36:38 +1200 Subject: [PATCH] chore(swagger): Update to Gate master pre 1.28.x (#333) `./gateapi` in Master branch hasn't been updated for ~2 years. Ideally it would be updated on Gate API changes and then when release branches are cut there is going to be less diff for updating/resyncing from corresponding Gate release branch. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- gateapi/README.md | 28 +- gateapi/api/swagger.yaml | 10536 +++++++++------- gateapi/api_ci_controller.go | 121 +- gateapi/api_credentials_controller.go | 378 + gateapi/api_managed_controller.go | 1757 ++- gateapi/api_raw_resource_controller.go | 115 + gateapi/api_v2_canary_controller.go | 5 + gateapi/client.go | 3 + gateapi/docs/Account.md | 4 +- gateapi/docs/AccountDefinition.md | 11 + gateapi/docs/AccountDetails.md | 12 +- gateapi/docs/CiControllerApi.md | 39 +- gateapi/docs/ConstraintState.md | 14 +- gateapi/docs/ConstraintStatus.md | 4 +- gateapi/docs/CredentialsControllerApi.md | 134 + gateapi/docs/DeliveryConfig.md | 6 +- gateapi/docs/Environment.md | 3 +- gateapi/docs/EnvironmentArtifactPin.md | 6 +- gateapi/docs/EnvironmentArtifactVeto.md | 4 +- gateapi/docs/File.md | 26 +- gateapi/docs/GraphQlRequest.md | 12 + gateapi/docs/Headers.md | 12 + gateapi/docs/Http.md | 4 +- gateapi/docs/ManagedControllerApi.md | 458 +- gateapi/docs/OverrideVerificationRequest.md | 14 + gateapi/docs/PipelineControllerApi.md | 2 +- gateapi/docs/PipelineTemplateDependent.md | 2 +- gateapi/docs/PluginDependency.md | 2 +- .../docs/PubsubSubscriptionControllerApi.md | 2 +- gateapi/docs/RawResourceControllerApi.md | 35 + ...eExtension.md => RemoteExtensionConfig.md} | 6 +- ...t.md => RemoteExtensionTransportConfig.md} | 2 +- gateapi/docs/ReorderPipelinesCommand.md | 2 +- gateapi/docs/Resource.md | 8 +- gateapi/docs/ResponseEntity.md | 2 +- gateapi/docs/RetryVerificationRequest.md | 12 + gateapi/docs/SpinnakerPluginDescriptor.md | 12 +- gateapi/docs/SpinnakerPluginInfo.md | 6 +- gateapi/docs/SpinnakerPluginRelease.md | 10 +- gateapi/docs/Uri.md | 24 +- gateapi/docs/Url.md | 18 +- gateapi/docs/User.md | 12 +- gateapi/docs/V2CanaryControllerApi.md | 1 + gateapi/model_account.go | 4 +- gateapi/model_account_definition.go | 15 + gateapi/model_account_details.go | 12 +- gateapi/model_constraint_state.go | 14 +- gateapi/model_constraint_status.go | 4 +- gateapi/model_delivery_config.go | 6 +- gateapi/model_environment.go | 3 +- gateapi/model_environment_artifact_pin.go | 6 +- gateapi/model_environment_artifact_veto.go | 4 +- gateapi/model_file.go | 26 +- gateapi/model_graph_ql_request.go | 16 + gateapi/model_headers.go | 16 + gateapi/model_http.go | 4 +- .../model_override_verification_request.go | 18 + gateapi/model_pipeline_template_dependent.go | 2 +- gateapi/model_plugin_dependency.go | 2 +- ...on.go => model_remote_extension_config.go} | 6 +- ...odel_remote_extension_transport_config.go} | 2 +- gateapi/model_reorder_pipelines_command.go | 2 +- gateapi/model_resource.go | 8 +- gateapi/model_response_entity.go | 2 +- gateapi/model_retry_verification_request.go | 16 + gateapi/model_spinnaker_plugin_descriptor.go | 12 +- gateapi/model_spinnaker_plugin_info.go | 6 +- gateapi/model_spinnaker_plugin_release.go | 10 +- gateapi/model_uri.go | 24 +- gateapi/model_url.go | 18 +- gateapi/model_user.go | 12 +- 71 files changed, 9401 insertions(+), 4733 deletions(-) create mode 100644 gateapi/api_raw_resource_controller.go create mode 100644 gateapi/docs/AccountDefinition.md create mode 100644 gateapi/docs/GraphQlRequest.md create mode 100644 gateapi/docs/Headers.md create mode 100644 gateapi/docs/OverrideVerificationRequest.md create mode 100644 gateapi/docs/RawResourceControllerApi.md rename gateapi/docs/{RemoteExtension.md => RemoteExtensionConfig.md} (76%) rename gateapi/docs/{RemoteExtensionTransport.md => RemoteExtensionTransportConfig.md} (91%) create mode 100644 gateapi/docs/RetryVerificationRequest.md create mode 100644 gateapi/model_account_definition.go create mode 100644 gateapi/model_graph_ql_request.go create mode 100644 gateapi/model_headers.go create mode 100644 gateapi/model_override_verification_request.go rename gateapi/{model_remote_extension.go => model_remote_extension_config.go} (77%) rename gateapi/{model_remote_extension_transport.go => model_remote_extension_transport_config.go} (86%) create mode 100644 gateapi/model_retry_verification_request.go diff --git a/gateapi/README.md b/gateapi/README.md index 0a1f8c2e..5ae08aa9 100644 --- a/gateapi/README.md +++ b/gateapi/README.md @@ -62,6 +62,7 @@ Class | Method | HTTP request | Description *BuildControllerApi* | [**V3GetBuildsUsingGET**](docs/BuildControllerApi.md#v3getbuildsusingget) | **Get** /v3/builds/{buildMaster}/builds | Get builds for build master *BuildControllerApi* | [**V3GetJobConfigUsingGET**](docs/BuildControllerApi.md#v3getjobconfigusingget) | **Get** /v3/builds/{buildMaster}/job | Get job config *BuildControllerApi* | [**V3GetJobsForBuildMasterUsingGET**](docs/BuildControllerApi.md#v3getjobsforbuildmasterusingget) | **Get** /v3/builds/{buildMaster}/jobs | Get jobs for build master +*CiControllerApi* | [**GetBuildOutputByIdUsingGET**](docs/CiControllerApi.md#getbuildoutputbyidusingget) | **Get** /ci/builds/{buildId}/output | getBuildOutputById *CiControllerApi* | [**GetBuildsUsingGET1**](docs/CiControllerApi.md#getbuildsusingget1) | **Get** /ci/builds | getBuilds *ClusterControllerApi* | [**GetClusterLoadBalancersUsingGET**](docs/ClusterControllerApi.md#getclusterloadbalancersusingget) | **Get** /applications/{application}/clusters/{account}/{clusterName}/{type}/loadBalancers | Retrieve a cluster's loadbalancers *ClusterControllerApi* | [**GetClustersUsingGET**](docs/ClusterControllerApi.md#getclustersusingget) | **Get** /applications/{application}/clusters/{account}/{clusterName} | Retrieve a cluster's details @@ -74,8 +75,12 @@ Class | Method | HTTP request | Description *ConcourseControllerApi* | [**JobsUsingGET**](docs/ConcourseControllerApi.md#jobsusingget) | **Get** /concourse/{buildMaster}/teams/{team}/pipelines/{pipeline}/jobs | Retrieve the list of job names for a given pipeline available to triggers *ConcourseControllerApi* | [**PipelinesUsingGET**](docs/ConcourseControllerApi.md#pipelinesusingget) | **Get** /concourse/{buildMaster}/teams/{team}/pipelines | Retrieve the list of pipeline names for a given team available to triggers *ConcourseControllerApi* | [**ResourcesUsingGET**](docs/ConcourseControllerApi.md#resourcesusingget) | **Get** /concourse/{buildMaster}/teams/{team}/pipelines/{pipeline}/resources | Retrieve the list of resource names for a given pipeline available to the Concourse stage +*CredentialsControllerApi* | [**CreateAccountUsingPOST**](docs/CredentialsControllerApi.md#createaccountusingpost) | **Post** /credentials | Creates a new account definition. +*CredentialsControllerApi* | [**DeleteAccountUsingDELETE**](docs/CredentialsControllerApi.md#deleteaccountusingdelete) | **Delete** /credentials/{accountName} | Deletes an account definition by name. *CredentialsControllerApi* | [**GetAccountUsingGET**](docs/CredentialsControllerApi.md#getaccountusingget) | **Get** /credentials/{account} | Retrieve an account's details +*CredentialsControllerApi* | [**GetAccountsByTypeUsingGET**](docs/CredentialsControllerApi.md#getaccountsbytypeusingget) | **Get** /credentials/type/{accountType} | Looks up account definitions by type. *CredentialsControllerApi* | [**GetAccountsUsingGET**](docs/CredentialsControllerApi.md#getaccountsusingget) | **Get** /credentials | Retrieve a list of accounts +*CredentialsControllerApi* | [**UpdateAccountUsingPUT**](docs/CredentialsControllerApi.md#updateaccountusingput) | **Put** /credentials | Updates an existing account definition. *DeckPluginsControllerApi* | [**GetPluginAssetUsingGET**](docs/DeckPluginsControllerApi.md#getpluginassetusingget) | **Get** /plugins/deck/{pluginId}/{pluginVersion}/{asset} | Retrieve a single plugin asset by version *DeckPluginsControllerApi* | [**GetPluginManifestUsingGET**](docs/DeckPluginsControllerApi.md#getpluginmanifestusingget) | **Get** /plugins/deck/plugin-manifest.json | Retrieve a plugin manifest *EcsServerGroupEventsControllerApi* | [**GetEventsUsingGET**](docs/EcsServerGroupEventsControllerApi.md#geteventsusingget) | **Get** /applications/{application}/serverGroups/{account}/{serverGroupName}/events | Retrieves a list of events for a server group @@ -104,18 +109,29 @@ Class | Method | HTTP request | Description *ManagedControllerApi* | [**DiffResourceUsingPOST**](docs/ManagedControllerApi.md#diffresourceusingpost) | **Post** /managed/resources/diff | Ad-hoc validate and diff a resource *ManagedControllerApi* | [**ExportResourceUsingGET**](docs/ManagedControllerApi.md#exportresourceusingget) | **Get** /managed/resources/export/artifact/{cloudProvider}/{account}/{clusterName} | Generates an artifact definition based on the artifact used in a running cluster *ManagedControllerApi* | [**ExportResourceUsingGET1**](docs/ManagedControllerApi.md#exportresourceusingget1) | **Get** /managed/resources/export/{cloudProvider}/{account}/{type}/{name} | Generate a keel resource definition for a deployed cloud resource -*ManagedControllerApi* | [**GetApiDocsUsingGET**](docs/ManagedControllerApi.md#getapidocsusingget) | **Get** /managed/api-docs | getApiDocs +*ManagedControllerApi* | [**GetAdoptionReportUsingGET**](docs/ManagedControllerApi.md#getadoptionreportusingget) | **Get** /managed/reports/adoption | Get a report of Managed Delivery adoption *ManagedControllerApi* | [**GetApplicationDetailsUsingGET**](docs/ManagedControllerApi.md#getapplicationdetailsusingget) | **Get** /managed/application/{application} | Get managed details about an application *ManagedControllerApi* | [**GetConfigByUsingGET**](docs/ManagedControllerApi.md#getconfigbyusingget) | **Get** /managed/application/{application}/config | Get the delivery config associated with an application *ManagedControllerApi* | [**GetConstraintStateUsingGET**](docs/ManagedControllerApi.md#getconstraintstateusingget) | **Get** /managed/application/{application}/environment/{environment}/constraints | List up-to {limit} current constraint states for an environment +*ManagedControllerApi* | [**GetEnvironmentsUsingGET**](docs/ManagedControllerApi.md#getenvironmentsusingget) | **Get** /managed/environments/{application} | Get current environment details *ManagedControllerApi* | [**GetManifestArtifactsUsingGET**](docs/ManagedControllerApi.md#getmanifestartifactsusingget) | **Get** /managed/delivery-configs/{name}/artifacts | Get the status of each version of each artifact in each environment *ManagedControllerApi* | [**GetManifestUsingGET**](docs/ManagedControllerApi.md#getmanifestusingget) | **Get** /managed/delivery-configs/{name} | Get a delivery config manifest +*ManagedControllerApi* | [**GetManifestYamlUsingGET**](docs/ManagedControllerApi.md#getmanifestyamlusingget) | **Get** /managed/delivery-configs/{name}.yml | Get a delivery config manifest +*ManagedControllerApi* | [**GetOnboardingReportUsingGET**](docs/ManagedControllerApi.md#getonboardingreportusingget) | **Get** /managed/reports/onboarding | Get a report of application onboarding *ManagedControllerApi* | [**GetResourceStatusUsingGET**](docs/ManagedControllerApi.md#getresourcestatususingget) | **Get** /managed/resources/{resourceId}/status | Get status of a resource *ManagedControllerApi* | [**GetResourceUsingGET**](docs/ManagedControllerApi.md#getresourceusingget) | **Get** /managed/resources/{resourceId} | Get a resource +*ManagedControllerApi* | [**GetResourceYamlUsingGET**](docs/ManagedControllerApi.md#getresourceyamlusingget) | **Get** /managed/resources/{resourceId}.yml | Get a resource +*ManagedControllerApi* | [**GraphqlUsingPOST**](docs/ManagedControllerApi.md#graphqlusingpost) | **Post** /managed/graphql | Post a graphql request +*ManagedControllerApi* | [**MarkBadUsingPOST**](docs/ManagedControllerApi.md#markbadusingpost) | **Post** /managed/application/{application}/mark/bad | Veto an artifact version in an environment +*ManagedControllerApi* | [**MarkGoodUsingPOST**](docs/ManagedControllerApi.md#markgoodusingpost) | **Post** /managed/application/{application}/mark/good | Delete veto of an artifact version in an environment +*ManagedControllerApi* | [**OverrideVerificationUsingPOST**](docs/ManagedControllerApi.md#overrideverificationusingpost) | **Post** /managed/{application}/environment/{environment}/verifications | Override the status of a verification *ManagedControllerApi* | [**PauseApplicationUsingPOST**](docs/ManagedControllerApi.md#pauseapplicationusingpost) | **Post** /managed/application/{application}/pause | Pause management of an entire application *ManagedControllerApi* | [**PauseResourceUsingPOST**](docs/ManagedControllerApi.md#pauseresourceusingpost) | **Post** /managed/resources/{resourceId}/pause | Pause management of a resource +*ManagedControllerApi* | [**ProcessNotificationCallbackUsingPOST**](docs/ManagedControllerApi.md#processnotificationcallbackusingpost) | **Post** /managed/notifications/callbacks/{source} | processNotificationCallback *ManagedControllerApi* | [**ResumeApplicationUsingDELETE**](docs/ManagedControllerApi.md#resumeapplicationusingdelete) | **Delete** /managed/application/{application}/pause | Resume management of an entire application *ManagedControllerApi* | [**ResumeResourceUsingDELETE**](docs/ManagedControllerApi.md#resumeresourceusingdelete) | **Delete** /managed/resources/{resourceId}/pause | Resume management of a resource +*ManagedControllerApi* | [**RetryVerificationUsingPOST**](docs/ManagedControllerApi.md#retryverificationusingpost) | **Post** /managed/{application}/environment/{environment}/verifications/retry | Retry a verification +*ManagedControllerApi* | [**SchemaUsingGET**](docs/ManagedControllerApi.md#schemausingget) | **Get** /managed/delivery-configs/schema | Ad-hoc validate and diff a config manifest *ManagedControllerApi* | [**UpdateConstraintStatusUsingPOST**](docs/ManagedControllerApi.md#updateconstraintstatususingpost) | **Post** /managed/application/{application}/environment/{environment}/constraint | Update the status of an environment constraint *ManagedControllerApi* | [**UpsertManifestUsingPOST**](docs/ManagedControllerApi.md#upsertmanifestusingpost) | **Post** /managed/delivery-configs | Create or update a delivery config manifest *ManagedControllerApi* | [**ValidateManifestUsingPOST**](docs/ManagedControllerApi.md#validatemanifestusingpost) | **Post** /managed/delivery-configs/validate | Validate a delivery config manifest @@ -161,6 +177,7 @@ Class | Method | HTTP request | Description *ProjectControllerApi* | [**GetClustersUsingGET3**](docs/ProjectControllerApi.md#getclustersusingget3) | **Get** /projects/{id}/clusters | Get a project's clusters *ProjectControllerApi* | [**GetUsingGET1**](docs/ProjectControllerApi.md#getusingget1) | **Get** /projects/{id} | Get a project *PubsubSubscriptionControllerApi* | [**AllUsingGET4**](docs/PubsubSubscriptionControllerApi.md#allusingget4) | **Get** /pubsub/subscriptions | Retrieve the list of pub/sub subscriptions configured in Echo. +*RawResourceControllerApi* | [**GetApplicationRawResourcesUsingGET**](docs/RawResourceControllerApi.md#getapplicationrawresourcesusingget) | **Get** /applications/{application}/rawResources | Retrieve a list of raw resources for a given application *ReorderPipelinesControllerApi* | [**ReorderPipelinesUsingPOST**](docs/ReorderPipelinesControllerApi.md#reorderpipelinesusingpost) | **Post** /actions/pipelines/reorder | Re-order pipelines *SearchControllerApi* | [**SearchUsingGET**](docs/SearchControllerApi.md#searchusingget) | **Get** /search | Search infrastructure *SecurityGroupControllerApi* | [**AllByAccountUsingGET1**](docs/SecurityGroupControllerApi.md#allbyaccountusingget1) | **Get** /securityGroups/{account} | Retrieve a list of security groups for a given account, grouped by region @@ -208,6 +225,7 @@ Class | Method | HTTP request | Description ## Documentation For Models - [Account](docs/Account.md) + - [AccountDefinition](docs/AccountDefinition.md) - [AccountDetails](docs/AccountDetails.md) - [ConstraintState](docs/ConstraintState.md) - [ConstraintStatus](docs/ConstraintStatus.md) @@ -218,20 +236,24 @@ Class | Method | HTTP request | Description - [EnvironmentArtifactVeto](docs/EnvironmentArtifactVeto.md) - [File](docs/File.md) - [GrantedAuthority](docs/GrantedAuthority.md) + - [GraphQlRequest](docs/GraphQlRequest.md) - [HashMapstringobject](docs/HashMapstringobject.md) + - [Headers](docs/Headers.md) - [Http](docs/Http.md) - [HttpEntity](docs/HttpEntity.md) - [InputStream](docs/InputStream.md) - [Mapstringobject](docs/Mapstringobject.md) - [Mapstringstring](docs/Mapstringstring.md) - [Notification](docs/Notification.md) + - [OverrideVerificationRequest](docs/OverrideVerificationRequest.md) - [PipelineTemplateDependent](docs/PipelineTemplateDependent.md) - [PluginDependency](docs/PluginDependency.md) - - [RemoteExtension](docs/RemoteExtension.md) - - [RemoteExtensionTransport](docs/RemoteExtensionTransport.md) + - [RemoteExtensionConfig](docs/RemoteExtensionConfig.md) + - [RemoteExtensionTransportConfig](docs/RemoteExtensionTransportConfig.md) - [ReorderPipelinesCommand](docs/ReorderPipelinesCommand.md) - [Resource](docs/Resource.md) - [ResponseEntity](docs/ResponseEntity.md) + - [RetryVerificationRequest](docs/RetryVerificationRequest.md) - [SpinnakerPluginDescriptor](docs/SpinnakerPluginDescriptor.md) - [SpinnakerPluginInfo](docs/SpinnakerPluginInfo.md) - [SpinnakerPluginRelease](docs/SpinnakerPluginRelease.md) diff --git a/gateapi/api/swagger.yaml b/gateapi/api/swagger.yaml index 8f2de10b..fb4c593a 100644 --- a/gateapi/api/swagger.yaml +++ b/gateapi/api/swagger.yaml @@ -62,6 +62,8 @@ tags: description: "Project Controller" - name: "pubsub-subscription-controller" description: "Pubsub Subscription Controller" +- name: "raw-resource-controller" + description: "Raw Resource Controller" - name: "reorder-pipelines-controller" description: "Reorder Pipelines Controller" - name: "search-controller" @@ -89,20 +91,31 @@ tags: - name: "webhook-controller" description: "Webhook Controller" paths: - /auth/loggedOut: - get: + /actions/pipelines/reorder: + post: tags: - - "auth-controller" - summary: "Get logged out message" - operationId: "loggedOutUsingGET" + - "reorder-pipelines-controller" + summary: "Re-order pipelines" + operationId: "reorderPipelinesUsingPOST" + consumes: + - "application/json" produces: - "*/*" - parameters: [] + parameters: + - in: "body" + name: "reorderPipelinesCommand" + description: "reorderPipelinesCommand" + required: true + schema: + $ref: "#/definitions/ReorderPipelinesCommand" + x-exportParamName: "ReorderPipelinesCommand" responses: "200": description: "OK" schema: - type: "string" + type: "object" + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -110,156 +123,32 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/executions/search: + /applications: get: tags: - - "executions-controller" - summary: "Search for pipeline executions using a combination of criteria. The\ - \ returned list is sorted by buildTime (trigger time) in reverse order so\ - \ that newer executions are first in the list." - operationId: "searchForPipelineExecutionsByTriggerUsingGET" + - "application-controller" + summary: "Retrieve a list of applications" + operationId: "getAllApplicationsUsingGET" produces: - "*/*" parameters: - - name: "application" - in: "path" - description: "Only includes executions that are part of this application.\ - \ If this value is \"*\", results will include executions of all applications." - required: true - type: "string" - x-exportParamName: "Application" - - name: "eventId" - in: "query" - description: "Only includes executions that were triggered by a trigger with\ - \ this eventId." - required: false - type: "string" - allowEmptyValue: false - x-exportParamName: "EventId" - x-optionalDataType: "String" - - name: "expand" - in: "query" - description: "Expands each execution object in the resulting list. If this\ - \ value is missing, it is defaulted to false." - required: false - type: "boolean" - default: false - allowEmptyValue: false - x-example: false - x-exportParamName: "Expand" - x-optionalDataType: "Bool" - - name: "pipelineName" - in: "query" - description: "Only includes executions that with this pipeline name." - required: false - type: "string" - allowEmptyValue: false - x-exportParamName: "PipelineName" - x-optionalDataType: "String" - - name: "reverse" - in: "query" - description: "Reverses the resulting list before it is paginated. If this\ - \ value is missing, it is defaulted to false." - required: false - type: "boolean" - default: false - allowEmptyValue: false - x-example: false - x-exportParamName: "Reverse" - x-optionalDataType: "Bool" - - name: "size" - in: "query" - description: "Sets the size of the resulting list for pagination. This value\ - \ must be > 0. If this value is missing, it is defaulted to 10." - required: false - type: "integer" - default: 10 - format: "int32" - allowEmptyValue: false - x-exportParamName: "Size" - x-optionalDataType: "Int32" - - name: "startIndex" - in: "query" - description: "Sets the first item of the resulting list for pagination. The\ - \ list is 0-indexed. This value must be >= 0. If this value is missing,\ - \ it is defaulted to 0." - required: false - type: "integer" - default: 0 - format: "int32" - allowEmptyValue: false - x-exportParamName: "StartIndex" - x-optionalDataType: "Int32" - - name: "statuses" - in: "query" - description: "Only includes executions with a status that is equal to a status\ - \ provided in this field. The list of statuses should be given as a comma-delimited\ - \ string. If this value is missing, includes executions of all statuses.\ - \ Allowed statuses are: NOT_STARTED, RUNNING, PAUSED, SUSPENDED, SUCCEEDED,\ - \ FAILED_CONTINUE, TERMINAL, CANCELED, REDIRECT, STOPPED, SKIPPED, BUFFERED." - required: false - type: "string" - allowEmptyValue: false - x-exportParamName: "Statuses" - x-optionalDataType: "String" - - name: "trigger" + - name: "account" in: "query" - description: "Only includes executions that were triggered by a trigger that\ - \ matches the subset of fields provided by this value. This value should\ - \ be a base64-encoded string of a JSON representation of a trigger object.\ - \ The comparison succeeds if the execution trigger contains all the fields\ - \ of the input trigger, the fields are of the same type, and each value\ - \ of the field \"matches\". The term \"matches\" is specific for each field's\ - \ type:\n- For Strings: A String value in the execution's trigger matches\ - \ the input trigger's String value if the former equals the latter (case-insensitive)\ - \ OR if the former matches the latter as a regular expression.\n- For Maps:\ - \ A Map value in the execution's trigger matches the input trigger's Map\ - \ value if the former contains all keys of the latter and their values match.\n\ - - For Collections: A Collection value in the execution's trigger matches\ - \ the input trigger's Collection value if the former has a unique element\ - \ that matches each element of the latter.\n- Every other value is compared\ - \ using the Java \"equals\" method (Groovy \"==\" operator)" + description: "filters results to only include applications deployed in the\ + \ specified account" required: false type: "string" allowEmptyValue: false - x-exportParamName: "Trigger" + x-exportParamName: "Account" x-optionalDataType: "String" - - name: "triggerTimeEndBoundary" - in: "query" - description: "Only includes executions that were built at or before the given\ - \ time, represented as a Unix timestamp in ms (UTC). This value must be\ - \ <= 9223372036854775807 (Long.MAX_VALUE) and >= the value of [triggerTimeStartBoundary],\ - \ if provided. If this value is missing, it is defaulted to 9223372036854775807." - required: false - type: "integer" - default: 9223372036854775807 - format: "int64" - allowEmptyValue: false - x-exportParamName: "TriggerTimeEndBoundary" - x-optionalDataType: "Int64" - - name: "triggerTimeStartBoundary" - in: "query" - description: "Only includes executions that were built at or after the given\ - \ time, represented as a Unix timestamp in ms (UTC). This value must be\ - \ >= 0 and <= the value of [triggerTimeEndBoundary], if provided. If this\ - \ value is missing, it is defaulted to 0." - required: false - type: "integer" - default: 0 - format: "int64" - allowEmptyValue: false - x-exportParamName: "TriggerTimeStartBoundary" - x-optionalDataType: "Int64" - - name: "triggerTypes" + - name: "owner" in: "query" - description: "Only includes executions that were triggered by a trigger with\ - \ a type that is equal to a type provided in this field. The list of trigger\ - \ types should be a comma-delimited string. If this value is missing, results\ - \ will includes executions of all trigger types." + description: "filters results to only include applications owned by the specified\ + \ email" required: false type: "string" allowEmptyValue: false - x-exportParamName: "TriggerTypes" + x-exportParamName: "Owner" x-optionalDataType: "String" responses: "200": @@ -276,28 +165,60 @@ paths: "404": description: "Not Found" deprecated: false - /v2/builds/{buildMaster}/jobs: + /applications/{applicationName}/jobs/{account}/{region}/{name}: get: tags: - - "build-controller" - summary: "Get jobs for build master" - description: "Deprecated, use the v3 endpoint instead" - operationId: "getJobsForBuildMasterUsingGET" + - "job-controller" + summary: "Get job" + operationId: "getJobUsingGET" produces: - "*/*" parameters: - - name: "buildMaster" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "account" in: "path" - description: "buildMaster" + description: "account" required: true type: "string" - x-exportParamName: "BuildMaster" + x-exportParamName: "Account" + - name: "applicationName" + in: "path" + description: "applicationName" + required: true + type: "string" + x-exportParamName: "ApplicationName" + - name: "expand" + in: "query" + description: "expand" + required: false + type: "string" + default: "false" + x-exportParamName: "Expand" + x-optionalDataType: "String" + - name: "name" + in: "path" + description: "name" + required: true + type: "string" + x-exportParamName: "Name" + - name: "region" + in: "path" + description: "region" + required: true + type: "string" + x-exportParamName: "Region" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} "401": @@ -307,37 +228,58 @@ paths: "404": description: "Not Found" deprecated: false - /pipelines: - post: + /applications/{applicationName}/serverGroups: + get: tags: - - "pipeline-controller" - summary: "Save a pipeline definition" - operationId: "savePipelineUsingPOST" - consumes: - - "application/json" + - "server-group-controller" + summary: "Retrieve a list of server groups for a given application" + operationId: "getServerGroupsForApplicationUsingGET" produces: - "*/*" parameters: - - in: "body" - name: "pipeline" - description: "pipeline" - required: true - schema: - type: "object" - x-exportParamName: "Pipeline" - - name: "staleCheck" - in: "query" - description: "staleCheck" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" required: false - type: "boolean" - default: false - x-exportParamName: "StaleCheck" - x-optionalDataType: "Bool" - responses: - "200": + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "applicationName" + in: "path" + description: "applicationName" + required: true + type: "string" + x-exportParamName: "ApplicationName" + - name: "cloudProvider" + in: "query" + description: "cloudProvider" + required: false + type: "string" + x-exportParamName: "CloudProvider" + x-optionalDataType: "String" + - name: "clusters" + in: "query" + description: "clusters" + required: false + type: "string" + x-exportParamName: "Clusters" + x-optionalDataType: "String" + - name: "expand" + in: "query" + description: "expand" + required: false + type: "string" + default: "false" + x-exportParamName: "Expand" + x-optionalDataType: "String" + responses: + "200": description: "OK" - "201": - description: "Created" + schema: + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -345,45 +287,59 @@ paths: "404": description: "Not Found" deprecated: false - /plugins/publish/{pluginId}/{pluginVersion}: - post: + /applications/{applicationName}/serverGroups/{account}/{region}/{serverGroupName}: + get: tags: - - "plugin-publish-controller" - summary: "Publish a plugin binary and the plugin info metadata." - operationId: "publishPluginUsingPOST" - consumes: - - "multipart/form-data" + - "server-group-controller" + summary: "Retrieve a server group's details" + operationId: "getServerGroupDetailsUsingGET" produces: - "*/*" parameters: - - name: "plugin" - in: "formData" - description: "plugin" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "account" + in: "path" + description: "account" required: true - type: "file" - x-exportParamName: "Plugin" - - name: "pluginId" + type: "string" + x-exportParamName: "Account" + - name: "applicationName" in: "path" - description: "pluginId" + description: "applicationName" required: true type: "string" - x-exportParamName: "PluginId" - - name: "pluginInfo" - in: "formData" - description: "pluginInfo" + x-exportParamName: "ApplicationName" + - name: "includeDetails" + in: "query" + description: "includeDetails" + required: false + type: "string" + default: "true" + x-exportParamName: "IncludeDetails" + x-optionalDataType: "String" + - name: "region" + in: "path" + description: "region" required: true - x-exportParamName: "PluginInfo" - - name: "pluginVersion" + type: "string" + x-exportParamName: "Region" + - name: "serverGroupName" in: "path" - description: "pluginVersion" + description: "serverGroupName" required: true type: "string" - x-exportParamName: "PluginVersion" + x-exportParamName: "ServerGroupName" responses: "200": description: "OK" - "201": - description: "Created" + schema: + type: "object" "401": description: "Unauthorized" "403": @@ -391,21 +347,35 @@ paths: "404": description: "Not Found" deprecated: false - /instanceTypes: + /applications/{application}: get: tags: - - "amazon-infrastructure-controller" - summary: "Get instance types" - operationId: "instanceTypesUsingGET" + - "application-controller" + summary: "Retrieve an application's details" + operationId: "getApplicationUsingGET" produces: - "*/*" - parameters: [] + parameters: + - name: "application" + in: "path" + description: "application" + required: true + type: "string" + x-exportParamName: "Application" + - name: "expand" + in: "query" + description: "expand" + required: false + type: "boolean" + default: true + x-exportParamName: "Expand" + x-optionalDataType: "Bool" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} "401": @@ -415,15 +385,22 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/functions: + /applications/{application}/clusters: get: tags: - - "amazon-infrastructure-controller" - summary: "Get application functions" - operationId: "applicationFunctionsUsingGET" + - "cluster-controller" + summary: "Retrieve a list of cluster names for an application, grouped by account" + operationId: "getClustersUsingGET_2" produces: - "*/*" parameters: + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" - name: "application" in: "path" description: "application" @@ -434,8 +411,8 @@ paths: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} "401": @@ -445,83 +422,89 @@ paths: "404": description: "Not Found" deprecated: false - /v2/canaries/canary/{canaryConfigId}/{canaryExecutionId}: + /applications/{application}/clusters/{account}: get: tags: - - "v-2-canary-controller" - summary: "(DEPRECATED) Retrieve a canary result" - operationId: "getCanaryResultUsingGET" + - "cluster-controller" + summary: "Retrieve a list of clusters for an account" + operationId: "getClustersUsingGET_1" produces: - "*/*" parameters: - - name: "canaryConfigId" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "account" in: "path" - description: "canaryConfigId" + description: "account" required: true type: "string" - x-exportParamName: "CanaryConfigId" - - name: "canaryExecutionId" + x-exportParamName: "Account" + - name: "application" in: "path" - description: "canaryExecutionId" + description: "application" required: true type: "string" - x-exportParamName: "CanaryExecutionId" - - name: "storageAccountName" - in: "query" - description: "storageAccountName" - required: false - type: "string" - x-exportParamName: "StorageAccountName" - x-optionalDataType: "String" + x-exportParamName: "Application" responses: "200": description: "OK" schema: - type: "object" + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": description: "Forbidden" "404": description: "Not Found" - deprecated: true - /projects/{id}/pipelines: + deprecated: false + /applications/{application}/clusters/{account}/{clusterName}: get: tags: - - "project-controller" - summary: "Get all pipelines for project" - operationId: "allPipelinesForProjectUsingGET" + - "cluster-controller" + summary: "Retrieve a cluster's details" + operationId: "getClustersUsingGET" produces: - "*/*" parameters: - - name: "id" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "account" in: "path" - description: "id" + description: "account" required: true type: "string" - x-exportParamName: "Id" - - name: "limit" - in: "query" - description: "limit" - required: false - type: "integer" - default: 5 - format: "int32" - x-exportParamName: "Limit" - x-optionalDataType: "Int32" - - name: "statuses" - in: "query" - description: "statuses" - required: false + x-exportParamName: "Account" + - name: "application" + in: "path" + description: "application" + required: true type: "string" - x-exportParamName: "Statuses" - x-optionalDataType: "String" + x-exportParamName: "Application" + - name: "clusterName" + in: "path" + description: "clusterName" + required: true + type: "string" + x-exportParamName: "ClusterName" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} "401": @@ -531,30 +514,40 @@ paths: "404": description: "Not Found" deprecated: false - /pipelineConfigs/{pipelineConfigId}/history: + /applications/{application}/clusters/{account}/{clusterName}/serverGroups: get: tags: - - "pipeline-config-controller" - summary: "Get pipeline config history." - operationId: "getPipelineConfigHistoryUsingGET" + - "cluster-controller" + summary: "Retrieve a list of server groups for a cluster" + operationId: "getServerGroupsUsingGET_1" produces: - "*/*" parameters: - - name: "limit" - in: "query" - description: "limit" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" required: false - type: "integer" - default: 20 - format: "int32" - x-exportParamName: "Limit" - x-optionalDataType: "Int32" - - name: "pipelineConfigId" + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "account" in: "path" - description: "pipelineConfigId" + description: "account" required: true type: "string" - x-exportParamName: "PipelineConfigId" + x-exportParamName: "Account" + - name: "application" + in: "path" + description: "application" + required: true + type: "string" + x-exportParamName: "Application" + - name: "clusterName" + in: "path" + description: "clusterName" + required: true + type: "string" + x-exportParamName: "ClusterName" responses: "200": description: "OK" @@ -570,60 +563,52 @@ paths: "404": description: "Not Found" deprecated: false - /managed/delivery-configs: - post: - tags: - - "managed-controller" - summary: "Create or update a delivery config manifest" - operationId: "upsertManifestUsingPOST" - consumes: - - "application/json" - - "application/x-yaml" - produces: - - "application/json" - parameters: - - in: "body" - name: "manifest" - description: "manifest" - required: true - schema: - $ref: "#/definitions/DeliveryConfig" - x-exportParamName: "Manifest" - responses: - "200": - description: "OK" - schema: - $ref: "#/definitions/DeliveryConfig" - "201": - description: "Created" - "401": - description: "Unauthorized" - "403": - description: "Forbidden" - "404": - description: "Not Found" - deprecated: false - /applications/{application}/tasks/{id}: + /applications/{application}/clusters/{account}/{clusterName}/serverGroups/{serverGroupName}: get: tags: - - "application-controller" - summary: "Get task" - operationId: "getTaskUsingGET" + - "cluster-controller" + summary: "Retrieve a server group's details" + operationId: "getServerGroupsUsingGET" produces: - "*/*" parameters: - - name: "id" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "account" in: "path" - description: "id" + description: "account" required: true type: "string" - x-exportParamName: "Id" + x-exportParamName: "Account" + - name: "application" + in: "path" + description: "application" + required: true + type: "string" + x-exportParamName: "Application" + - name: "clusterName" + in: "path" + description: "clusterName" + required: true + type: "string" + x-exportParamName: "ClusterName" + - name: "serverGroupName" + in: "path" + description: "serverGroupName" + required: true + type: "string" + x-exportParamName: "ServerGroupName" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: + type: "array" + items: type: "object" properties: {} "401": @@ -632,104 +617,145 @@ paths: description: "Forbidden" "404": description: "Not Found" - deprecated: true - /bakery/options/{cloudProvider}: + deprecated: false + /applications/{application}/clusters/{account}/{clusterName}/serverGroups/{serverGroupName}/scalingActivities: get: tags: - - "bake-controller" - summary: "Retrieve a list of available bakery base images for a given cloud\ - \ provider" - operationId: "bakeOptionsUsingGET" + - "cluster-controller" + summary: "Retrieve a list of scaling activities for a server group" + operationId: "getScalingActivitiesUsingGET" produces: - "*/*" parameters: - - name: "cloudProvider" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "account" in: "path" - description: "cloudProvider" + description: "account" required: true type: "string" - x-exportParamName: "CloudProvider" - responses: - "200": - description: "OK" - schema: - type: "object" - "401": - description: "Unauthorized" - "403": - description: "Forbidden" - "404": - description: "Not Found" - deprecated: false - /managed/application/{application}/pin/{targetEnvironment}: - delete: - tags: - - "managed-controller" - summary: "Unpin one or more artifact(s) in an environment. If the `reference`\ - \ parameter is specified, only the corresponding artifact will be unpinned.\ - \ If it's omitted, all pinned artifacts in the environment will be unpinned." - operationId: "deletePinUsingDELETE" - produces: - - "*/*" - parameters: + x-exportParamName: "Account" - name: "application" in: "path" description: "application" required: true type: "string" x-exportParamName: "Application" - - name: "reference" + - name: "clusterName" + in: "path" + description: "clusterName" + required: true + type: "string" + x-exportParamName: "ClusterName" + - name: "provider" in: "query" - description: "reference" + description: "provider" required: false type: "string" - x-exportParamName: "Reference" + default: "aws" + x-exportParamName: "Provider" x-optionalDataType: "String" - - name: "targetEnvironment" + - name: "region" + in: "query" + description: "region" + required: false + type: "string" + x-exportParamName: "Region" + x-optionalDataType: "String" + - name: "serverGroupName" in: "path" - description: "targetEnvironment" + description: "serverGroupName" required: true type: "string" - x-exportParamName: "TargetEnvironment" + x-exportParamName: "ServerGroupName" responses: "200": description: "OK" - "204": - description: "No Content" + schema: + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": description: "Forbidden" + "404": + description: "Not Found" deprecated: false - /v2/pipelineTemplates/{id}: + /applications/{application}/clusters/{account}/{clusterName}/{cloudProvider}/{scope}/serverGroups/target/{target}: get: tags: - - "v-2-pipeline-templates-controller" - summary: "(ALPHA) Get a pipeline template." - operationId: "getUsingGET_2" + - "cluster-controller" + summary: "Retrieve a server group that matches a target coordinate (e.g., newest,\ + \ ancestor) relative to a cluster" + description: "`scope` is either a zone or a region" + operationId: "getTargetServerGroupUsingGET" produces: - "*/*" parameters: - - name: "digest" - in: "query" - description: "digest" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" required: false type: "string" - x-exportParamName: "Digest" + x-exportParamName: "XRateLimitApp" x-optionalDataType: "String" - - name: "id" + - name: "account" in: "path" - description: "id" + description: "account" required: true type: "string" - x-exportParamName: "Id" - - name: "tag" + x-exportParamName: "Account" + - name: "application" + in: "path" + description: "application" + required: true + type: "string" + x-exportParamName: "Application" + - name: "cloudProvider" + in: "path" + description: "cloudProvider" + required: true + type: "string" + x-exportParamName: "CloudProvider" + - name: "clusterName" + in: "path" + description: "clusterName" + required: true + type: "string" + x-exportParamName: "ClusterName" + - name: "onlyEnabled" in: "query" - description: "tag" + description: "onlyEnabled" required: false + type: "boolean" + x-exportParamName: "OnlyEnabled" + x-optionalDataType: "Bool" + - name: "scope" + in: "path" + description: "scope" + required: true type: "string" - x-exportParamName: "Tag" - x-optionalDataType: "String" + x-exportParamName: "Scope" + - name: "target" + in: "path" + description: "target" + required: true + type: "string" + x-exportParamName: "Target" + - name: "validateOldest" + in: "query" + description: "validateOldest" + required: false + type: "boolean" + x-exportParamName: "ValidateOldest" + x-optionalDataType: "Bool" responses: "200": description: "OK" @@ -745,83 +771,54 @@ paths: "404": description: "Not Found" deprecated: false - delete: + /applications/{application}/clusters/{account}/{clusterName}/{type}/loadBalancers: + get: tags: - - "v-2-pipeline-templates-controller" - summary: "Delete a pipeline template." - operationId: "deleteUsingDELETE_1" + - "cluster-controller" + summary: "Retrieve a cluster's loadbalancers" + operationId: "getClusterLoadBalancersUsingGET" produces: - "*/*" parameters: - - name: "application" - in: "query" - description: "application" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" required: false type: "string" - x-exportParamName: "Application" + x-exportParamName: "XRateLimitApp" x-optionalDataType: "String" - - name: "digest" - in: "query" - description: "digest" - required: false + - name: "account" + in: "path" + description: "account" + required: true type: "string" - x-exportParamName: "Digest" - x-optionalDataType: "String" - - name: "id" + x-exportParamName: "Account" + - name: "applicationName" in: "path" - description: "id" + description: "applicationName" required: true type: "string" - x-exportParamName: "Id" - - name: "tag" - in: "query" - description: "tag" - required: false + x-exportParamName: "ApplicationName" + - name: "clusterName" + in: "path" + description: "clusterName" + required: true type: "string" - x-exportParamName: "Tag" - x-optionalDataType: "String" + x-exportParamName: "ClusterName" + - name: "type" + in: "path" + description: "type" + required: true + type: "string" + x-exportParamName: "Type_" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: + type: "array" + items: type: "object" properties: {} - "204": - description: "No Content" - "401": - description: "Unauthorized" - "403": - description: "Forbidden" - deprecated: false - /managed/delivery-configs/validate: - post: - tags: - - "managed-controller" - summary: "Validate a delivery config manifest" - operationId: "validateManifestUsingPOST" - consumes: - - "application/json" - - "application/x-yaml" - produces: - - "application/json" - - "application/x-yaml" - parameters: - - in: "body" - name: "manifest" - description: "manifest" - required: true - schema: - $ref: "#/definitions/DeliveryConfig" - x-exportParamName: "Manifest" - responses: - "200": - description: "OK" - schema: - type: "object" - "201": - description: "Created" "401": description: "Unauthorized" "403": @@ -829,97 +826,156 @@ paths: "404": description: "Not Found" deprecated: false - /credentials: + /applications/{application}/executions/search: get: tags: - - "credentials-controller" - summary: "Retrieve a list of accounts" - operationId: "getAccountsUsingGET" + - "executions-controller" + summary: "Search for pipeline executions using a combination of criteria. The\ + \ returned list is sorted by buildTime (trigger time) in reverse order so\ + \ that newer executions are first in the list." + operationId: "searchForPipelineExecutionsByTriggerUsingGET" produces: - "*/*" parameters: - - name: "accountNonExpired" - in: "query" - required: false - type: "boolean" - x-exportParamName: "AccountNonExpired" - x-optionalDataType: "Bool" - - name: "accountNonLocked" - in: "query" - required: false - type: "boolean" - x-exportParamName: "AccountNonLocked" - x-optionalDataType: "Bool" - - name: "allowedAccounts" - in: "query" - required: false - type: "array" - items: - type: "string" - collectionFormat: "multi" - x-exportParamName: "AllowedAccounts" - - name: "authorities[0].authority" + - name: "application" + in: "path" + description: "Only includes executions that are part of this application.\ + \ If this value is \"*\", results will include executions of all applications." + required: true + type: "string" + x-exportParamName: "Application" + - name: "eventId" in: "query" + description: "Only includes executions that were triggered by a trigger with\ + \ this eventId." required: false type: "string" - x-exportParamName: "Authorities0Authority" + allowEmptyValue: false + x-exportParamName: "EventId" x-optionalDataType: "String" - - name: "credentialsNonExpired" + - name: "expand" in: "query" + description: "Expands each execution object in the resulting list. If this\ + \ value is missing, it is defaulted to false." required: false type: "boolean" - x-exportParamName: "CredentialsNonExpired" + default: false + allowEmptyValue: false + x-example: false + x-exportParamName: "Expand" x-optionalDataType: "Bool" - - name: "email" + - name: "pipelineName" in: "query" + description: "Only includes executions that with this pipeline name." required: false type: "string" - x-exportParamName: "Email" + allowEmptyValue: false + x-exportParamName: "PipelineName" x-optionalDataType: "String" - - name: "enabled" + - name: "reverse" in: "query" + description: "Reverses the resulting list before it is paginated. If this\ + \ value is missing, it is defaulted to false." required: false type: "boolean" - x-exportParamName: "Enabled" + default: false + allowEmptyValue: false + x-example: false + x-exportParamName: "Reverse" x-optionalDataType: "Bool" - - name: "expand" + - name: "size" in: "query" - description: "expand" + description: "Sets the size of the resulting list for pagination. This value\ + \ must be > 0. If this value is missing, it is defaulted to 10." required: false - type: "boolean" - x-exportParamName: "Expand" - x-optionalDataType: "Bool" - - name: "firstName" + type: "integer" + default: 10 + format: "int32" + allowEmptyValue: false + x-exportParamName: "Size" + x-optionalDataType: "Int32" + - name: "startIndex" in: "query" + description: "Sets the first item of the resulting list for pagination. The\ + \ list is 0-indexed. This value must be >= 0. If this value is missing,\ + \ it is defaulted to 0." required: false - type: "string" - x-exportParamName: "FirstName" - x-optionalDataType: "String" - - name: "lastName" + type: "integer" + default: 0 + format: "int32" + allowEmptyValue: false + x-exportParamName: "StartIndex" + x-optionalDataType: "Int32" + - name: "statuses" in: "query" + description: "Only includes executions with a status that is equal to a status\ + \ provided in this field. The list of statuses should be given as a comma-delimited\ + \ string. If this value is missing, includes executions of all statuses.\ + \ Allowed statuses are: NOT_STARTED, RUNNING, PAUSED, SUSPENDED, SUCCEEDED,\ + \ FAILED_CONTINUE, TERMINAL, CANCELED, REDIRECT, STOPPED, SKIPPED, BUFFERED." required: false type: "string" - x-exportParamName: "LastName" + allowEmptyValue: false + x-exportParamName: "Statuses" x-optionalDataType: "String" - - name: "password" + - name: "trigger" in: "query" + description: "Only includes executions that were triggered by a trigger that\ + \ matches the subset of fields provided by this value. This value should\ + \ be a base64-encoded string of a JSON representation of a trigger object.\ + \ The comparison succeeds if the execution trigger contains all the fields\ + \ of the input trigger, the fields are of the same type, and each value\ + \ of the field \"matches\". The term \"matches\" is specific for each field's\ + \ type:\n- For Strings: A String value in the execution's trigger matches\ + \ the input trigger's String value if the former equals the latter (case-insensitive)\ + \ OR if the former matches the latter as a regular expression.\n- For Maps:\ + \ A Map value in the execution's trigger matches the input trigger's Map\ + \ value if the former contains all keys of the latter and their values match.\n\ + - For Collections: A Collection value in the execution's trigger matches\ + \ the input trigger's Collection value if the former has a unique element\ + \ that matches each element of the latter.\n- Every other value is compared\ + \ using the Java \"equals\" method (Groovy \"==\" operator)" required: false type: "string" - x-exportParamName: "Password" + allowEmptyValue: false + x-exportParamName: "Trigger" x-optionalDataType: "String" - - name: "roles" + - name: "triggerTimeEndBoundary" in: "query" + description: "Only includes executions that were built at or before the given\ + \ time, represented as a Unix timestamp in ms (UTC). This value must be\ + \ <= 9223372036854775807 (Long.MAX_VALUE) and >= the value of [triggerTimeStartBoundary],\ + \ if provided. If this value is missing, it is defaulted to 9223372036854775807." required: false - type: "array" - items: - type: "string" - collectionFormat: "multi" - x-exportParamName: "Roles" - - name: "username" + type: "integer" + default: 9223372036854775807 + format: "int64" + allowEmptyValue: false + x-exportParamName: "TriggerTimeEndBoundary" + x-optionalDataType: "Int64" + - name: "triggerTimeStartBoundary" + in: "query" + description: "Only includes executions that were built at or after the given\ + \ time, represented as a Unix timestamp in ms (UTC). This value must be\ + \ >= 0 and <= the value of [triggerTimeEndBoundary], if provided. If this\ + \ value is missing, it is defaulted to 0." + required: false + type: "integer" + default: 0 + format: "int64" + allowEmptyValue: false + x-exportParamName: "TriggerTimeStartBoundary" + x-optionalDataType: "Int64" + - name: "triggerTypes" in: "query" + description: "Only includes executions that were triggered by a trigger with\ + \ a type that is equal to a type provided in this field. The list of trigger\ + \ types should be a comma-delimited string. If this value is missing, results\ + \ will includes executions of all trigger types." required: false type: "string" - x-exportParamName: "Username" + allowEmptyValue: false + x-exportParamName: "TriggerTypes" x-optionalDataType: "String" responses: "200": @@ -927,7 +983,8 @@ paths: schema: type: "array" items: - $ref: "#/definitions/Account" + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -935,21 +992,21 @@ paths: "404": description: "Not Found" deprecated: false - /v2/pipelineTemplates/{id}/dependents: + /applications/{application}/functions: get: tags: - - "v-2-pipeline-templates-controller" - summary: "(ALPHA) List all pipelines that implement a pipeline template" - operationId: "listPipelineTemplateDependentsUsingGET_1" + - "amazon-infrastructure-controller" + summary: "Get application functions" + operationId: "applicationFunctionsUsingGET" produces: - "*/*" parameters: - - name: "id" + - name: "application" in: "path" - description: "id" + description: "application" required: true type: "string" - x-exportParamName: "Id" + x-exportParamName: "Application" responses: "200": description: "OK" @@ -965,21 +1022,30 @@ paths: "404": description: "Not Found" deprecated: false - /v3/builds/{buildMaster}/jobs: + /applications/{application}/history: get: tags: - - "build-controller" - summary: "Get jobs for build master" - operationId: "v3GetJobsForBuildMasterUsingGET" + - "application-controller" + summary: "Retrieve a list of an application's configuration revision history" + operationId: "getApplicationHistoryUsingGET" produces: - "*/*" parameters: - - name: "buildMaster" + - name: "application" in: "path" - description: "buildMaster" + description: "application" required: true type: "string" - x-exportParamName: "BuildMaster" + x-exportParamName: "Application" + - name: "limit" + in: "query" + description: "limit" + required: false + type: "integer" + default: 20 + format: "int32" + x-exportParamName: "Limit" + x-optionalDataType: "Int32" responses: "200": description: "OK" @@ -995,33 +1061,12 @@ paths: "404": description: "Not Found" deprecated: false - /version: - get: - tags: - - "version-controller" - summary: "Fetch Gate's current version" - operationId: "getVersionUsingGET" - produces: - - "*/*" - parameters: [] - responses: - "200": - description: "OK" - schema: - $ref: "#/definitions/Version" - "401": - description: "Unauthorized" - "403": - description: "Forbidden" - "404": - description: "Not Found" - deprecated: false - /firewalls/{account}/{region}/{name}: + /applications/{application}/loadBalancers: get: tags: - - "firewall-controller" - summary: "Retrieve a firewall's details" - operationId: "getSecurityGroupUsingGET" + - "load-balancer-controller" + summary: "Retrieve a list of load balancers for a given application" + operationId: "getApplicationLoadBalancersUsingGET" produces: - "*/*" parameters: @@ -1032,44 +1077,20 @@ paths: type: "string" x-exportParamName: "XRateLimitApp" x-optionalDataType: "String" - - name: "account" - in: "path" - description: "account" - required: true - type: "string" - x-exportParamName: "Account" - - name: "name" - in: "path" - description: "name" - required: true - type: "string" - x-exportParamName: "Name" - - name: "provider" - in: "query" - description: "provider" - required: false - type: "string" - default: "aws" - x-exportParamName: "Provider" - x-optionalDataType: "String" - - name: "region" + - name: "application" in: "path" - description: "region" + description: "application" required: true type: "string" - x-exportParamName: "Region" - - name: "vpcId" - in: "query" - description: "vpcId" - required: false - type: "string" - x-exportParamName: "VpcId" - x-optionalDataType: "String" + x-exportParamName: "Application" responses: "200": description: "OK" schema: - type: "object" + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -1077,45 +1098,29 @@ paths: "404": description: "Not Found" deprecated: false - /instances/{account}/{region}/{instanceId}: + /applications/{application}/pipelineConfigs: get: tags: - - "instance-controller" - summary: "Retrieve an instance's details" - operationId: "getInstanceDetailsUsingGET" + - "application-controller" + summary: "Retrieve a list of an application's pipeline configurations" + operationId: "getPipelineConfigsForApplicationUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "account" - in: "path" - description: "account" - required: true - type: "string" - x-exportParamName: "Account" - - name: "instanceId" - in: "path" - description: "instanceId" - required: true - type: "string" - x-exportParamName: "InstanceId" - - name: "region" + - name: "application" in: "path" - description: "region" + description: "application" required: true type: "string" - x-exportParamName: "Region" + x-exportParamName: "Application" responses: "200": description: "OK" schema: - type: "object" + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -1123,50 +1128,35 @@ paths: "404": description: "Not Found" deprecated: false - /managed/resources/export/{cloudProvider}/{account}/{type}/{name}: + /applications/{application}/pipelineConfigs/{pipelineName}: get: tags: - - "managed-controller" - summary: "Generate a keel resource definition for a deployed cloud resource" - operationId: "exportResourceUsingGET_1" + - "application-controller" + summary: "Retrieve a pipeline configuration" + operationId: "getPipelineConfigUsingGET" produces: - "*/*" parameters: - - name: "account" - in: "path" - description: "account" - required: true - type: "string" - x-exportParamName: "Account" - - name: "cloudProvider" - in: "path" - description: "cloudProvider" - required: true - type: "string" - x-exportParamName: "CloudProvider" - - name: "name" + - name: "application" in: "path" - description: "name" - required: true - type: "string" - x-exportParamName: "Name" - - name: "serviceAccount" - in: "query" - description: "serviceAccount" + description: "application" required: true type: "string" - x-exportParamName: "ServiceAccount" - - name: "type" + x-exportParamName: "Application" + - name: "pipelineName" in: "path" - description: "type" + description: "pipelineName" required: true type: "string" - x-exportParamName: "Type_" + x-exportParamName: "PipelineName" responses: "200": description: "OK" schema: - $ref: "#/definitions/Resource" + type: "object" + additionalProperties: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -1174,29 +1164,47 @@ paths: "404": description: "Not Found" deprecated: false - /pipelines/start: post: tags: - - "pipeline-controller" - summary: "Initiate a pipeline execution" - operationId: "startUsingPOST" + - "application-controller" + summary: "Invoke pipeline config" + operationId: "invokePipelineConfigUsingPOST" consumes: - "application/json" produces: - "*/*" parameters: - - in: "body" - name: "map" - description: "map" + - name: "application" + in: "path" + description: "application" + required: true + type: "string" + x-exportParamName: "Application" + - name: "pipelineName" + in: "path" + description: "pipelineName" required: true + type: "string" + x-exportParamName: "PipelineName" + - in: "body" + name: "trigger" + description: "trigger" + required: false schema: type: "object" - x-exportParamName: "Map_" + x-exportParamName: "Trigger" + - name: "user" + in: "query" + description: "user" + required: false + type: "string" + x-exportParamName: "User" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - $ref: "#/definitions/ResponseEntity" + $ref: "#/definitions/HttpEntity" "201": description: "Created" "401": @@ -1205,44 +1213,52 @@ paths: description: "Forbidden" "404": description: "Not Found" - deprecated: false - /pipelines/{id}/cancel: - put: + deprecated: true + /applications/{application}/pipelines: + get: tags: - - "pipeline-controller" - summary: "Cancel a pipeline execution" - operationId: "cancelPipelineUsingPUT_1" - consumes: - - "application/json" + - "application-controller" + summary: "Retrieve a list of an application's pipeline executions" + operationId: "getPipelinesUsingGET" produces: - "*/*" parameters: - - name: "force" + - name: "application" + in: "path" + description: "application" + required: true + type: "string" + x-exportParamName: "Application" + - name: "expand" in: "query" - description: "force" + description: "expand" required: false type: "boolean" - default: false - x-exportParamName: "Force" + x-exportParamName: "Expand" x-optionalDataType: "Bool" - - name: "id" - in: "path" - description: "id" - required: true - type: "string" - x-exportParamName: "Id" - - name: "reason" + - name: "limit" in: "query" - description: "reason" + description: "limit" required: false - type: "string" - x-exportParamName: "Reason" + type: "integer" + format: "int32" + x-exportParamName: "Limit" + x-optionalDataType: "Int32" + - name: "statuses" + in: "query" + description: "statuses" + required: false + type: "string" + x-exportParamName: "Statuses" x-optionalDataType: "String" responses: "200": description: "OK" - "201": - description: "Created" + schema: + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -1250,84 +1266,62 @@ paths: "404": description: "Not Found" deprecated: false - /instances/{account}/{region}/{instanceId}/console: - get: + /applications/{application}/pipelines/{id}/cancel: + put: tags: - - "instance-controller" - summary: "Retrieve an instance's console output" - operationId: "getConsoleOutputUsingGET" + - "application-controller" + summary: "Cancel pipeline" + operationId: "cancelPipelineUsingPUT" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "account" - in: "path" - description: "account" - required: true - type: "string" - x-exportParamName: "Account" - - name: "instanceId" + - name: "id" in: "path" - description: "instanceId" + description: "id" required: true type: "string" - x-exportParamName: "InstanceId" - - name: "provider" + x-exportParamName: "Id" + - name: "reason" in: "query" - description: "provider" + description: "reason" required: false type: "string" - default: "aws" - x-exportParamName: "Provider" + x-exportParamName: "Reason" x-optionalDataType: "String" - - name: "region" - in: "path" - description: "region" - required: true - type: "string" - x-exportParamName: "Region" responses: "200": description: "OK" schema: type: "object" + additionalProperties: + type: "object" + properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": description: "Forbidden" "404": description: "Not Found" - deprecated: false - /loadBalancers: + deprecated: true + /applications/{application}/rawResources: get: tags: - - "load-balancer-controller" - summary: "Retrieve a list of load balancers for a given cloud provider" - operationId: "getAllUsingGET" + - "raw-resource-controller" + summary: "Retrieve a list of raw resources for a given application" + operationId: "getApplicationRawResourcesUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "provider" - in: "query" - description: "provider" - required: false + - name: "application" + in: "path" + description: "application" + required: true type: "string" - default: "aws" - x-exportParamName: "Provider" - x-optionalDataType: "String" + x-exportParamName: "Application" responses: "200": description: "OK" @@ -1343,47 +1337,29 @@ paths: "404": description: "Not Found" deprecated: false - /artifacts/account/{accountName}/versions: + /applications/{application}/serverGroupManagers: get: tags: - - "artifact-controller" - summary: "Retrieve the list of artifact versions by account and artifact names" - operationId: "artifactVersionsUsingGET" + - "server-group-manager-controller" + summary: "Retrieve a list of server group managers for an application" + operationId: "getServerGroupManagersForApplicationUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "accountName" + - name: "application" in: "path" - description: "accountName" - required: true - type: "string" - x-exportParamName: "AccountName" - - name: "artifactName" - in: "query" - description: "artifactName" - required: true - type: "string" - x-exportParamName: "ArtifactName" - - name: "type" - in: "query" - description: "type" + description: "application" required: true type: "string" - x-exportParamName: "Type_" + x-exportParamName: "Application" responses: "200": description: "OK" schema: type: "array" items: - type: "string" + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -1391,30 +1367,45 @@ paths: "404": description: "Not Found" deprecated: false - /v2/canaries/metadata/metricsService: + /applications/{application}/serverGroups/{account}/{serverGroupName}/events: get: tags: - - "v-2-canary-controller" - summary: "Retrieve a list of descriptors for use in populating the canary config\ - \ ui" - operationId: "listMetricsServiceMetadataUsingGET" + - "ecs-server-group-events-controller" + summary: "Retrieves a list of events for a server group" + operationId: "getEventsUsingGET" produces: - "*/*" parameters: - - name: "filter" + - name: "account" + in: "path" + description: "account" + required: true + type: "string" + x-exportParamName: "Account" + - name: "application" + in: "path" + description: "application" + required: true + type: "string" + x-exportParamName: "Application" + - name: "provider" in: "query" - description: "filter" - required: false + description: "provider" + required: true type: "string" - x-exportParamName: "Filter" - x-optionalDataType: "String" - - name: "metricsAccountName" + x-exportParamName: "Provider" + - name: "region" in: "query" - description: "metricsAccountName" - required: false + description: "region" + required: true type: "string" - x-exportParamName: "MetricsAccountName" - x-optionalDataType: "String" + x-exportParamName: "Region" + - name: "serverGroupName" + in: "path" + description: "serverGroupName" + required: true + type: "string" + x-exportParamName: "ServerGroupName" responses: "200": description: "OK" @@ -1430,15 +1421,21 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/serverGroupManagers: + /applications/{application}/snapshots/{account}: get: tags: - - "server-group-manager-controller" - summary: "Retrieve a list of server group managers for an application" - operationId: "getServerGroupManagersForApplicationUsingGET" + - "snapshot-controller" + summary: "Get current snapshot" + operationId: "getCurrentSnapshotUsingGET" produces: - "*/*" parameters: + - name: "account" + in: "path" + description: "account" + required: true + type: "string" + x-exportParamName: "Account" - name: "application" in: "path" description: "application" @@ -1449,8 +1446,8 @@ paths: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} "401": @@ -1460,22 +1457,15 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/clusters/{account}/{clusterName}/serverGroups/{serverGroupName}: + /applications/{application}/snapshots/{account}/history: get: tags: - - "cluster-controller" - summary: "Retrieve a server group's details" - operationId: "getServerGroupsUsingGET" + - "snapshot-controller" + summary: "Get snapshot history" + operationId: "getSnapshotHistoryUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - name: "account" in: "path" description: "account" @@ -1488,18 +1478,15 @@ paths: required: true type: "string" x-exportParamName: "Application" - - name: "clusterName" - in: "path" - description: "clusterName" - required: true - type: "string" - x-exportParamName: "ClusterName" - - name: "serverGroupName" - in: "path" - description: "serverGroupName" - required: true - type: "string" - x-exportParamName: "ServerGroupName" + - name: "limit" + in: "query" + description: "limit" + required: false + type: "integer" + default: 20 + format: "int32" + x-exportParamName: "Limit" + x-optionalDataType: "Int32" responses: "200": description: "OK" @@ -1515,22 +1502,21 @@ paths: "404": description: "Not Found" deprecated: false - /auth/user/serviceAccounts: + /applications/{application}/strategyConfigs: get: tags: - - "auth-controller" - summary: "Get service accounts" - operationId: "getServiceAccountsUsingGET" + - "application-controller" + summary: "Retrieve a list of an application's pipeline strategy configurations" + operationId: "getStrategyConfigsForApplicationUsingGET" produces: - "*/*" parameters: - name: "application" - in: "query" + in: "path" description: "application" - required: false + required: true type: "string" x-exportParamName: "Application" - x-optionalDataType: "String" responses: "200": description: "OK" @@ -1546,74 +1532,33 @@ paths: "404": description: "Not Found" deprecated: false - /executions: + /applications/{application}/strategyConfigs/{strategyName}: get: tags: - - "executions-controller" - summary: "Retrieves an ad-hoc collection of executions based on a number of\ - \ user-supplied parameters. Either executionIds or pipelineConfigIds must\ - \ be supplied in order to return any results. If both are supplied, an exception\ - \ will be thrown." - operationId: "getLatestExecutionsByConfigIdsUsingGET" + - "application-controller" + summary: "Retrieve a pipeline strategy configuration" + operationId: "getStrategyConfigUsingGET" produces: - "*/*" parameters: - - name: "executionIds" - in: "query" - description: "A comma-separated list of executions to retrieve. Either this\ - \ OR pipelineConfigIds must be supplied, but not both." - required: false - type: "string" - allowEmptyValue: false - x-exportParamName: "ExecutionIds" - x-optionalDataType: "String" - - name: "expand" - in: "query" - description: "Expands each execution object in the resulting list. If this\ - \ value is missing, it is defaulted to true." - required: false - type: "boolean" - default: true - allowEmptyValue: false - x-exportParamName: "Expand" - x-optionalDataType: "Bool" - - name: "limit" - in: "query" - description: "The number of executions to return per pipeline configuration.\ - \ Ignored if executionIds parameter is supplied. If this value is missing,\ - \ it is defaulted to 1." - required: false - type: "integer" - format: "int32" - allowEmptyValue: false - x-exportParamName: "Limit" - x-optionalDataType: "Int32" - - name: "pipelineConfigIds" - in: "query" - description: "A comma-separated list of pipeline configuration IDs to retrieve\ - \ recent executions for. Either this OR pipelineConfigIds must be supplied,\ - \ but not both." - required: false + - name: "application" + in: "path" + description: "application" + required: true type: "string" - allowEmptyValue: false - x-exportParamName: "PipelineConfigIds" - x-optionalDataType: "String" - - name: "statuses" - in: "query" - description: "A comma-separated list of execution statuses to filter by. Ignored\ - \ if executionIds parameter is supplied. If this value is missing, it is\ - \ defaulted to all statuses." - required: false + x-exportParamName: "Application" + - name: "strategyName" + in: "path" + description: "strategyName" + required: true type: "string" - allowEmptyValue: false - x-exportParamName: "Statuses" - x-optionalDataType: "String" + x-exportParamName: "StrategyName" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} "401": @@ -1623,12 +1568,12 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}: + /applications/{application}/tasks: get: tags: - "application-controller" - summary: "Retrieve an application's details" - operationId: "getApplicationUsingGET" + summary: "Retrieve a list of an application's tasks" + operationId: "getTasksUsingGET" produces: - "*/*" parameters: @@ -1638,20 +1583,35 @@ paths: required: true type: "string" x-exportParamName: "Application" - - name: "expand" + - name: "limit" in: "query" - description: "expand" + description: "limit" required: false - type: "boolean" - default: true - x-exportParamName: "Expand" - x-optionalDataType: "Bool" + type: "integer" + format: "int32" + x-exportParamName: "Limit" + x-optionalDataType: "Int32" + - name: "page" + in: "query" + description: "page" + required: false + type: "integer" + format: "int32" + x-exportParamName: "Page" + x-optionalDataType: "Int32" + - name: "statuses" + in: "query" + description: "statuses" + required: false + type: "string" + x-exportParamName: "Statuses" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: + type: "array" + items: type: "object" properties: {} "401": @@ -1661,52 +1621,11 @@ paths: "404": description: "Not Found" deprecated: false - /artifacts/{provider}/{packageName}/{version}: - get: - tags: - - "artifact-controller" - summary: "Retrieve the specified artifact version for an artifact provider and\ - \ package name" - operationId: "getArtifactUsingGET" - produces: - - "*/*" - parameters: - - name: "packageName" - in: "path" - description: "packageName" - required: true - type: "string" - x-exportParamName: "PackageName" - - name: "provider" - in: "path" - description: "provider" - required: true - type: "string" - x-exportParamName: "Provider" - - name: "version" - in: "path" - description: "version" - required: true - type: "string" - x-exportParamName: "Version" - responses: - "200": - description: "OK" - schema: - type: "object" - "401": - description: "Unauthorized" - "403": - description: "Forbidden" - "404": - description: "Not Found" - deprecated: false - /pipelines/{application}/{pipelineNameOrId}: post: tags: - - "pipeline-controller" - summary: "Trigger a pipeline execution" - operationId: "invokePipelineConfigUsingPOST_1" + - "application-controller" + summary: "Create task" + operationId: "taskUsingPOST" consumes: - "application/json" produces: @@ -1718,54 +1637,51 @@ paths: required: true type: "string" x-exportParamName: "Application" - - name: "pipelineNameOrId" - in: "path" - description: "pipelineNameOrId" - required: true - type: "string" - x-exportParamName: "PipelineNameOrId" - in: "body" - name: "trigger" - description: "trigger" - required: false + name: "map" + description: "map" + required: true schema: type: "object" - x-exportParamName: "Trigger" + x-exportParamName: "Map_" responses: - "201": - description: "Created" - "202": - description: "Accepted" + "200": + description: "OK" schema: type: "object" + additionalProperties: + type: "object" + properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": description: "Forbidden" "404": description: "Not Found" - deprecated: false - /managed/delivery-configs/{name}/artifacts: + deprecated: true + /applications/{application}/tasks/{id}: get: tags: - - "managed-controller" - summary: "Get the status of each version of each artifact in each environment" - operationId: "getManifestArtifactsUsingGET" + - "application-controller" + summary: "Get task" + operationId: "getTaskUsingGET" produces: - "*/*" parameters: - - name: "name" + - name: "id" in: "path" - description: "name" + description: "id" required: true type: "string" - x-exportParamName: "Name" + x-exportParamName: "Id" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} "401": @@ -1774,52 +1690,69 @@ paths: description: "Forbidden" "404": description: "Not Found" - deprecated: false - /webhooks/preconfigured: - get: + deprecated: true + /applications/{application}/tasks/{id}/cancel: + put: tags: - - "webhook-controller" - summary: "Retrieve a list of preconfigured webhooks in Orca" - operationId: "preconfiguredWebhooksUsingGET" + - "application-controller" + summary: "Cancel task" + operationId: "cancelTaskUsingPUT" + consumes: + - "application/json" produces: - "*/*" - parameters: [] + parameters: + - name: "id" + in: "path" + description: "id" + required: true + type: "string" + x-exportParamName: "Id" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": description: "Forbidden" "404": description: "Not Found" - deprecated: false - /pipelines/{id}/evaluateExpression: + deprecated: true + /applications/{application}/tasks/{id}/details/{taskDetailsId}: get: tags: - - "pipeline-controller" - summary: "Evaluate a pipeline expression using the provided execution as context" - operationId: "evaluateExpressionForExecutionUsingGET" + - "application-controller" + summary: "Get task details" + operationId: "getTaskDetailsUsingGET" produces: - "*/*" parameters: - - name: "expression" - in: "query" - description: "expression" - required: true + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false type: "string" - x-exportParamName: "Expression" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" - name: "id" in: "path" description: "id" required: true type: "string" x-exportParamName: "Id" + - name: "taskDetailsId" + in: "path" + description: "taskDetailsId" + required: true + type: "string" + x-exportParamName: "TaskDetailsId" responses: "200": description: "OK" @@ -1834,40 +1767,48 @@ paths: description: "Forbidden" "404": description: "Not Found" - deprecated: false - post: + deprecated: true + /artifacts/account/{accountName}/versions: + get: tags: - - "pipeline-controller" - summary: "Evaluate a pipeline expression using the provided execution as context" - operationId: "evaluateExpressionForExecutionViaPOSTUsingPOST" - consumes: - - "text/plain" + - "artifact-controller" + summary: "Retrieve the list of artifact versions by account and artifact names" + operationId: "artifactVersionsUsingGET" produces: - "*/*" parameters: - - name: "id" - in: "path" - description: "id" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "accountName" + in: "path" + description: "accountName" required: true type: "string" - x-exportParamName: "Id" - - in: "body" - name: "pipelineExpression" - description: "pipelineExpression" + x-exportParamName: "AccountName" + - name: "artifactName" + in: "query" + description: "artifactName" required: true - schema: - type: "string" - x-exportParamName: "PipelineExpression" + type: "string" + x-exportParamName: "ArtifactName" + - name: "type" + in: "query" + description: "type" + required: true + type: "string" + x-exportParamName: "Type_" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: - type: "object" - properties: {} - "201": - description: "Created" + type: "array" + items: + type: "string" "401": description: "Unauthorized" "403": @@ -1875,43 +1816,30 @@ paths: "404": description: "Not Found" deprecated: false - /pipelines/v2/{application}/{pipelineNameOrId}: - post: + /artifacts/credentials: + get: tags: - - "pipeline-controller" - summary: "Trigger a pipeline execution" - operationId: "invokePipelineConfigViaEchoUsingPOST" - consumes: - - "application/json" + - "artifact-controller" + summary: "Retrieve the list of artifact accounts configured in Clouddriver." + operationId: "allUsingGET" produces: - "*/*" parameters: - - name: "application" - in: "path" - description: "application" - required: true - type: "string" - x-exportParamName: "Application" - - name: "pipelineNameOrId" - in: "path" - description: "pipelineNameOrId" - required: true - type: "string" - x-exportParamName: "PipelineNameOrId" - - in: "body" - name: "trigger" - description: "trigger" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" required: false - schema: - type: "object" - x-exportParamName: "Trigger" + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "object" - "201": - description: "Created" + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -1919,41 +1847,39 @@ paths: "404": description: "Not Found" deprecated: false - /concourse/{buildMaster}/teams/{team}/pipelines/{pipeline}/jobs: + /artifacts/{provider}/{packageName}/{version}: get: tags: - - "concourse-controller" - summary: "Retrieve the list of job names for a given pipeline available to triggers" - operationId: "jobsUsingGET" + - "artifact-controller" + summary: "Retrieve the specified artifact version for an artifact provider and\ + \ package name" + operationId: "getArtifactUsingGET" produces: - "*/*" parameters: - - name: "buildMaster" + - name: "packageName" in: "path" - description: "buildMaster" + description: "packageName" required: true type: "string" - x-exportParamName: "BuildMaster" - - name: "pipeline" + x-exportParamName: "PackageName" + - name: "provider" in: "path" - description: "pipeline" + description: "provider" required: true type: "string" - x-exportParamName: "Pipeline" - - name: "team" + x-exportParamName: "Provider" + - name: "version" in: "path" - description: "team" + description: "version" required: true type: "string" - x-exportParamName: "Team" + x-exportParamName: "Version" responses: "200": description: "OK" schema: - type: "array" - items: - type: "object" - properties: {} + type: "object" "401": description: "Unauthorized" "403": @@ -1961,26 +1887,45 @@ paths: "404": description: "Not Found" deprecated: false - /pipelines/{id}: + /auth/loggedOut: get: tags: - - "pipeline-controller" - summary: "Retrieve a pipeline execution" - operationId: "getPipelineUsingGET" + - "auth-controller" + summary: "Get logged out message" + operationId: "loggedOutUsingGET" + produces: + - "*/*" + parameters: [] + responses: + "200": + description: "OK" + schema: + type: "string" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /auth/redirect: + get: + tags: + - "auth-controller" + summary: "Redirect to Deck" + operationId: "redirectUsingGET" produces: - "*/*" parameters: - - name: "id" - in: "path" - description: "id" + - name: "to" + in: "query" + description: "to" required: true type: "string" - x-exportParamName: "Id" + x-exportParamName: "To" responses: "200": description: "OK" - schema: - type: "object" "401": description: "Unauthorized" "403": @@ -1988,37 +1933,20 @@ paths: "404": description: "Not Found" deprecated: false - put: + /auth/roles/sync: + post: tags: - - "pipeline-controller" - summary: "Update a pipeline definition" - operationId: "updatePipelineUsingPUT" + - "auth-controller" + summary: "Sync user roles" + operationId: "syncUsingPOST" consumes: - "application/json" produces: - "*/*" - parameters: - - name: "id" - in: "path" - description: "id" - required: true - type: "string" - x-exportParamName: "Id" - - in: "body" - name: "pipeline" - description: "pipeline" - required: true - schema: - type: "object" - x-exportParamName: "Pipeline" + parameters: [] responses: "200": description: "OK" - schema: - type: "object" - additionalProperties: - type: "object" - properties: {} "201": description: "Created" "401": @@ -2028,44 +1956,43 @@ paths: "404": description: "Not Found" deprecated: false - delete: + /auth/user: + get: tags: - - "pipeline-controller" - summary: "Delete a pipeline execution" - operationId: "deletePipelineUsingDELETE_1" + - "auth-controller" + summary: "Get user" + operationId: "userUsingGET" produces: - "*/*" - parameters: - - name: "id" - in: "path" - description: "id" - required: true - type: "string" - x-exportParamName: "Id" + parameters: [] responses: "200": description: "OK" schema: - type: "object" - additionalProperties: - type: "object" - properties: {} - "204": - description: "No Content" + $ref: "#/definitions/User" "401": description: "Unauthorized" "403": description: "Forbidden" + "404": + description: "Not Found" deprecated: false - /vpcs: + /auth/user/serviceAccounts: get: tags: - - "amazon-infrastructure-controller" - summary: "Get VPCs" - operationId: "vpcsUsingGET" + - "auth-controller" + summary: "Get service accounts" + operationId: "getServiceAccountsUsingGET" produces: - "*/*" - parameters: [] + parameters: + - name: "application" + in: "query" + description: "application" + required: false + type: "string" + x-exportParamName: "Application" + x-optionalDataType: "String" responses: "200": description: "OK" @@ -2080,37 +2007,33 @@ paths: description: "Forbidden" "404": description: "Not Found" - deprecated: true - /concourse/{buildMaster}/teams/{team}/pipelines: + deprecated: false + /bakery/logs/{region}/{statusId}: get: tags: - - "concourse-controller" - summary: "Retrieve the list of pipeline names for a given team available to\ - \ triggers" - operationId: "pipelinesUsingGET" + - "bake-controller" + summary: "Retrieve the logs for a given bake" + operationId: "lookupLogsUsingGET" produces: - "*/*" parameters: - - name: "buildMaster" + - name: "region" in: "path" - description: "buildMaster" + description: "region" required: true type: "string" - x-exportParamName: "BuildMaster" - - name: "team" + x-exportParamName: "Region" + - name: "statusId" in: "path" - description: "team" + description: "statusId" required: true type: "string" - x-exportParamName: "Team" + x-exportParamName: "StatusId" responses: "200": description: "OK" schema: - type: "array" - items: - type: "object" - properties: {} + type: "object" "401": description: "Unauthorized" "403": @@ -2118,57 +2041,21 @@ paths: "404": description: "Not Found" deprecated: false - /loadBalancers/{account}/{region}/{name}: + /bakery/options: get: tags: - - "load-balancer-controller" - summary: "Retrieve a load balancer's details as a single element list for a\ - \ given account, region, cloud provider and load balancer name" - operationId: "getLoadBalancerDetailsUsingGET" + - "bake-controller" + summary: "Retrieve a list of available bakery base images, grouped by cloud\ + \ provider" + operationId: "bakeOptionsUsingGET_1" produces: - "*/*" - parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "account" - in: "path" - description: "account" - required: true - type: "string" - x-exportParamName: "Account" - - name: "name" - in: "path" - description: "name" - required: true - type: "string" - x-exportParamName: "Name" - - name: "provider" - in: "query" - description: "provider" - required: false - type: "string" - default: "aws" - x-exportParamName: "Provider" - x-optionalDataType: "String" - - name: "region" - in: "path" - description: "region" - required: true - type: "string" - x-exportParamName: "Region" + parameters: [] responses: "200": description: "OK" schema: - type: "array" - items: - type: "object" - properties: {} + type: "object" "401": description: "Unauthorized" "403": @@ -2176,24 +2063,27 @@ paths: "404": description: "Not Found" deprecated: false - /auth/redirect: + /bakery/options/{cloudProvider}: get: tags: - - "auth-controller" - summary: "Redirect to Deck" - operationId: "redirectUsingGET" + - "bake-controller" + summary: "Retrieve a list of available bakery base images for a given cloud\ + \ provider" + operationId: "bakeOptionsUsingGET" produces: - "*/*" parameters: - - name: "to" - in: "query" - description: "to" + - name: "cloudProvider" + in: "path" + description: "cloudProvider" required: true type: "string" - x-exportParamName: "To" + x-exportParamName: "CloudProvider" responses: "200": description: "OK" + schema: + type: "object" "401": description: "Unauthorized" "403": @@ -2201,35 +2091,57 @@ paths: "404": description: "Not Found" deprecated: false - /managed/application/{application}/pin: - post: + /ci/builds: + get: tags: - - "managed-controller" - summary: "Create a pin for an artifact in an environment" - operationId: "createPinUsingPOST" - consumes: - - "application/json" + - "ci-controller" + summary: "getBuilds" + operationId: "getBuildsUsingGET_1" produces: - "*/*" parameters: - - name: "application" - in: "path" - description: "application" - required: true + - name: "buildNumber" + in: "query" + description: "buildNumber" + required: false type: "string" - x-exportParamName: "Application" - - in: "body" - name: "pin" - description: "pin" - required: true - schema: - $ref: "#/definitions/EnvironmentArtifactPin" - x-exportParamName: "Pin" + x-exportParamName: "BuildNumber" + x-optionalDataType: "String" + - name: "commitId" + in: "query" + description: "commitId" + required: false + type: "string" + x-exportParamName: "CommitId" + x-optionalDataType: "String" + - name: "completionStatus" + in: "query" + description: "completionStatus" + required: false + type: "string" + x-exportParamName: "CompletionStatus" + x-optionalDataType: "String" + - name: "projectKey" + in: "query" + description: "projectKey" + required: false + type: "string" + x-exportParamName: "ProjectKey" + x-optionalDataType: "String" + - name: "repoSlug" + in: "query" + description: "repoSlug" + required: false + type: "string" + x-exportParamName: "RepoSlug" + x-optionalDataType: "String" responses: "200": description: "OK" - "201": - description: "Created" + schema: + type: "array" + items: + $ref: "#/definitions/Map«string,object»" "401": description: "Unauthorized" "403": @@ -2237,23 +2149,26 @@ paths: "404": description: "Not Found" deprecated: false - /v2/canaries/judges: + /ci/builds/{buildId}/output: get: tags: - - "v-2-canary-controller" - summary: "Retrieve a list of all configured canary judges" - operationId: "listJudgesUsingGET" + - "ci-controller" + summary: "getBuildOutputById" + operationId: "getBuildOutputByIdUsingGET" produces: - "*/*" - parameters: [] + parameters: + - name: "buildId" + in: "path" + description: "buildId" + required: true + type: "string" + x-exportParamName: "BuildId" responses: "200": description: "OK" schema: - type: "array" - items: - type: "object" - properties: {} + type: "object" "401": description: "Unauthorized" "403": @@ -2261,27 +2176,34 @@ paths: "404": description: "Not Found" deprecated: false - /tasks/{id}: + /concourse/{buildMaster}/teams/{team}/pipelines: get: tags: - - "task-controller" - summary: "Get task" - operationId: "getTaskUsingGET_1" + - "concourse-controller" + summary: "Retrieve the list of pipeline names for a given team available to\ + \ triggers" + operationId: "pipelinesUsingGET" produces: - "*/*" parameters: - - name: "id" + - name: "buildMaster" in: "path" - description: "id" + description: "buildMaster" required: true type: "string" - x-exportParamName: "Id" + x-exportParamName: "BuildMaster" + - name: "team" + in: "path" + description: "team" + required: true + type: "string" + x-exportParamName: "Team" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: + type: "array" + items: type: "object" properties: {} "401": @@ -2291,58 +2213,84 @@ paths: "404": description: "Not Found" deprecated: false - delete: + /concourse/{buildMaster}/teams/{team}/pipelines/{pipeline}/jobs: + get: tags: - - "task-controller" - summary: "Delete task" - operationId: "deleteTaskUsingDELETE" + - "concourse-controller" + summary: "Retrieve the list of job names for a given pipeline available to triggers" + operationId: "jobsUsingGET" produces: - "*/*" parameters: - - name: "id" + - name: "buildMaster" in: "path" - description: "id" + description: "buildMaster" required: true type: "string" - x-exportParamName: "Id" + x-exportParamName: "BuildMaster" + - name: "pipeline" + in: "path" + description: "pipeline" + required: true + type: "string" + x-exportParamName: "Pipeline" + - name: "team" + in: "path" + description: "team" + required: true + type: "string" + x-exportParamName: "Team" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: + type: "array" + items: type: "object" properties: {} - "204": - description: "No Content" "401": description: "Unauthorized" "403": description: "Forbidden" + "404": + description: "Not Found" deprecated: false - /v2/pipelineTemplates/versions: + /concourse/{buildMaster}/teams/{team}/pipelines/{pipeline}/resources: get: tags: - - "v-2-pipeline-templates-controller" - summary: "List pipeline templates with versions" - operationId: "listVersionsUsingGET" + - "concourse-controller" + summary: "Retrieve the list of resource names for a given pipeline available\ + \ to the Concourse stage" + operationId: "resourcesUsingGET" produces: - "*/*" parameters: - - name: "scopes" - in: "query" - description: "scopes" - required: false - type: "array" - items: - type: "string" - collectionFormat: "multi" - x-exportParamName: "Scopes" + - name: "buildMaster" + in: "path" + description: "buildMaster" + required: true + type: "string" + x-exportParamName: "BuildMaster" + - name: "pipeline" + in: "path" + description: "pipeline" + required: true + type: "string" + x-exportParamName: "Pipeline" + - name: "team" + in: "path" + description: "team" + required: true + type: "string" + x-exportParamName: "Team" responses: "200": description: "OK" schema: - type: "object" + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -2350,57 +2298,105 @@ paths: "404": description: "Not Found" deprecated: false - /webhooks/{type}/{source}: - post: + /credentials: + get: tags: - - "webhook-controller" - summary: "Endpoint for posting webhooks to Spinnaker's webhook service" - operationId: "webhooksUsingPOST" - consumes: - - "application/json" + - "credentials-controller" + summary: "Retrieve a list of accounts" + operationId: "getAccountsUsingGET" produces: - "*/*" parameters: - - name: "X-Event-Key" - in: "header" - description: "X-Event-Key" + - name: "accountNonExpired" + in: "query" + required: false + type: "boolean" + x-exportParamName: "AccountNonExpired" + x-optionalDataType: "Bool" + - name: "accountNonLocked" + in: "query" + required: false + type: "boolean" + x-exportParamName: "AccountNonLocked" + x-optionalDataType: "Bool" + - name: "allowedAccounts" + in: "query" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "AllowedAccounts" + - name: "authorities[0].authority" + in: "query" required: false type: "string" - x-exportParamName: "XEventKey" + x-exportParamName: "Authorities0Authority" x-optionalDataType: "String" - - name: "X-Hub-Signature" - in: "header" - description: "X-Hub-Signature" + - name: "credentialsNonExpired" + in: "query" + required: false + type: "boolean" + x-exportParamName: "CredentialsNonExpired" + x-optionalDataType: "Bool" + - name: "email" + in: "query" required: false type: "string" - x-exportParamName: "XHubSignature" + x-exportParamName: "Email" x-optionalDataType: "String" - - in: "body" - name: "event" - description: "event" + - name: "enabled" + in: "query" + required: false + type: "boolean" + x-exportParamName: "Enabled" + x-optionalDataType: "Bool" + - name: "expand" + in: "query" + description: "expand" + required: false + type: "boolean" + x-exportParamName: "Expand" + x-optionalDataType: "Bool" + - name: "firstName" + in: "query" required: false - schema: - type: "object" - x-exportParamName: "Event" - - name: "source" - in: "path" - description: "source" - required: true type: "string" - x-exportParamName: "Source" - - name: "type" - in: "path" - description: "type" - required: true + x-exportParamName: "FirstName" + x-optionalDataType: "String" + - name: "lastName" + in: "query" + required: false type: "string" - x-exportParamName: "Type_" + x-exportParamName: "LastName" + x-optionalDataType: "String" + - name: "password" + in: "query" + required: false + type: "string" + x-exportParamName: "Password" + x-optionalDataType: "String" + - name: "roles" + in: "query" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "Roles" + - name: "username" + in: "query" + required: false + type: "string" + x-exportParamName: "Username" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "object" - "201": - description: "Created" + type: "array" + items: + $ref: "#/definitions/Account" "401": description: "Unauthorized" "403": @@ -2408,35 +2404,31 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/strategyConfigs/{strategyName}: - get: + post: tags: - - "application-controller" - summary: "Retrieve a pipeline strategy configuration" - operationId: "getStrategyConfigUsingGET" + - "credentials-controller" + summary: "Creates a new account definition." + operationId: "createAccountUsingPOST" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "application" - in: "path" - description: "application" - required: true - type: "string" - x-exportParamName: "Application" - - name: "strategyName" - in: "path" - description: "strategyName" - required: true - type: "string" - x-exportParamName: "StrategyName" + - in: "body" + name: "accountDefinition" + description: "Account definition body including a discriminator field named\ + \ \"@type\" with the account type." + required: false + schema: + $ref: "#/definitions/AccountDefinition" + x-exportParamName: "AccountDefinition" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: - type: "object" - properties: {} + $ref: "#/definitions/AccountDefinition" + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -2444,42 +2436,31 @@ paths: "404": description: "Not Found" deprecated: false - /ci/builds: - get: + put: tags: - - "ci-controller" - summary: "getBuilds" - operationId: "getBuildsUsingGET_1" + - "credentials-controller" + summary: "Updates an existing account definition." + operationId: "updateAccountUsingPUT" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "completionStatus" - in: "query" - description: "completionStatus" + - in: "body" + name: "accountDefinition" + description: "Account definition body including a discriminator field named\ + \ \"@type\" with the account type." required: false - type: "string" - x-exportParamName: "CompletionStatus" - x-optionalDataType: "String" - - name: "projectKey" - in: "query" - description: "projectKey" - required: true - type: "string" - x-exportParamName: "ProjectKey" - - name: "repoSlug" - in: "query" - description: "repoSlug" - required: true - type: "string" - x-exportParamName: "RepoSlug" + schema: + $ref: "#/definitions/AccountDefinition" + x-exportParamName: "AccountDefinition" responses: "200": description: "OK" schema: - type: "array" - items: - type: "object" - properties: {} + $ref: "#/definitions/AccountDefinition" + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -2487,64 +2468,46 @@ paths: "404": description: "Not Found" deprecated: false - /pipelines/{id}/evaluateVariables: - post: + /credentials/type/{accountType}: + get: tags: - - "pipeline-controller" - summary: "Evaluate variables same as Evaluate Variables stage using the provided\ - \ execution as context" - operationId: "evaluateVariablesUsingPOST" - consumes: - - "application/json" + - "credentials-controller" + summary: "Looks up account definitions by type." + operationId: "getAccountsByTypeUsingGET" produces: - "*/*" parameters: - - name: "executionId" - in: "query" - description: "Execution id to run against" - required: true + - name: "accountType" + in: "path" + description: "Value of the \"@type\" key for accounts to search for." + required: false type: "string" - allowEmptyValue: false - x-exportParamName: "ExecutionId" - - in: "body" - name: "expressions" - description: "List of variables/expressions to evaluate" - required: true - schema: - type: "array" - items: - $ref: "#/definitions/Map«string,string»" - x-examples: - application/json: "[{\"key\":\"a\",\"value\":\"1\"},{\"key\":\"b\",\"value\"\ - :\"2\"},{\"key\":\"sum\",\"value\":\"${a+b}\"}]" - x-exportParamName: "Expressions" - - name: "requisiteStageRefIds" + x-example: "kubernetes" + x-exportParamName: "AccountType" + - name: "limit" in: "query" - description: "Comma separated list of requisite stage IDs for the evaluation\ - \ stage" + description: "Maximum number of entries to return in results. Used for pagination." required: false type: "string" allowEmptyValue: false - x-exportParamName: "RequisiteStageRefIds" + x-exportParamName: "Limit" x-optionalDataType: "String" - - name: "spelVersion" + - name: "startingAccountName" in: "query" - description: "Version of SpEL evaluation logic to use (v3 or v4)" + description: "Account name to start account definition listing from. Used\ + \ for pagination." required: false type: "string" allowEmptyValue: false - x-exportParamName: "SpelVersion" + x-exportParamName: "StartingAccountName" x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: - type: "object" - properties: {} - "201": - description: "Created" + type: "array" + items: + $ref: "#/definitions/AccountDefinition" "401": description: "Unauthorized" "403": @@ -2552,95 +2515,137 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/pipelines: - get: + /credentials/{accountName}: + delete: tags: - - "application-controller" - summary: "Retrieve a list of an application's pipeline executions" - operationId: "getPipelinesUsingGET" + - "credentials-controller" + summary: "Deletes an account definition by name." + description: "Deleted accounts can be restored via the update API. Previously\ + \ deleted accounts cannot be \"created\" again to avoid conflicts with existing\ + \ pipelines." + operationId: "deleteAccountUsingDELETE" produces: - "*/*" parameters: - - name: "application" + - name: "accountName" in: "path" - description: "application" - required: true - type: "string" - x-exportParamName: "Application" - - name: "expand" - in: "query" - description: "expand" - required: false - type: "boolean" - x-exportParamName: "Expand" - x-optionalDataType: "Bool" - - name: "limit" - in: "query" - description: "limit" - required: false - type: "integer" - format: "int32" - x-exportParamName: "Limit" - x-optionalDataType: "Int32" - - name: "statuses" - in: "query" - description: "statuses" + description: "Name of account definition to delete." required: false type: "string" - x-exportParamName: "Statuses" - x-optionalDataType: "String" + x-exportParamName: "AccountName" responses: "200": description: "OK" - schema: - type: "array" - items: - type: "object" - properties: {} + "204": + description: "No Content" "401": description: "Unauthorized" "403": description: "Forbidden" - "404": - description: "Not Found" deprecated: false - /pipelineTemplates/resolve: + /credentials/{account}: get: tags: - - "pipeline-templates-controller" - summary: "Resolve a pipeline template." - operationId: "resolveTemplatesUsingGET" + - "credentials-controller" + summary: "Retrieve an account's details" + operationId: "getAccountUsingGET" produces: - "*/*" parameters: - - name: "executionId" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "account" + in: "path" + description: "account" + required: true + type: "string" + x-exportParamName: "Account" + - name: "accountNonExpired" + in: "query" + required: false + type: "boolean" + x-exportParamName: "AccountNonExpired" + x-optionalDataType: "Bool" + - name: "accountNonLocked" + in: "query" + required: false + type: "boolean" + x-exportParamName: "AccountNonLocked" + x-optionalDataType: "Bool" + - name: "allowedAccounts" + in: "query" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "AllowedAccounts" + - name: "authorities[0].authority" in: "query" - description: "executionId" required: false type: "string" - x-exportParamName: "ExecutionId" + x-exportParamName: "Authorities0Authority" x-optionalDataType: "String" - - name: "pipelineConfigId" + - name: "credentialsNonExpired" + in: "query" + required: false + type: "boolean" + x-exportParamName: "CredentialsNonExpired" + x-optionalDataType: "Bool" + - name: "email" in: "query" - description: "pipelineConfigId" required: false type: "string" - x-exportParamName: "PipelineConfigId" + x-exportParamName: "Email" x-optionalDataType: "String" - - name: "source" + - name: "enabled" in: "query" - description: "source" - required: true + required: false + type: "boolean" + x-exportParamName: "Enabled" + x-optionalDataType: "Bool" + - name: "firstName" + in: "query" + required: false type: "string" - x-exportParamName: "Source" + x-exportParamName: "FirstName" + x-optionalDataType: "String" + - name: "lastName" + in: "query" + required: false + type: "string" + x-exportParamName: "LastName" + x-optionalDataType: "String" + - name: "password" + in: "query" + required: false + type: "string" + x-exportParamName: "Password" + x-optionalDataType: "String" + - name: "roles" + in: "query" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "Roles" + - name: "username" + in: "query" + required: false + type: "string" + x-exportParamName: "Username" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: - type: "object" - properties: {} + $ref: "#/definitions/AccountDetails" "401": description: "Unauthorized" "403": @@ -2648,28 +2653,74 @@ paths: "404": description: "Not Found" deprecated: false - /networks: + /executions: get: tags: - - "network-controller" - summary: "Retrieve a list of networks, grouped by cloud provider" - operationId: "allUsingGET_2" + - "executions-controller" + summary: "Retrieves an ad-hoc collection of executions based on a number of\ + \ user-supplied parameters. Either executionIds or pipelineConfigIds must\ + \ be supplied in order to return any results. If both are supplied, an exception\ + \ will be thrown." + operationId: "getLatestExecutionsByConfigIdsUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" + - name: "executionIds" + in: "query" + description: "A comma-separated list of executions to retrieve. Either this\ + \ OR pipelineConfigIds must be supplied, but not both." required: false type: "string" - x-exportParamName: "XRateLimitApp" + allowEmptyValue: false + x-exportParamName: "ExecutionIds" + x-optionalDataType: "String" + - name: "expand" + in: "query" + description: "Expands each execution object in the resulting list. If this\ + \ value is missing, it is defaulted to true." + required: false + type: "boolean" + default: true + allowEmptyValue: false + x-exportParamName: "Expand" + x-optionalDataType: "Bool" + - name: "limit" + in: "query" + description: "The number of executions to return per pipeline configuration.\ + \ Ignored if executionIds parameter is supplied. If this value is missing,\ + \ it is defaulted to 1." + required: false + type: "integer" + format: "int32" + allowEmptyValue: false + x-exportParamName: "Limit" + x-optionalDataType: "Int32" + - name: "pipelineConfigIds" + in: "query" + description: "A comma-separated list of pipeline configuration IDs to retrieve\ + \ recent executions for. Either this OR pipelineConfigIds must be supplied,\ + \ but not both." + required: false + type: "string" + allowEmptyValue: false + x-exportParamName: "PipelineConfigIds" + x-optionalDataType: "String" + - name: "statuses" + in: "query" + description: "A comma-separated list of execution statuses to filter by. Ignored\ + \ if executionIds parameter is supplied. If this value is missing, it is\ + \ defaulted to all statuses." + required: false + type: "string" + allowEmptyValue: false + x-exportParamName: "Statuses" x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: + type: "array" + items: type: "object" properties: {} "401": @@ -2679,28 +2730,30 @@ paths: "404": description: "Not Found" deprecated: false - /v2/canaryConfig/{id}: + /firewalls: get: tags: - - "v-2-canary-config-controller" - summary: "Retrieve a canary configuration by id" - operationId: "getCanaryConfigUsingGET" + - "firewall-controller" + summary: "Retrieve a list of firewalls, grouped by account, cloud provider,\ + \ and region" + operationId: "allUsingGET_1" produces: - "*/*" parameters: - - name: "configurationAccountName" - in: "query" - description: "configurationAccountName" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" required: false type: "string" - x-exportParamName: "ConfigurationAccountName" + x-exportParamName: "XRateLimitApp" x-optionalDataType: "String" - name: "id" - in: "path" + in: "query" description: "id" - required: true + required: false type: "string" x-exportParamName: "Id" + x-optionalDataType: "String" responses: "200": description: "OK" @@ -2713,43 +2766,41 @@ paths: "404": description: "Not Found" deprecated: false - put: + /firewalls/{account}: + get: tags: - - "v-2-canary-config-controller" - summary: "Update a canary configuration" - operationId: "updateCanaryConfigUsingPUT" - consumes: - - "application/json" + - "firewall-controller" + summary: "Retrieve a list of firewalls for a given account, grouped by region" + operationId: "allByAccountUsingGET" produces: - "*/*" parameters: - - in: "body" - name: "config" - description: "config" - required: true - schema: - type: "object" - x-exportParamName: "Config" - - name: "configurationAccountName" - in: "query" - description: "configurationAccountName" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" required: false type: "string" - x-exportParamName: "ConfigurationAccountName" + x-exportParamName: "XRateLimitApp" x-optionalDataType: "String" - - name: "id" + - name: "account" in: "path" - description: "id" + description: "account" required: true type: "string" - x-exportParamName: "Id" + x-exportParamName: "Account" + - name: "provider" + in: "query" + description: "provider" + required: false + type: "string" + default: "aws" + x-exportParamName: "Provider" + x-optionalDataType: "String" responses: "200": description: "OK" schema: type: "object" - "201": - description: "Created" "401": description: "Unauthorized" "403": @@ -2757,43 +2808,63 @@ paths: "404": description: "Not Found" deprecated: false - delete: + /firewalls/{account}/{region}: + get: tags: - - "v-2-canary-config-controller" - summary: "Delete a canary configuration" - operationId: "deleteCanaryConfigUsingDELETE" + - "firewall-controller" + summary: "Retrieve a list of firewalls for a given account and region" + operationId: "allByAccountAndRegionUsingGET" produces: - "*/*" parameters: - - name: "configurationAccountName" - in: "query" - description: "configurationAccountName" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" required: false type: "string" - x-exportParamName: "ConfigurationAccountName" + x-exportParamName: "XRateLimitApp" x-optionalDataType: "String" - - name: "id" + - name: "account" in: "path" - description: "id" + description: "account" required: true type: "string" - x-exportParamName: "Id" - responses: - "200": - description: "OK" - "204": - description: "No Content" + x-exportParamName: "Account" + - name: "provider" + in: "query" + description: "provider" + required: false + type: "string" + default: "aws" + x-exportParamName: "Provider" + x-optionalDataType: "String" + - name: "region" + in: "path" + description: "region" + required: true + type: "string" + x-exportParamName: "Region" + responses: + "200": + description: "OK" + schema: + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": description: "Forbidden" + "404": + description: "Not Found" deprecated: false - /applications/{application}/clusters/{account}/{clusterName}/serverGroups: + /firewalls/{account}/{region}/{name}: get: tags: - - "cluster-controller" - summary: "Retrieve a list of server groups for a cluster" - operationId: "getServerGroupsUsingGET_1" + - "firewall-controller" + summary: "Retrieve a firewall's details" + operationId: "getSecurityGroupUsingGET" produces: - "*/*" parameters: @@ -2810,26 +2881,38 @@ paths: required: true type: "string" x-exportParamName: "Account" - - name: "application" + - name: "name" in: "path" - description: "application" + description: "name" required: true type: "string" - x-exportParamName: "Application" - - name: "clusterName" + x-exportParamName: "Name" + - name: "provider" + in: "query" + description: "provider" + required: false + type: "string" + default: "aws" + x-exportParamName: "Provider" + x-optionalDataType: "String" + - name: "region" in: "path" - description: "clusterName" + description: "region" required: true type: "string" - x-exportParamName: "ClusterName" + x-exportParamName: "Region" + - name: "vpcId" + in: "query" + description: "vpcId" + required: false + type: "string" + x-exportParamName: "VpcId" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "array" - items: - type: "object" - properties: {} + type: "object" "401": description: "Unauthorized" "403": @@ -2837,43 +2920,35 @@ paths: "404": description: "Not Found" deprecated: false - /v2/canaries/{application}/executions: + /functions: get: tags: - - "v-2-canary-controller" - summary: "Retrieve a list of an application's canary results" - operationId: "getCanaryResultsByApplicationUsingGET" + - "amazon-infrastructure-controller" + summary: "Get functions" + operationId: "functionsUsingGET" produces: - "*/*" parameters: - - name: "application" - in: "path" - description: "application" - required: true - type: "string" - x-exportParamName: "Application" - - name: "limit" + - name: "account" in: "query" - description: "limit" - required: true - type: "integer" - format: "int32" - x-exportParamName: "Limit" - - name: "statuses" + description: "account" + required: false + type: "string" + x-exportParamName: "Account" + x-optionalDataType: "String" + - name: "functionName" in: "query" - description: "Comma-separated list of statuses, e.g.: RUNNING, SUCCEEDED,\ - \ TERMINAL" + description: "functionName" required: false type: "string" - allowEmptyValue: false - x-exportParamName: "Statuses" + x-exportParamName: "FunctionName" x-optionalDataType: "String" - - name: "storageAccountName" + - name: "region" in: "query" - description: "storageAccountName" + description: "region" required: false type: "string" - x-exportParamName: "StorageAccountName" + x-exportParamName: "Region" x-optionalDataType: "String" responses: "200": @@ -2890,28 +2965,32 @@ paths: "404": description: "Not Found" deprecated: false - /loadBalancers/{name}: + /images/find: get: tags: - - "load-balancer-controller" - summary: "Retrieve a load balancer for a given cloud provider" - operationId: "getLoadBalancerUsingGET" + - "image-controller" + summary: "Retrieve a list of images, filtered by cloud provider, region, and\ + \ account" + description: "The query parameter `q` filters the list of images by image name" + operationId: "findImagesUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" + - name: "account" + in: "query" + description: "account" required: false type: "string" - x-exportParamName: "XRateLimitApp" + x-exportParamName: "Account" x-optionalDataType: "String" - - name: "name" - in: "path" - description: "name" - required: true - type: "string" - x-exportParamName: "Name" + - name: "count" + in: "query" + description: "count" + required: false + type: "integer" + format: "int32" + x-exportParamName: "Count" + x-optionalDataType: "Int32" - name: "provider" in: "query" description: "provider" @@ -2920,12 +2999,26 @@ paths: default: "aws" x-exportParamName: "Provider" x-optionalDataType: "String" + - name: "q" + in: "query" + description: "q" + required: false + type: "string" + x-exportParamName: "Q" + x-optionalDataType: "String" + - name: "region" + in: "query" + description: "region" + required: false + type: "string" + x-exportParamName: "Region" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: + type: "array" + items: type: "object" properties: {} "401": @@ -2935,30 +3028,42 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/history: + /images/tags: get: tags: - - "application-controller" - summary: "Retrieve a list of an application's configuration revision history" - operationId: "getApplicationHistoryUsingGET" + - "image-controller" + summary: "Find tags" + operationId: "findTagsUsingGET" produces: - "*/*" parameters: - - name: "application" - in: "path" - description: "application" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "account" + in: "query" + description: "account" required: true type: "string" - x-exportParamName: "Application" - - name: "limit" + x-exportParamName: "Account" + - name: "provider" in: "query" - description: "limit" + description: "provider" required: false - type: "integer" - default: 20 - format: "int32" - x-exportParamName: "Limit" - x-optionalDataType: "Int32" + type: "string" + default: "aws" + x-exportParamName: "Provider" + x-optionalDataType: "String" + - name: "repository" + in: "query" + description: "repository" + required: true + type: "string" + x-exportParamName: "Repository" responses: "200": description: "OK" @@ -2974,59 +3079,72 @@ paths: "404": description: "Not Found" deprecated: false - /pipelines/{application}/{pipelineName}: - delete: + /images/{account}/{region}/{imageId}: + get: tags: - - "pipeline-controller" - summary: "Delete a pipeline definition" - operationId: "deletePipelineUsingDELETE" + - "image-controller" + summary: "Get image details" + operationId: "getImageDetailsUsingGET" produces: - "*/*" parameters: - - name: "application" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "account" in: "path" - description: "application" + description: "account" required: true type: "string" - x-exportParamName: "Application" - - name: "pipelineName" + x-exportParamName: "Account" + - name: "imageId" in: "path" - description: "pipelineName" + description: "imageId" required: true type: "string" - x-exportParamName: "PipelineName" + x-exportParamName: "ImageId" + - name: "provider" + in: "query" + description: "provider" + required: false + type: "string" + default: "aws" + x-exportParamName: "Provider" + x-optionalDataType: "String" + - name: "region" + in: "path" + description: "region" + required: true + type: "string" + x-exportParamName: "Region" responses: "200": description: "OK" - "204": - description: "No Content" + schema: + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": description: "Forbidden" + "404": + description: "Not Found" deprecated: false - /networks/{cloudProvider}: + /instanceTypes: get: tags: - - "network-controller" - summary: "Retrieve a list of networks for a given cloud provider" - operationId: "allByCloudProviderUsingGET" - produces: - - "*/*" - parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "cloudProvider" - in: "path" - description: "cloudProvider" - required: true - type: "string" - x-exportParamName: "CloudProvider" + - "amazon-infrastructure-controller" + summary: "Get instance types" + operationId: "instanceTypesUsingGET" + produces: + - "*/*" + parameters: [] responses: "200": description: "OK" @@ -3042,60 +3160,45 @@ paths: "404": description: "Not Found" deprecated: false - /managed/resources/{resourceId}: + /instances/{account}/{region}/{instanceId}: get: tags: - - "managed-controller" - summary: "Get a resource" - operationId: "getResourceUsingGET" + - "instance-controller" + summary: "Retrieve an instance's details" + operationId: "getInstanceDetailsUsingGET" produces: - "*/*" parameters: - - name: "resourceId" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "account" in: "path" - description: "resourceId" + description: "account" required: true type: "string" - x-exportParamName: "ResourceId" - responses: - "200": - description: "OK" - schema: - $ref: "#/definitions/Resource" - "401": - description: "Unauthorized" - "403": - description: "Forbidden" - "404": - description: "Not Found" - deprecated: false - /pipelines/{id}/resume: - put: - tags: - - "pipeline-controller" - summary: "Resume a pipeline execution" - operationId: "resumePipelineUsingPUT" - consumes: - - "application/json" - produces: - - "*/*" - parameters: - - name: "id" + x-exportParamName: "Account" + - name: "instanceId" in: "path" - description: "id" + description: "instanceId" required: true type: "string" - x-exportParamName: "Id" + x-exportParamName: "InstanceId" + - name: "region" + in: "path" + description: "region" + required: true + type: "string" + x-exportParamName: "Region" responses: "200": description: "OK" schema: type: "object" - additionalProperties: - type: "object" - properties: {} - "201": - description: "Created" "401": description: "Unauthorized" "403": @@ -3103,13 +3206,12 @@ paths: "404": description: "Not Found" deprecated: false - /securityGroups: + /instances/{account}/{region}/{instanceId}/console: get: tags: - - "security-group-controller" - summary: "Retrieve a list of security groups, grouped by account, cloud provider,\ - \ and region" - operationId: "allUsingGET_5" + - "instance-controller" + summary: "Retrieve an instance's console output" + operationId: "getConsoleOutputUsingGET" produces: - "*/*" parameters: @@ -3120,13 +3222,32 @@ paths: type: "string" x-exportParamName: "XRateLimitApp" x-optionalDataType: "String" - - name: "id" + - name: "account" + in: "path" + description: "account" + required: true + type: "string" + x-exportParamName: "Account" + - name: "instanceId" + in: "path" + description: "instanceId" + required: true + type: "string" + x-exportParamName: "InstanceId" + - name: "provider" in: "query" - description: "id" + description: "provider" required: false type: "string" - x-exportParamName: "Id" + default: "aws" + x-exportParamName: "Provider" x-optionalDataType: "String" + - name: "region" + in: "path" + description: "region" + required: true + type: "string" + x-exportParamName: "Region" responses: "200": description: "OK" @@ -3139,20 +3260,38 @@ paths: "404": description: "Not Found" deprecated: false - /managed/api-docs: + /loadBalancers: get: tags: - - "managed-controller" - summary: "getApiDocs" - operationId: "getApiDocsUsingGET" + - "load-balancer-controller" + summary: "Retrieve a list of load balancers for a given cloud provider" + operationId: "getAllUsingGET" produces: - "*/*" - parameters: [] + parameters: + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "provider" + in: "query" + description: "provider" + required: false + type: "string" + default: "aws" + x-exportParamName: "Provider" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "object" + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -3160,24 +3299,49 @@ paths: "404": description: "Not Found" deprecated: false - /pipelineTemplates: + /loadBalancers/{account}/{region}/{name}: get: tags: - - "pipeline-templates-controller" - summary: "List pipeline templates." - operationId: "listUsingGET" + - "load-balancer-controller" + summary: "Retrieve a load balancer's details as a single element list for a\ + \ given account, region, cloud provider and load balancer name" + operationId: "getLoadBalancerDetailsUsingGET" produces: - "*/*" parameters: - - name: "scopes" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "account" + in: "path" + description: "account" + required: true + type: "string" + x-exportParamName: "Account" + - name: "name" + in: "path" + description: "name" + required: true + type: "string" + x-exportParamName: "Name" + - name: "provider" in: "query" - description: "scopes" + description: "provider" required: false - type: "array" - items: - type: "string" - collectionFormat: "multi" - x-exportParamName: "Scopes" + type: "string" + default: "aws" + x-exportParamName: "Provider" + x-optionalDataType: "String" + - name: "region" + in: "path" + description: "region" + required: true + type: "string" + x-exportParamName: "Region" responses: "200": description: "OK" @@ -3193,28 +3357,39 @@ paths: "404": description: "Not Found" deprecated: false - post: + /loadBalancers/{name}: + get: tags: - - "pipeline-templates-controller" - summary: "Create a pipeline template." - operationId: "createUsingPOST" - consumes: - - "application/json" + - "load-balancer-controller" + summary: "Retrieve a load balancer for a given cloud provider" + operationId: "getLoadBalancerUsingGET" produces: - "*/*" parameters: - - in: "body" - name: "pipelineTemplate" - description: "pipelineTemplate" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "name" + in: "path" + description: "name" required: true - schema: - type: "object" - x-exportParamName: "PipelineTemplate" + type: "string" + x-exportParamName: "Name" + - name: "provider" + in: "query" + description: "provider" + required: false + type: "string" + default: "aws" + x-exportParamName: "Provider" + x-optionalDataType: "String" responses: - "201": - description: "Created" - "202": - description: "Accepted" + "200": + description: "OK" schema: type: "object" additionalProperties: @@ -3227,14 +3402,12 @@ paths: "404": description: "Not Found" deprecated: false - /managed/application/{application}/environment/{environment}/constraint: - post: + /managed/application/{application}: + get: tags: - "managed-controller" - summary: "Update the status of an environment constraint" - operationId: "updateConstraintStatusUsingPOST" - consumes: - - "application/json" + summary: "Get managed details about an application" + operationId: "getApplicationDetailsUsingGET" produces: - "*/*" parameters: @@ -3244,47 +3417,36 @@ paths: required: true type: "string" x-exportParamName: "Application" - - name: "environment" - in: "path" - description: "environment" - required: true - type: "string" - x-exportParamName: "Environment" - - in: "body" - name: "status" - description: "status" - required: true - schema: - $ref: "#/definitions/ConstraintStatus" - x-exportParamName: "Status" - responses: - "200": - description: "OK" - "201": - description: "Created" - "401": - description: "Unauthorized" - "403": - description: "Forbidden" - "404": - description: "Not Found" - deprecated: false - /auth/roles/sync: - post: - tags: - - "auth-controller" - summary: "Sync user roles" - operationId: "syncUsingPOST" - consumes: - - "application/json" - produces: - - "*/*" - parameters: [] + - name: "entities" + in: "query" + description: "entities" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "Entities" + - name: "includeDetails" + in: "query" + description: "includeDetails" + required: false + type: "boolean" + default: false + x-exportParamName: "IncludeDetails" + x-optionalDataType: "Bool" + - name: "maxArtifactVersions" + in: "query" + description: "maxArtifactVersions" + required: false + type: "integer" + format: "int32" + x-exportParamName: "MaxArtifactVersions" + x-optionalDataType: "Int32" responses: "200": description: "OK" - "201": - description: "Created" + schema: + type: "object" "401": description: "Unauthorized" "403": @@ -3292,109 +3454,26 @@ paths: "404": description: "Not Found" deprecated: false - /credentials/{account}: + /managed/application/{application}/config: get: tags: - - "credentials-controller" - summary: "Retrieve an account's details" - operationId: "getAccountUsingGET" + - "managed-controller" + summary: "Get the delivery config associated with an application" + operationId: "getConfigByUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "account" + - name: "application" in: "path" - description: "account" + description: "application" required: true type: "string" - x-exportParamName: "Account" - - name: "accountNonExpired" - in: "query" - required: false - type: "boolean" - x-exportParamName: "AccountNonExpired" - x-optionalDataType: "Bool" - - name: "accountNonLocked" - in: "query" - required: false - type: "boolean" - x-exportParamName: "AccountNonLocked" - x-optionalDataType: "Bool" - - name: "allowedAccounts" - in: "query" - required: false - type: "array" - items: - type: "string" - collectionFormat: "multi" - x-exportParamName: "AllowedAccounts" - - name: "authorities[0].authority" - in: "query" - required: false - type: "string" - x-exportParamName: "Authorities0Authority" - x-optionalDataType: "String" - - name: "credentialsNonExpired" - in: "query" - required: false - type: "boolean" - x-exportParamName: "CredentialsNonExpired" - x-optionalDataType: "Bool" - - name: "email" - in: "query" - required: false - type: "string" - x-exportParamName: "Email" - x-optionalDataType: "String" - - name: "enabled" - in: "query" - required: false - type: "boolean" - x-exportParamName: "Enabled" - x-optionalDataType: "Bool" - - name: "firstName" - in: "query" - required: false - type: "string" - x-exportParamName: "FirstName" - x-optionalDataType: "String" - - name: "lastName" - in: "query" - required: false - type: "string" - x-exportParamName: "LastName" - x-optionalDataType: "String" - - name: "password" - in: "query" - required: false - type: "string" - x-exportParamName: "Password" - x-optionalDataType: "String" - - name: "roles" - in: "query" - required: false - type: "array" - items: - type: "string" - collectionFormat: "multi" - x-exportParamName: "Roles" - - name: "username" - in: "query" - required: false - type: "string" - x-exportParamName: "Username" - x-optionalDataType: "String" + x-exportParamName: "Application" responses: "200": description: "OK" schema: - $ref: "#/definitions/AccountDetails" + $ref: "#/definitions/DeliveryConfig" "401": description: "Unauthorized" "403": @@ -3402,73 +3481,65 @@ paths: "404": description: "Not Found" deprecated: false - /v2/canaryConfig: - get: + delete: tags: - - "v-2-canary-config-controller" - summary: "Retrieve a list of canary configurations" - operationId: "getCanaryConfigsUsingGET" + - "managed-controller" + summary: "Delete a delivery config manifest for an application" + operationId: "deleteManifestByAppUsingDELETE" produces: - "*/*" parameters: - name: "application" - in: "query" + in: "path" description: "application" - required: false + required: true type: "string" x-exportParamName: "Application" - x-optionalDataType: "String" - - name: "configurationAccountName" - in: "query" - description: "configurationAccountName" - required: false - type: "string" - x-exportParamName: "ConfigurationAccountName" - x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "array" - items: - type: "object" - properties: {} + $ref: "#/definitions/DeliveryConfig" + "204": + description: "No Content" "401": description: "Unauthorized" "403": description: "Forbidden" - "404": - description: "Not Found" deprecated: false + /managed/application/{application}/environment/{environment}/constraint: post: tags: - - "v-2-canary-config-controller" - summary: "Create a canary configuration" - operationId: "createCanaryConfigUsingPOST" + - "managed-controller" + summary: "Update the status of an environment constraint" + operationId: "updateConstraintStatusUsingPOST" consumes: - "application/json" produces: - "*/*" parameters: + - name: "application" + in: "path" + description: "application" + required: true + type: "string" + x-exportParamName: "Application" + - name: "environment" + in: "path" + description: "environment" + required: true + type: "string" + x-exportParamName: "Environment" - in: "body" - name: "config" - description: "config" + name: "status" + description: "status" required: true schema: - type: "object" - x-exportParamName: "Config" - - name: "configurationAccountName" - in: "query" - description: "configurationAccountName" - required: false - type: "string" - x-exportParamName: "ConfigurationAccountName" - x-optionalDataType: "String" + $ref: "#/definitions/ConstraintStatus" + x-exportParamName: "Status" responses: "200": description: "OK" - schema: - type: "object" "201": description: "Created" "401": @@ -3478,48 +3549,40 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/clusters/{account}/{clusterName}: + /managed/application/{application}/environment/{environment}/constraints: get: tags: - - "cluster-controller" - summary: "Retrieve a cluster's details" - operationId: "getClustersUsingGET" + - "managed-controller" + summary: "List up-to {limit} current constraint states for an environment" + operationId: "getConstraintStateUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "account" - in: "path" - description: "account" - required: true - type: "string" - x-exportParamName: "Account" - name: "application" in: "path" description: "application" required: true type: "string" x-exportParamName: "Application" - - name: "clusterName" + - name: "environment" in: "path" - description: "clusterName" + description: "environment" required: true type: "string" - x-exportParamName: "ClusterName" + x-exportParamName: "Environment" + - name: "limit" + in: "query" + description: "limit" + required: false + type: "string" + default: "10" + x-exportParamName: "Limit" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: - type: "object" - properties: {} + $ref: "#/definitions/ConstraintState" "401": description: "Unauthorized" "403": @@ -3527,38 +3590,35 @@ paths: "404": description: "Not Found" deprecated: false - /plugins/deck/{pluginId}/{pluginVersion}/{asset}: - get: + /managed/application/{application}/mark/bad: + post: tags: - - "deck-plugins-controller" - summary: "Retrieve a single plugin asset by version" - operationId: "getPluginAssetUsingGET" + - "managed-controller" + summary: "Veto an artifact version in an environment" + operationId: "markBadUsingPOST" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "asset" - in: "path" - description: "asset" - required: true - type: "string" - x-exportParamName: "Asset" - - name: "pluginId" + - name: "application" in: "path" - description: "pluginId" + description: "application" required: true type: "string" - x-exportParamName: "PluginId" - - name: "pluginVersion" - in: "path" - description: "pluginVersion" + x-exportParamName: "Application" + - in: "body" + name: "veto" + description: "veto" required: true - type: "string" - x-exportParamName: "PluginVersion" + schema: + $ref: "#/definitions/EnvironmentArtifactVeto" + x-exportParamName: "Veto" responses: "200": description: "OK" - schema: - type: "string" + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -3566,44 +3626,35 @@ paths: "404": description: "Not Found" deprecated: false - /functions: - get: + /managed/application/{application}/mark/good: + post: tags: - - "amazon-infrastructure-controller" - summary: "Get functions" - operationId: "functionsUsingGET" + - "managed-controller" + summary: "Delete veto of an artifact version in an environment" + operationId: "markGoodUsingPOST" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "account" - in: "query" - description: "account" - required: false - type: "string" - x-exportParamName: "Account" - x-optionalDataType: "String" - - name: "functionName" - in: "query" - description: "functionName" - required: false - type: "string" - x-exportParamName: "FunctionName" - x-optionalDataType: "String" - - name: "region" - in: "query" - description: "region" - required: false + - name: "application" + in: "path" + description: "application" + required: true type: "string" - x-exportParamName: "Region" - x-optionalDataType: "String" + x-exportParamName: "Application" + - in: "body" + name: "veto" + description: "veto" + required: true + schema: + $ref: "#/definitions/EnvironmentArtifactVeto" + x-exportParamName: "Veto" responses: "200": description: "OK" - schema: - type: "array" - items: - type: "object" - properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -3611,30 +3662,26 @@ paths: "404": description: "Not Found" deprecated: false - /managed/resources/diff: + /managed/application/{application}/pause: post: tags: - "managed-controller" - summary: "Ad-hoc validate and diff a resource" - operationId: "diffResourceUsingPOST" + summary: "Pause management of an entire application" + operationId: "pauseApplicationUsingPOST" consumes: - "application/json" - - "application/x-yaml" produces: - - "application/json" + - "*/*" parameters: - - in: "body" - name: "resource" - description: "resource" + - name: "application" + in: "path" + description: "application" required: true - schema: - $ref: "#/definitions/Resource" - x-exportParamName: "Resource" + type: "string" + x-exportParamName: "Application" responses: "200": description: "OK" - schema: - type: "object" "201": description: "Created" "401": @@ -3644,54 +3691,59 @@ paths: "404": description: "Not Found" deprecated: false - /v2/builds/{buildMaster}/builds/**: - get: + delete: tags: - - "build-controller" - summary: "Get builds for build master" - description: "Deprecated, use the v3 endpoint instead" - operationId: "getBuildsUsingGET" + - "managed-controller" + summary: "Resume management of an entire application" + operationId: "resumeApplicationUsingDELETE" produces: - "*/*" parameters: - - name: "buildMaster" + - name: "application" in: "path" - description: "buildMaster" + description: "application" required: true type: "string" - x-exportParamName: "BuildMaster" + x-exportParamName: "Application" responses: "200": description: "OK" - schema: - type: "array" - items: - type: "object" - properties: {} + "204": + description: "No Content" "401": description: "Unauthorized" "403": description: "Forbidden" - "404": - description: "Not Found" deprecated: false - /v2/canaries/credentials: - get: + /managed/application/{application}/pin: + post: tags: - - "v-2-canary-controller" - summary: "Retrieve a list of configured Kayenta accounts" - operationId: "listCredentialsUsingGET" + - "managed-controller" + summary: "Create a pin for an artifact in an environment" + operationId: "createPinUsingPOST" + consumes: + - "application/json" produces: - "*/*" - parameters: [] + parameters: + - name: "application" + in: "path" + description: "application" + required: true + type: "string" + x-exportParamName: "Application" + - in: "body" + name: "pin" + description: "pin" + required: true + schema: + $ref: "#/definitions/EnvironmentArtifactPin" + x-exportParamName: "Pin" responses: "200": description: "OK" - schema: - type: "array" - items: - type: "object" - properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -3699,43 +3751,54 @@ paths: "404": description: "Not Found" deprecated: false - /v3/builds: - get: + /managed/application/{application}/pin/{targetEnvironment}: + delete: tags: - - "build-controller" - summary: "Get build masters" - operationId: "v3GetBuildMastersUsingGET" + - "managed-controller" + summary: "Unpin one or more artifact(s) in an environment. If the `reference`\ + \ parameter is specified, only the corresponding artifact will be unpinned.\ + \ If it's omitted, all pinned artifacts in the environment will be unpinned." + operationId: "deletePinUsingDELETE" produces: - "*/*" parameters: - - name: "type" + - name: "application" + in: "path" + description: "application" + required: true + type: "string" + x-exportParamName: "Application" + - name: "reference" in: "query" - description: "type" + description: "reference" required: false type: "string" - x-exportParamName: "Type_" + x-exportParamName: "Reference" x-optionalDataType: "String" + - name: "targetEnvironment" + in: "path" + description: "targetEnvironment" + required: true + type: "string" + x-exportParamName: "TargetEnvironment" responses: "200": description: "OK" - schema: - type: "array" - items: - type: "object" - properties: {} + "204": + description: "No Content" "401": description: "Unauthorized" "403": description: "Forbidden" - "404": - description: "Not Found" deprecated: false - /applications/{application}/pipelineConfigs/{pipelineName}: - get: + /managed/application/{application}/veto: + post: tags: - - "application-controller" - summary: "Retrieve a pipeline configuration" - operationId: "getPipelineConfigUsingGET" + - "managed-controller" + summary: "Veto an artifact version in an environment" + operationId: "vetoUsingPOST" + consumes: + - "application/json" produces: - "*/*" parameters: @@ -3745,20 +3808,18 @@ paths: required: true type: "string" x-exportParamName: "Application" - - name: "pipelineName" - in: "path" - description: "pipelineName" + - in: "body" + name: "veto" + description: "veto" required: true - type: "string" - x-exportParamName: "PipelineName" + schema: + $ref: "#/definitions/EnvironmentArtifactVeto" + x-exportParamName: "Veto" responses: "200": description: "OK" - schema: - type: "object" - additionalProperties: - type: "object" - properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -3766,13 +3827,12 @@ paths: "404": description: "Not Found" deprecated: false - post: + /managed/application/{application}/veto/{targetEnvironment}/{reference}/{version}: + delete: tags: - - "application-controller" - summary: "Invoke pipeline config" - operationId: "invokePipelineConfigUsingPOST" - consumes: - - "application/json" + - "managed-controller" + summary: "Remove veto of an artifact version in an environment" + operationId: "deleteVetoUsingDELETE" produces: - "*/*" parameters: @@ -3782,56 +3842,60 @@ paths: required: true type: "string" x-exportParamName: "Application" - - name: "pipelineName" + - name: "reference" in: "path" - description: "pipelineName" + description: "reference" required: true type: "string" - x-exportParamName: "PipelineName" - - in: "body" - name: "trigger" - description: "trigger" - required: false - schema: - type: "object" - x-exportParamName: "Trigger" - - name: "user" - in: "query" - description: "user" - required: false + x-exportParamName: "Reference" + - name: "targetEnvironment" + in: "path" + description: "targetEnvironment" + required: true type: "string" - x-exportParamName: "User" - x-optionalDataType: "String" + x-exportParamName: "TargetEnvironment" + - name: "version" + in: "path" + description: "version" + required: true + type: "string" + x-exportParamName: "Version" responses: "200": description: "OK" - schema: - $ref: "#/definitions/HttpEntity" - "201": - description: "Created" + "204": + description: "No Content" "401": description: "Unauthorized" "403": description: "Forbidden" - "404": - description: "Not Found" - deprecated: true - /plugins/deck/plugin-manifest.json: - get: + deprecated: false + /managed/delivery-configs: + post: tags: - - "deck-plugins-controller" - summary: "Retrieve a plugin manifest" - operationId: "getPluginManifestUsingGET" + - "managed-controller" + summary: "Create or update a delivery config manifest" + operationId: "upsertManifestUsingPOST" + consumes: + - "application/json" + - "application/x-yaml" produces: - - "*/*" - parameters: [] + - "application/json" + parameters: + - in: "body" + name: "manifest" + description: "manifest" + required: true + schema: + $ref: "#/definitions/DeliveryConfig" + x-exportParamName: "Manifest" responses: "200": description: "OK" schema: - type: "array" - items: - $ref: "#/definitions/DeckPluginVersion" + $ref: "#/definitions/DeliveryConfig" + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -3839,29 +3903,32 @@ paths: "404": description: "Not Found" deprecated: false - /projects/{id}: - get: + /managed/delivery-configs/diff: + post: tags: - - "project-controller" - summary: "Get a project" - operationId: "getUsingGET_1" + - "managed-controller" + summary: "Ad-hoc validate and diff a config manifest" + operationId: "diffManifestUsingPOST" + consumes: + - "application/json" + - "application/x-yaml" produces: - - "*/*" + - "application/json" parameters: - - name: "id" - in: "path" - description: "id" + - in: "body" + name: "manifest" + description: "manifest" required: true - type: "string" - x-exportParamName: "Id" + schema: + $ref: "#/definitions/DeliveryConfig" + x-exportParamName: "Manifest" responses: "200": description: "OK" schema: type: "object" - additionalProperties: - type: "object" - properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -3869,36 +3936,21 @@ paths: "404": description: "Not Found" deprecated: false - /pipelineTemplates/{id}/dependents: + /managed/delivery-configs/schema: get: tags: - - "pipeline-templates-controller" - summary: "List all pipelines that implement a pipeline template" - operationId: "listPipelineTemplateDependentsUsingGET" + - "managed-controller" + summary: "Ad-hoc validate and diff a config manifest" + operationId: "schemaUsingGET" produces: - - "*/*" - parameters: - - name: "id" - in: "path" - description: "id" - required: true - type: "string" - x-exportParamName: "Id" - - name: "recursive" - in: "query" - description: "recursive" - required: false - type: "boolean" - x-exportParamName: "Recursive" - x-optionalDataType: "Bool" + - "application/json" + - "application/x-yaml" + parameters: [] responses: "200": description: "OK" schema: - type: "array" - items: - type: "object" - properties: {} + type: "object" "401": description: "Unauthorized" "403": @@ -3906,36 +3958,33 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/clusters: - get: + /managed/delivery-configs/validate: + post: tags: - - "cluster-controller" - summary: "Retrieve a list of cluster names for an application, grouped by account" - operationId: "getClustersUsingGET_2" + - "managed-controller" + summary: "Validate a delivery config manifest" + operationId: "validateManifestUsingPOST" + consumes: + - "application/json" + - "application/x-yaml" produces: - - "*/*" + - "application/json" + - "application/x-yaml" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "application" - in: "path" - description: "application" + - in: "body" + name: "manifest" + description: "manifest" required: true - type: "string" - x-exportParamName: "Application" + schema: + $ref: "#/definitions/DeliveryConfig" + x-exportParamName: "Manifest" responses: "200": description: "OK" schema: type: "object" - additionalProperties: - type: "object" - properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -3943,31 +3992,26 @@ paths: "404": description: "Not Found" deprecated: false - /plugins/installed: + /managed/delivery-configs/{name}: get: tags: - - "plugins-installed-controller" - summary: "Get all installed Spinnaker plugins" - operationId: "getInstalledPluginsUsingGET" + - "managed-controller" + summary: "Get a delivery config manifest" + operationId: "getManifestUsingGET" produces: - "*/*" parameters: - - name: "service" - in: "query" - description: "service" - required: false + - name: "name" + in: "path" + description: "name" + required: true type: "string" - x-exportParamName: "Service" - x-optionalDataType: "String" + x-exportParamName: "Name" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: - type: "array" - items: - $ref: "#/definitions/SpinnakerPluginDescriptor" + $ref: "#/definitions/DeliveryConfig" "401": description: "Unauthorized" "403": @@ -3975,53 +4019,52 @@ paths: "404": description: "Not Found" deprecated: false - /auth/user: - get: + delete: tags: - - "auth-controller" - summary: "Get user" - operationId: "userUsingGET" + - "managed-controller" + summary: "Delete a delivery config manifest" + operationId: "deleteManifestUsingDELETE" produces: - "*/*" - parameters: [] + parameters: + - name: "name" + in: "path" + description: "name" + required: true + type: "string" + x-exportParamName: "Name" responses: "200": description: "OK" schema: - $ref: "#/definitions/User" + $ref: "#/definitions/DeliveryConfig" + "204": + description: "No Content" "401": description: "Unauthorized" "403": description: "Forbidden" - "404": - description: "Not Found" deprecated: false - /bakery/logs/{region}/{statusId}: + /managed/delivery-configs/{name}.yml: get: tags: - - "bake-controller" - summary: "Retrieve the logs for a given bake" - operationId: "lookupLogsUsingGET" + - "managed-controller" + summary: "Get a delivery config manifest" + operationId: "getManifestYamlUsingGET" produces: - - "*/*" + - "application/x-yaml" parameters: - - name: "region" - in: "path" - description: "region" - required: true - type: "string" - x-exportParamName: "Region" - - name: "statusId" + - name: "name" in: "path" - description: "statusId" + description: "name" required: true type: "string" - x-exportParamName: "StatusId" + x-exportParamName: "Name" responses: "200": description: "OK" schema: - type: "object" + $ref: "#/definitions/DeliveryConfig" "401": description: "Unauthorized" "403": @@ -4029,39 +4072,27 @@ paths: "404": description: "Not Found" deprecated: false - /v3/builds/{buildMaster}/build/{number}: + /managed/delivery-configs/{name}/artifacts: get: tags: - - "build-controller" - summary: "Get build for build master" - operationId: "v3GetBuildUsingGET" + - "managed-controller" + summary: "Get the status of each version of each artifact in each environment" + operationId: "getManifestArtifactsUsingGET" produces: - "*/*" parameters: - - name: "buildMaster" - in: "path" - description: "buildMaster" - required: true - type: "string" - x-exportParamName: "BuildMaster" - - name: "job" - in: "query" - description: "job" - required: true - type: "string" - x-exportParamName: "Job" - - name: "number" + - name: "name" in: "path" - description: "number" + description: "name" required: true type: "string" - x-exportParamName: "Number" + x-exportParamName: "Name" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: + type: "array" + items: type: "object" properties: {} "401": @@ -4071,77 +4102,28 @@ paths: "404": description: "Not Found" deprecated: false - /v3/builds/{buildMaster}/job: + /managed/environments/{application}: get: tags: - - "build-controller" - summary: "Get job config" - operationId: "v3GetJobConfigUsingGET" + - "managed-controller" + summary: "Get current environment details" + operationId: "getEnvironmentsUsingGET" produces: - - "*/*" + - "application/json" parameters: - - name: "buildMaster" + - name: "application" in: "path" - description: "buildMaster" - required: true - type: "string" - x-exportParamName: "BuildMaster" - - name: "job" - in: "query" - description: "job" + description: "application" required: true type: "string" - x-exportParamName: "Job" - responses: - "200": - description: "OK" - schema: - type: "object" - additionalProperties: - type: "object" - properties: {} - "401": - description: "Unauthorized" - "403": - description: "Forbidden" - "404": - description: "Not Found" - deprecated: false - /applications: - get: - tags: - - "application-controller" - summary: "Retrieve a list of applications" - operationId: "getAllApplicationsUsingGET" - produces: - - "*/*" - parameters: - - name: "account" - in: "query" - description: "filters results to only include applications deployed in the\ - \ specified account" - required: false - type: "string" - allowEmptyValue: false - x-exportParamName: "Account" - x-optionalDataType: "String" - - name: "owner" - in: "query" - description: "filters results to only include applications owned by the specified\ - \ email" - required: false - type: "string" - allowEmptyValue: false - x-exportParamName: "Owner" - x-optionalDataType: "String" + x-exportParamName: "Application" responses: "200": description: "OK" schema: type: "array" items: - type: "object" - properties: {} + $ref: "#/definitions/Map«string,object»" "401": description: "Unauthorized" "403": @@ -4149,29 +4131,31 @@ paths: "404": description: "Not Found" deprecated: false - /pipelineTemplates/{id}: - get: + /managed/graphql: + post: tags: - - "pipeline-templates-controller" - summary: "Get a pipeline template." - operationId: "getUsingGET" + - "managed-controller" + summary: "Post a graphql request" + operationId: "graphqlUsingPOST" + consumes: + - "application/json" produces: - - "*/*" + - "application/json" parameters: - - name: "id" - in: "path" - description: "id" + - in: "body" + name: "query" + description: "query" required: true - type: "string" - x-exportParamName: "Id" + schema: + $ref: "#/definitions/GraphQLRequest" + x-exportParamName: "Query" responses: "200": description: "OK" schema: type: "object" - additionalProperties: - type: "object" - properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -4179,188 +4163,1507 @@ paths: "404": description: "Not Found" deprecated: false + /managed/notifications/callbacks/{source}: post: tags: - - "pipeline-templates-controller" - summary: "Update a pipeline template." - operationId: "updateUsingPOST" + - "managed-controller" + summary: "processNotificationCallback" + operationId: "processNotificationCallbackUsingPOST" consumes: - - "application/json" + - "application/x-www-form-urlencoded" produces: - - "*/*" + - "application/json" parameters: - - name: "id" - in: "path" - description: "id" - required: true + - name: "body" + in: "formData" + required: false type: "string" - x-exportParamName: "Id" - - in: "body" - name: "pipelineTemplate" - description: "pipelineTemplate" - required: true - schema: - type: "object" - x-exportParamName: "PipelineTemplate" - - name: "skipPlanDependents" - in: "query" - description: "skipPlanDependents" + x-exportParamName: "Body" + x-optionalDataType: "String" + - name: "headers.ETag" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersETag" + x-optionalDataType: "String" + - name: "headers.acceptCharset[0].registered" + in: "formData" required: false type: "boolean" - default: false - x-exportParamName: "SkipPlanDependents" + x-exportParamName: "HeadersAcceptCharset0Registered" x-optionalDataType: "Bool" - responses: - "201": - description: "Created" - "202": - description: "Accepted" - schema: - type: "object" - additionalProperties: - type: "object" - properties: {} - "401": - description: "Unauthorized" - "403": - description: "Forbidden" - "404": - description: "Not Found" - deprecated: false - delete: - tags: - - "pipeline-templates-controller" - summary: "Delete a pipeline template." - operationId: "deleteUsingDELETE" - produces: - - "*/*" - parameters: - - name: "application" - in: "query" - description: "application" + - name: "headers.acceptLanguageAsLocales[0].ISO3Country" + in: "formData" required: false type: "string" - x-exportParamName: "Application" + x-exportParamName: "HeadersAcceptLanguageAsLocales0ISO3Country" x-optionalDataType: "String" - - name: "id" - in: "path" - description: "id" - required: true - type: "string" - x-exportParamName: "Id" - responses: - "202": - description: "Accepted" - schema: - type: "object" - additionalProperties: - type: "object" - properties: {} - "204": - description: "No Content" - "401": - description: "Unauthorized" - "403": - description: "Forbidden" - deprecated: false - /tasks/{id}/details/{taskDetailsId}: - get: - tags: - - "task-controller" - summary: "Get task details" - operationId: "getTaskDetailsUsingGET_1" - produces: - - "*/*" - parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" + - name: "headers.acceptLanguageAsLocales[0].ISO3Language" + in: "formData" required: false type: "string" - x-exportParamName: "XRateLimitApp" + x-exportParamName: "HeadersAcceptLanguageAsLocales0ISO3Language" x-optionalDataType: "String" - - name: "id" - in: "path" - description: "id" - required: true - type: "string" - x-exportParamName: "Id" - - name: "taskDetailsId" - in: "path" - description: "taskDetailsId" - required: true - type: "string" - x-exportParamName: "TaskDetailsId" - responses: - "200": - description: "OK" - schema: - type: "object" - additionalProperties: - type: "object" - properties: {} - "401": - description: "Unauthorized" - "403": - description: "Forbidden" - "404": - description: "Not Found" - deprecated: false - /applications/{application}/clusters/{account}/{clusterName}/serverGroups/{serverGroupName}/scalingActivities: - get: - tags: - - "cluster-controller" - summary: "Retrieve a list of scaling activities for a server group" - operationId: "getScalingActivitiesUsingGET" - produces: - - "*/*" - parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" + - name: "headers.acceptLanguageAsLocales[0].country" + in: "formData" required: false type: "string" - x-exportParamName: "XRateLimitApp" + x-exportParamName: "HeadersAcceptLanguageAsLocales0Country" x-optionalDataType: "String" - - name: "account" - in: "path" - description: "account" - required: true - type: "string" - x-exportParamName: "Account" - - name: "application" - in: "path" - description: "application" - required: true - type: "string" - x-exportParamName: "Application" - - name: "clusterName" - in: "path" - description: "clusterName" - required: true + - name: "headers.acceptLanguageAsLocales[0].displayCountry" + in: "formData" + required: false type: "string" - x-exportParamName: "ClusterName" - - name: "provider" - in: "query" - description: "provider" + x-exportParamName: "HeadersAcceptLanguageAsLocales0DisplayCountry" + x-optionalDataType: "String" + - name: "headers.acceptLanguageAsLocales[0].displayLanguage" + in: "formData" required: false type: "string" - default: "aws" - x-exportParamName: "Provider" + x-exportParamName: "HeadersAcceptLanguageAsLocales0DisplayLanguage" x-optionalDataType: "String" - - name: "region" - in: "query" - description: "region" + - name: "headers.acceptLanguageAsLocales[0].displayName" + in: "formData" required: false type: "string" - x-exportParamName: "Region" + x-exportParamName: "HeadersAcceptLanguageAsLocales0DisplayName" x-optionalDataType: "String" - - name: "serverGroupName" + - name: "headers.acceptLanguageAsLocales[0].displayScript" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersAcceptLanguageAsLocales0DisplayScript" + x-optionalDataType: "String" + - name: "headers.acceptLanguageAsLocales[0].displayVariant" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersAcceptLanguageAsLocales0DisplayVariant" + x-optionalDataType: "String" + - name: "headers.acceptLanguageAsLocales[0].language" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersAcceptLanguageAsLocales0Language" + x-optionalDataType: "String" + - name: "headers.acceptLanguageAsLocales[0].script" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersAcceptLanguageAsLocales0Script" + x-optionalDataType: "String" + - name: "headers.acceptLanguageAsLocales[0].unicodeLocaleAttributes" + in: "formData" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "HeadersAcceptLanguageAsLocales0UnicodeLocaleAttributes" + - name: "headers.acceptLanguageAsLocales[0].unicodeLocaleKeys" + in: "formData" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "HeadersAcceptLanguageAsLocales0UnicodeLocaleKeys" + - name: "headers.acceptLanguageAsLocales[0].variant" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersAcceptLanguageAsLocales0Variant" + x-optionalDataType: "String" + - name: "headers.acceptLanguage[0].range" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersAcceptLanguage0Range" + x-optionalDataType: "String" + - name: "headers.acceptLanguage[0].weight" + in: "formData" + required: false + type: "number" + format: "double" + x-exportParamName: "HeadersAcceptLanguage0Weight" + x-optionalDataType: "Float64" + - name: "headers.accept[0].charset.registered" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersAccept0CharsetRegistered" + x-optionalDataType: "Bool" + - name: "headers.accept[0].concrete" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersAccept0Concrete" + x-optionalDataType: "Bool" + - name: "headers.accept[0].qualityValue" + in: "formData" + required: false + type: "number" + format: "double" + x-exportParamName: "HeadersAccept0QualityValue" + x-optionalDataType: "Float64" + - name: "headers.accept[0].subtype" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersAccept0Subtype" + x-optionalDataType: "String" + - name: "headers.accept[0].type" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersAccept0Type" + x-optionalDataType: "String" + - name: "headers.accept[0].wildcardSubtype" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersAccept0WildcardSubtype" + x-optionalDataType: "Bool" + - name: "headers.accept[0].wildcardType" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersAccept0WildcardType" + x-optionalDataType: "Bool" + - name: "headers.accessControlAllowCredentials" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersAccessControlAllowCredentials" + x-optionalDataType: "Bool" + - name: "headers.accessControlAllowHeaders" + in: "formData" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "HeadersAccessControlAllowHeaders" + - name: "headers.accessControlAllowMethods" + in: "formData" + required: false + type: "array" + items: + type: "string" + enum: + - "GET" + - "HEAD" + - "POST" + - "PUT" + - "PATCH" + - "DELETE" + - "OPTIONS" + - "TRACE" + collectionFormat: "multi" + enum: + - "GET" + - "HEAD" + - "POST" + - "PUT" + - "PATCH" + - "DELETE" + - "OPTIONS" + - "TRACE" + x-exportParamName: "HeadersAccessControlAllowMethods" + - name: "headers.accessControlAllowOrigin" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersAccessControlAllowOrigin" + x-optionalDataType: "String" + - name: "headers.accessControlExposeHeaders" + in: "formData" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "HeadersAccessControlExposeHeaders" + - name: "headers.accessControlMaxAge" + in: "formData" + required: false + type: "integer" + format: "int64" + x-exportParamName: "HeadersAccessControlMaxAge" + x-optionalDataType: "Int64" + - name: "headers.accessControlRequestHeaders" + in: "formData" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "HeadersAccessControlRequestHeaders" + - name: "headers.accessControlRequestMethod" + in: "formData" + required: false + type: "string" + enum: + - "GET" + - "HEAD" + - "POST" + - "PUT" + - "PATCH" + - "DELETE" + - "OPTIONS" + - "TRACE" + x-exportParamName: "HeadersAccessControlRequestMethod" + x-optionalDataType: "String" + - name: "headers.allow" + in: "formData" + required: false + type: "array" + items: + type: "string" + enum: + - "GET" + - "HEAD" + - "POST" + - "PUT" + - "PATCH" + - "DELETE" + - "OPTIONS" + - "TRACE" + collectionFormat: "multi" + enum: + - "GET" + - "HEAD" + - "POST" + - "PUT" + - "PATCH" + - "DELETE" + - "OPTIONS" + - "TRACE" + x-exportParamName: "HeadersAllow" + - name: "headers.cacheControl" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersCacheControl" + x-optionalDataType: "String" + - name: "headers.connection" + in: "formData" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "HeadersConnection" + - name: "headers.contentDisposition.charset.registered" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersContentDispositionCharsetRegistered" + x-optionalDataType: "Bool" + - name: "headers.contentDisposition.creationDate" + in: "formData" + required: false + type: "string" + format: "date-time" + x-exportParamName: "HeadersContentDispositionCreationDate" + x-optionalDataType: "Time" + - name: "headers.contentDisposition.filename" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentDispositionFilename" + x-optionalDataType: "String" + - name: "headers.contentDisposition.modificationDate" + in: "formData" + required: false + type: "string" + format: "date-time" + x-exportParamName: "HeadersContentDispositionModificationDate" + x-optionalDataType: "Time" + - name: "headers.contentDisposition.name" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentDispositionName" + x-optionalDataType: "String" + - name: "headers.contentDisposition.readDate" + in: "formData" + required: false + type: "string" + format: "date-time" + x-exportParamName: "HeadersContentDispositionReadDate" + x-optionalDataType: "Time" + - name: "headers.contentDisposition.size" + in: "formData" + required: false + type: "integer" + format: "int64" + x-exportParamName: "HeadersContentDispositionSize" + x-optionalDataType: "Int64" + - name: "headers.contentDisposition.type" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentDispositionType" + x-optionalDataType: "String" + - name: "headers.contentLanguage.ISO3Country" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentLanguageISO3Country" + x-optionalDataType: "String" + - name: "headers.contentLanguage.ISO3Language" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentLanguageISO3Language" + x-optionalDataType: "String" + - name: "headers.contentLanguage.country" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentLanguageCountry" + x-optionalDataType: "String" + - name: "headers.contentLanguage.displayCountry" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentLanguageDisplayCountry" + x-optionalDataType: "String" + - name: "headers.contentLanguage.displayLanguage" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentLanguageDisplayLanguage" + x-optionalDataType: "String" + - name: "headers.contentLanguage.displayName" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentLanguageDisplayName" + x-optionalDataType: "String" + - name: "headers.contentLanguage.displayScript" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentLanguageDisplayScript" + x-optionalDataType: "String" + - name: "headers.contentLanguage.displayVariant" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentLanguageDisplayVariant" + x-optionalDataType: "String" + - name: "headers.contentLanguage.language" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentLanguageLanguage" + x-optionalDataType: "String" + - name: "headers.contentLanguage.script" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentLanguageScript" + x-optionalDataType: "String" + - name: "headers.contentLanguage.unicodeLocaleAttributes" + in: "formData" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "HeadersContentLanguageUnicodeLocaleAttributes" + - name: "headers.contentLanguage.unicodeLocaleKeys" + in: "formData" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "HeadersContentLanguageUnicodeLocaleKeys" + - name: "headers.contentLanguage.variant" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentLanguageVariant" + x-optionalDataType: "String" + - name: "headers.contentLength" + in: "formData" + required: false + type: "integer" + format: "int64" + x-exportParamName: "HeadersContentLength" + x-optionalDataType: "Int64" + - name: "headers.contentType.charset.registered" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersContentTypeCharsetRegistered" + x-optionalDataType: "Bool" + - name: "headers.contentType.concrete" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersContentTypeConcrete" + x-optionalDataType: "Bool" + - name: "headers.contentType.qualityValue" + in: "formData" + required: false + type: "number" + format: "double" + x-exportParamName: "HeadersContentTypeQualityValue" + x-optionalDataType: "Float64" + - name: "headers.contentType.subtype" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentTypeSubtype" + x-optionalDataType: "String" + - name: "headers.contentType.type" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersContentTypeType" + x-optionalDataType: "String" + - name: "headers.contentType.wildcardSubtype" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersContentTypeWildcardSubtype" + x-optionalDataType: "Bool" + - name: "headers.contentType.wildcardType" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersContentTypeWildcardType" + x-optionalDataType: "Bool" + - name: "headers.date" + in: "formData" + required: false + type: "integer" + format: "int64" + x-exportParamName: "HeadersDate" + x-optionalDataType: "Int64" + - name: "headers.expires" + in: "formData" + required: false + type: "integer" + format: "int64" + x-exportParamName: "HeadersExpires" + x-optionalDataType: "Int64" + - name: "headers.host.address.MCGlobal" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersHostAddressMCGlobal" + x-optionalDataType: "Bool" + - name: "headers.host.address.MCLinkLocal" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersHostAddressMCLinkLocal" + x-optionalDataType: "Bool" + - name: "headers.host.address.MCNodeLocal" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersHostAddressMCNodeLocal" + x-optionalDataType: "Bool" + - name: "headers.host.address.MCOrgLocal" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersHostAddressMCOrgLocal" + x-optionalDataType: "Bool" + - name: "headers.host.address.MCSiteLocal" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersHostAddressMCSiteLocal" + x-optionalDataType: "Bool" + - name: "headers.host.address.address" + in: "formData" + required: false + type: "string" + format: "byte" + x-exportParamName: "HeadersHostAddressAddress" + x-optionalDataType: "String" + - name: "headers.host.address.anyLocalAddress" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersHostAddressAnyLocalAddress" + x-optionalDataType: "Bool" + - name: "headers.host.address.canonicalHostName" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersHostAddressCanonicalHostName" + x-optionalDataType: "String" + - name: "headers.host.address.hostAddress" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersHostAddressHostAddress" + x-optionalDataType: "String" + - name: "headers.host.address.hostName" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersHostAddressHostName" + x-optionalDataType: "String" + - name: "headers.host.address.linkLocalAddress" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersHostAddressLinkLocalAddress" + x-optionalDataType: "Bool" + - name: "headers.host.address.loopbackAddress" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersHostAddressLoopbackAddress" + x-optionalDataType: "Bool" + - name: "headers.host.address.multicastAddress" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersHostAddressMulticastAddress" + x-optionalDataType: "Bool" + - name: "headers.host.address.siteLocalAddress" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersHostAddressSiteLocalAddress" + x-optionalDataType: "Bool" + - name: "headers.host.hostName" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersHostHostName" + x-optionalDataType: "String" + - name: "headers.host.hostString" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersHostHostString" + x-optionalDataType: "String" + - name: "headers.host.port" + in: "formData" + required: false + type: "integer" + format: "int32" + x-exportParamName: "HeadersHostPort" + x-optionalDataType: "Int32" + - name: "headers.host.unresolved" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersHostUnresolved" + x-optionalDataType: "Bool" + - name: "headers.ifMatch" + in: "formData" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "HeadersIfMatch" + - name: "headers.ifModifiedSince" + in: "formData" + required: false + type: "integer" + format: "int64" + x-exportParamName: "HeadersIfModifiedSince" + x-optionalDataType: "Int64" + - name: "headers.ifNoneMatch" + in: "formData" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "HeadersIfNoneMatch" + - name: "headers.ifUnmodifiedSince" + in: "formData" + required: false + type: "integer" + format: "int64" + x-exportParamName: "HeadersIfUnmodifiedSince" + x-optionalDataType: "Int64" + - name: "headers.lastModified" + in: "formData" + required: false + type: "integer" + format: "int64" + x-exportParamName: "HeadersLastModified" + x-optionalDataType: "Int64" + - name: "headers.location.absolute" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersLocationAbsolute" + x-optionalDataType: "Bool" + - name: "headers.location.authority" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersLocationAuthority" + x-optionalDataType: "String" + - name: "headers.location.fragment" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersLocationFragment" + x-optionalDataType: "String" + - name: "headers.location.host" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersLocationHost" + x-optionalDataType: "String" + - name: "headers.location.opaque" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "HeadersLocationOpaque" + x-optionalDataType: "Bool" + - name: "headers.location.path" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersLocationPath" + x-optionalDataType: "String" + - name: "headers.location.port" + in: "formData" + required: false + type: "integer" + format: "int32" + x-exportParamName: "HeadersLocationPort" + x-optionalDataType: "Int32" + - name: "headers.location.query" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersLocationQuery" + x-optionalDataType: "String" + - name: "headers.location.rawAuthority" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersLocationRawAuthority" + x-optionalDataType: "String" + - name: "headers.location.rawFragment" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersLocationRawFragment" + x-optionalDataType: "String" + - name: "headers.location.rawPath" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersLocationRawPath" + x-optionalDataType: "String" + - name: "headers.location.rawQuery" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersLocationRawQuery" + x-optionalDataType: "String" + - name: "headers.location.rawSchemeSpecificPart" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersLocationRawSchemeSpecificPart" + x-optionalDataType: "String" + - name: "headers.location.rawUserInfo" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersLocationRawUserInfo" + x-optionalDataType: "String" + - name: "headers.location.scheme" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersLocationScheme" + x-optionalDataType: "String" + - name: "headers.location.schemeSpecificPart" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersLocationSchemeSpecificPart" + x-optionalDataType: "String" + - name: "headers.location.userInfo" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersLocationUserInfo" + x-optionalDataType: "String" + - name: "headers.origin" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersOrigin" + x-optionalDataType: "String" + - name: "headers.pragma" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersPragma" + x-optionalDataType: "String" + - name: "headers.upgrade" + in: "formData" + required: false + type: "string" + x-exportParamName: "HeadersUpgrade" + x-optionalDataType: "String" + - name: "headers.vary" + in: "formData" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "HeadersVary" + - name: "method" + in: "formData" + required: false + type: "string" + enum: + - "GET" + - "HEAD" + - "POST" + - "PUT" + - "PATCH" + - "DELETE" + - "OPTIONS" + - "TRACE" + x-exportParamName: "Method" + x-optionalDataType: "String" + - name: "source" + in: "path" + description: "source" + required: true + type: "string" + x-exportParamName: "Source" + - name: "type" + in: "formData" + required: false + type: "ref" + x-exportParamName: "Type_" + - name: "url.absolute" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "UrlAbsolute" + x-optionalDataType: "Bool" + - name: "url.authority" + in: "formData" + required: false + type: "string" + x-exportParamName: "UrlAuthority" + x-optionalDataType: "String" + - name: "url.fragment" + in: "formData" + required: false + type: "string" + x-exportParamName: "UrlFragment" + x-optionalDataType: "String" + - name: "url.host" + in: "formData" + required: false + type: "string" + x-exportParamName: "UrlHost" + x-optionalDataType: "String" + - name: "url.opaque" + in: "formData" + required: false + type: "boolean" + x-exportParamName: "UrlOpaque" + x-optionalDataType: "Bool" + - name: "url.path" + in: "formData" + required: false + type: "string" + x-exportParamName: "UrlPath" + x-optionalDataType: "String" + - name: "url.port" + in: "formData" + required: false + type: "integer" + format: "int32" + x-exportParamName: "UrlPort" + x-optionalDataType: "Int32" + - name: "url.query" + in: "formData" + required: false + type: "string" + x-exportParamName: "UrlQuery" + x-optionalDataType: "String" + - name: "url.rawAuthority" + in: "formData" + required: false + type: "string" + x-exportParamName: "UrlRawAuthority" + x-optionalDataType: "String" + - name: "url.rawFragment" + in: "formData" + required: false + type: "string" + x-exportParamName: "UrlRawFragment" + x-optionalDataType: "String" + - name: "url.rawPath" + in: "formData" + required: false + type: "string" + x-exportParamName: "UrlRawPath" + x-optionalDataType: "String" + - name: "url.rawQuery" + in: "formData" + required: false + type: "string" + x-exportParamName: "UrlRawQuery" + x-optionalDataType: "String" + - name: "url.rawSchemeSpecificPart" + in: "formData" + required: false + type: "string" + x-exportParamName: "UrlRawSchemeSpecificPart" + x-optionalDataType: "String" + - name: "url.rawUserInfo" + in: "formData" + required: false + type: "string" + x-exportParamName: "UrlRawUserInfo" + x-optionalDataType: "String" + - name: "url.scheme" + in: "formData" + required: false + type: "string" + x-exportParamName: "UrlScheme" + x-optionalDataType: "String" + - name: "url.schemeSpecificPart" + in: "formData" + required: false + type: "string" + x-exportParamName: "UrlSchemeSpecificPart" + x-optionalDataType: "String" + - name: "url.userInfo" + in: "formData" + required: false + type: "string" + x-exportParamName: "UrlUserInfo" + x-optionalDataType: "String" + responses: + "200": + description: "OK" + schema: + type: "string" + "201": + description: "Created" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /managed/reports/adoption: + get: + tags: + - "managed-controller" + summary: "Get a report of Managed Delivery adoption" + operationId: "getAdoptionReportUsingGET" + produces: + - "text/html" + parameters: + - name: "params" + in: "query" + description: "params" + required: true + items: + type: "object" + additionalProperties: + type: "string" + x-exportParamName: "Params" + responses: + "200": + description: "OK" + schema: + type: "string" + format: "byte" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /managed/reports/onboarding: + get: + tags: + - "managed-controller" + summary: "Get a report of application onboarding" + operationId: "getOnboardingReportUsingGET" + produces: + - "*/*" + parameters: + - name: "Accept" + in: "header" + description: "Accept" + required: true + type: "string" + default: "text/html" + x-exportParamName: "Accept" + - name: "params" + in: "query" + description: "params" + required: true + items: + type: "object" + additionalProperties: + type: "string" + x-exportParamName: "Params" + responses: + "200": + description: "OK" + schema: + type: "string" + format: "byte" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /managed/resources/diff: + post: + tags: + - "managed-controller" + summary: "Ad-hoc validate and diff a resource" + operationId: "diffResourceUsingPOST" + consumes: + - "application/json" + - "application/x-yaml" + produces: + - "application/json" + parameters: + - in: "body" + name: "resource" + description: "resource" + required: true + schema: + $ref: "#/definitions/Resource" + x-exportParamName: "Resource" + responses: + "200": + description: "OK" + schema: + type: "object" + "201": + description: "Created" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /managed/resources/export/artifact/{cloudProvider}/{account}/{clusterName}: + get: + tags: + - "managed-controller" + summary: "Generates an artifact definition based on the artifact used in a running\ + \ cluster" + operationId: "exportResourceUsingGET" + produces: + - "*/*" + parameters: + - name: "account" + in: "path" + description: "account" + required: true + type: "string" + x-exportParamName: "Account" + - name: "cloudProvider" + in: "path" + description: "cloudProvider" + required: true + type: "string" + x-exportParamName: "CloudProvider" + - name: "clusterName" + in: "path" + description: "clusterName" + required: true + type: "string" + x-exportParamName: "ClusterName" + responses: + "200": + description: "OK" + schema: + type: "object" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /managed/resources/export/{cloudProvider}/{account}/{type}/{name}: + get: + tags: + - "managed-controller" + summary: "Generate a keel resource definition for a deployed cloud resource" + operationId: "exportResourceUsingGET_1" + produces: + - "*/*" + parameters: + - name: "account" + in: "path" + description: "account" + required: true + type: "string" + x-exportParamName: "Account" + - name: "cloudProvider" + in: "path" + description: "cloudProvider" + required: true + type: "string" + x-exportParamName: "CloudProvider" + - name: "name" + in: "path" + description: "name" + required: true + type: "string" + x-exportParamName: "Name" + - name: "serviceAccount" + in: "query" + description: "serviceAccount" + required: true + type: "string" + x-exportParamName: "ServiceAccount" + - name: "type" + in: "path" + description: "type" + required: true + type: "string" + x-exportParamName: "Type_" + responses: + "200": + description: "OK" + schema: + $ref: "#/definitions/Resource" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /managed/resources/{resourceId}: + get: + tags: + - "managed-controller" + summary: "Get a resource" + operationId: "getResourceUsingGET" + produces: + - "*/*" + parameters: + - name: "resourceId" + in: "path" + description: "resourceId" + required: true + type: "string" + x-exportParamName: "ResourceId" + responses: + "200": + description: "OK" + schema: + $ref: "#/definitions/Resource" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /managed/resources/{resourceId}.yml: + get: + tags: + - "managed-controller" + summary: "Get a resource" + operationId: "getResourceYamlUsingGET" + produces: + - "application/x-yaml" + parameters: + - name: "resourceId" + in: "path" + description: "resourceId" + required: true + type: "string" + x-exportParamName: "ResourceId" + responses: + "200": + description: "OK" + schema: + $ref: "#/definitions/Resource" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /managed/resources/{resourceId}/pause: + post: + tags: + - "managed-controller" + summary: "Pause management of a resource" + operationId: "pauseResourceUsingPOST" + consumes: + - "application/json" + produces: + - "*/*" + parameters: + - name: "resourceId" + in: "path" + description: "resourceId" + required: true + type: "string" + x-exportParamName: "ResourceId" + responses: + "200": + description: "OK" + "201": + description: "Created" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + delete: + tags: + - "managed-controller" + summary: "Resume management of a resource" + operationId: "resumeResourceUsingDELETE" + produces: + - "*/*" + parameters: + - name: "resourceId" + in: "path" + description: "resourceId" + required: true + type: "string" + x-exportParamName: "ResourceId" + responses: + "200": + description: "OK" + "204": + description: "No Content" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + deprecated: false + /managed/resources/{resourceId}/status: + get: + tags: + - "managed-controller" + summary: "Get status of a resource" + operationId: "getResourceStatusUsingGET" + produces: + - "*/*" + parameters: + - name: "resourceId" in: "path" - description: "serverGroupName" + description: "resourceId" required: true type: "string" - x-exportParamName: "ServerGroupName" + x-exportParamName: "ResourceId" + responses: + "200": + description: "OK" + schema: + type: "object" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /managed/{application}/environment/{environment}/verifications: + post: + tags: + - "managed-controller" + summary: "Override the status of a verification" + operationId: "overrideVerificationUsingPOST" + consumes: + - "application/json" + produces: + - "*/*" + parameters: + - name: "application" + in: "path" + description: "application" + required: true + type: "string" + x-exportParamName: "Application" + - name: "environment" + in: "path" + description: "environment" + required: true + type: "string" + x-exportParamName: "Environment" + - in: "body" + name: "payload" + description: "payload" + required: true + schema: + $ref: "#/definitions/OverrideVerificationRequest" + x-exportParamName: "Payload" + responses: + "200": + description: "OK" + "201": + description: "Created" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /managed/{application}/environment/{environment}/verifications/retry: + post: + tags: + - "managed-controller" + summary: "Retry a verification" + operationId: "retryVerificationUsingPOST" + consumes: + - "application/json" + produces: + - "*/*" + parameters: + - name: "application" + in: "path" + description: "application" + required: true + type: "string" + x-exportParamName: "Application" + - name: "environment" + in: "path" + description: "environment" + required: true + type: "string" + x-exportParamName: "Environment" + - in: "body" + name: "payload" + description: "payload" + required: true + schema: + $ref: "#/definitions/RetryVerificationRequest" + x-exportParamName: "Payload" + - name: "verificationId" + in: "path" + description: "verificationId" + required: true + type: "string" + x-exportParamName: "VerificationId" + responses: + "200": + description: "OK" + "201": + description: "Created" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /networks: + get: + tags: + - "network-controller" + summary: "Retrieve a list of networks, grouped by cloud provider" + operationId: "allUsingGET_2" + produces: + - "*/*" + parameters: + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + responses: + "200": + description: "OK" + schema: + type: "object" + additionalProperties: + type: "object" + properties: {} + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /networks/{cloudProvider}: + get: + tags: + - "network-controller" + summary: "Retrieve a list of networks for a given cloud provider" + operationId: "allByCloudProviderUsingGET" + produces: + - "*/*" + parameters: + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "cloudProvider" + in: "path" + description: "cloudProvider" + required: true + type: "string" + x-exportParamName: "CloudProvider" + responses: + "200": + description: "OK" + schema: + type: "array" + items: + type: "object" + properties: {} + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /pipelineConfigs: + get: + tags: + - "pipeline-config-controller" + summary: "Get all pipeline configs." + operationId: "getAllPipelineConfigsUsingGET" + produces: + - "*/*" + parameters: [] + responses: + "200": + description: "OK" + schema: + type: "array" + items: + type: "object" + properties: {} + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /pipelineConfigs/{pipelineConfigId}/convertToTemplate: + get: + tags: + - "pipeline-config-controller" + summary: "Convert a pipeline config to a pipeline template." + operationId: "convertPipelineConfigToPipelineTemplateUsingGET" + produces: + - "*/*" + parameters: + - name: "pipelineConfigId" + in: "path" + description: "pipelineConfigId" + required: true + type: "string" + x-exportParamName: "PipelineConfigId" + responses: + "200": + description: "OK" + schema: + type: "string" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /pipelineConfigs/{pipelineConfigId}/history: + get: + tags: + - "pipeline-config-controller" + summary: "Get pipeline config history." + operationId: "getPipelineConfigHistoryUsingGET" + produces: + - "*/*" + parameters: + - name: "limit" + in: "query" + description: "limit" + required: false + type: "integer" + default: 20 + format: "int32" + x-exportParamName: "Limit" + x-optionalDataType: "Int32" + - name: "pipelineConfigId" + in: "path" + description: "pipelineConfigId" + required: true + type: "string" + x-exportParamName: "PipelineConfigId" + responses: + "200": + description: "OK" + schema: + type: "array" + items: + type: "object" + properties: {} + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /pipelineTemplates: + get: + tags: + - "pipeline-templates-controller" + summary: "List pipeline templates." + operationId: "listUsingGET" + produces: + - "*/*" + parameters: + - name: "scopes" + in: "query" + description: "scopes" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "Scopes" responses: "200": description: "OK" @@ -4376,26 +5679,33 @@ paths: "404": description: "Not Found" deprecated: false - /managed/resources/{resourceId}/status: - get: + post: tags: - - "managed-controller" - summary: "Get status of a resource" - operationId: "getResourceStatusUsingGET" + - "pipeline-templates-controller" + summary: "Create a pipeline template." + operationId: "createUsingPOST" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "resourceId" - in: "path" - description: "resourceId" + - in: "body" + name: "pipelineTemplate" + description: "pipelineTemplate" required: true - type: "string" - x-exportParamName: "ResourceId" + schema: + type: "object" + x-exportParamName: "PipelineTemplate" responses: - "200": - description: "OK" + "201": + description: "Created" + "202": + description: "Accepted" schema: type: "object" + additionalProperties: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -4403,29 +5713,41 @@ paths: "404": description: "Not Found" deprecated: false - /v2/builds: + /pipelineTemplates/resolve: get: tags: - - "build-controller" - summary: "Get build masters" - description: "Deprecated, use the v3 endpoint instead" - operationId: "getBuildMastersUsingGET" + - "pipeline-templates-controller" + summary: "Resolve a pipeline template." + operationId: "resolveTemplatesUsingGET" produces: - "*/*" parameters: - - name: "type" + - name: "executionId" in: "query" - description: "type" + description: "executionId" required: false type: "string" - x-exportParamName: "Type_" + x-exportParamName: "ExecutionId" + x-optionalDataType: "String" + - name: "pipelineConfigId" + in: "query" + description: "pipelineConfigId" + required: false + type: "string" + x-exportParamName: "PipelineConfigId" x-optionalDataType: "String" + - name: "source" + in: "query" + description: "source" + required: true + type: "string" + x-exportParamName: "Source" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} "401": @@ -4435,24 +5757,21 @@ paths: "404": description: "Not Found" deprecated: false - /v2/pipelineTemplates/plan: - post: + /pipelineTemplates/{id}: + get: tags: - - "v-2-pipeline-templates-controller" - summary: "(ALPHA) Plan a pipeline template configuration." - operationId: "planUsingPOST" - consumes: - - "application/json" + - "pipeline-templates-controller" + summary: "Get a pipeline template." + operationId: "getUsingGET" produces: - "*/*" parameters: - - in: "body" - name: "pipeline" - description: "pipeline" + - name: "id" + in: "path" + description: "id" required: true - schema: - type: "object" - x-exportParamName: "Pipeline" + type: "string" + x-exportParamName: "Id" responses: "200": description: "OK" @@ -4461,8 +5780,6 @@ paths: additionalProperties: type: "object" properties: {} - "201": - description: "Created" "401": description: "Unauthorized" "403": @@ -4470,12 +5787,11 @@ paths: "404": description: "Not Found" deprecated: false - /tasks/{id}/cancel: - put: + post: tags: - - "task-controller" - summary: "Cancel task" - operationId: "cancelTaskUsingPUT_1" + - "pipeline-templates-controller" + summary: "Update a pipeline template." + operationId: "updateUsingPOST" consumes: - "application/json" produces: @@ -4487,16 +5803,31 @@ paths: required: true type: "string" x-exportParamName: "Id" + - in: "body" + name: "pipelineTemplate" + description: "pipelineTemplate" + required: true + schema: + type: "object" + x-exportParamName: "PipelineTemplate" + - name: "skipPlanDependents" + in: "query" + description: "skipPlanDependents" + required: false + type: "boolean" + default: false + x-exportParamName: "SkipPlanDependents" + x-optionalDataType: "Bool" responses: - "200": - description: "OK" + "201": + description: "Created" + "202": + description: "Accepted" schema: type: "object" additionalProperties: type: "object" properties: {} - "201": - description: "Created" "401": description: "Unauthorized" "403": @@ -4504,53 +5835,140 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/serverGroups/{account}/{serverGroupName}/events: - get: + delete: tags: - - "ecs-server-group-events-controller" - summary: "Retrieves a list of events for a server group" - operationId: "getEventsUsingGET" + - "pipeline-templates-controller" + summary: "Delete a pipeline template." + operationId: "deleteUsingDELETE" produces: - "*/*" parameters: - - name: "account" + - name: "application" + in: "query" + description: "application" + required: false + type: "string" + x-exportParamName: "Application" + x-optionalDataType: "String" + - name: "id" in: "path" - description: "account" + description: "id" required: true type: "string" - x-exportParamName: "Account" - - name: "application" + x-exportParamName: "Id" + responses: + "202": + description: "Accepted" + schema: + type: "object" + additionalProperties: + type: "object" + properties: {} + "204": + description: "No Content" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + deprecated: false + /pipelineTemplates/{id}/dependents: + get: + tags: + - "pipeline-templates-controller" + summary: "List all pipelines that implement a pipeline template" + operationId: "listPipelineTemplateDependentsUsingGET" + produces: + - "*/*" + parameters: + - name: "id" in: "path" - description: "application" + description: "id" required: true type: "string" - x-exportParamName: "Application" - - name: "provider" + x-exportParamName: "Id" + - name: "recursive" in: "query" - description: "provider" + description: "recursive" + required: false + type: "boolean" + x-exportParamName: "Recursive" + x-optionalDataType: "Bool" + responses: + "200": + description: "OK" + schema: + type: "array" + items: + type: "object" + properties: {} + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /pipelines: + post: + tags: + - "pipeline-controller" + summary: "Save a pipeline definition" + operationId: "savePipelineUsingPOST" + consumes: + - "application/json" + produces: + - "*/*" + parameters: + - in: "body" + name: "pipeline" + description: "pipeline" required: true - type: "string" - x-exportParamName: "Provider" - - name: "region" + schema: + type: "object" + x-exportParamName: "Pipeline" + - name: "staleCheck" in: "query" - description: "region" - required: true - type: "string" - x-exportParamName: "Region" - - name: "serverGroupName" - in: "path" - description: "serverGroupName" + description: "staleCheck" + required: false + type: "boolean" + default: false + x-exportParamName: "StaleCheck" + x-optionalDataType: "Bool" + responses: + "200": + description: "OK" + "201": + description: "Created" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /pipelines/move: + post: + tags: + - "pipeline-controller" + summary: "Rename a pipeline definition" + operationId: "renamePipelineUsingPOST" + consumes: + - "application/json" + produces: + - "*/*" + parameters: + - in: "body" + name: "renameCommand" + description: "renameCommand" required: true - type: "string" - x-exportParamName: "ServerGroupName" + schema: + type: "object" + x-exportParamName: "RenameCommand" responses: "200": description: "OK" - schema: - type: "array" - items: - type: "object" - properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -4558,21 +5976,31 @@ paths: "404": description: "Not Found" deprecated: false - /bakery/options: - get: + /pipelines/start: + post: tags: - - "bake-controller" - summary: "Retrieve a list of available bakery base images, grouped by cloud\ - \ provider" - operationId: "bakeOptionsUsingGET_1" + - "pipeline-controller" + summary: "Initiate a pipeline execution" + operationId: "startUsingPOST" + consumes: + - "application/json" produces: - "*/*" - parameters: [] + parameters: + - in: "body" + name: "map" + description: "map" + required: true + schema: + type: "object" + x-exportParamName: "Map_" responses: "200": description: "OK" schema: - type: "object" + $ref: "#/definitions/ResponseEntity" + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -4580,42 +6008,43 @@ paths: "404": description: "Not Found" deprecated: false - /pipelines/{id}/{stageId}/evaluateExpression: - get: + /pipelines/v2/{application}/{pipelineNameOrId}: + post: tags: - "pipeline-controller" - summary: "Evaluate a pipeline expression at a specific stage using the provided\ - \ execution as context" - operationId: "evaluateExpressionForExecutionAtStageUsingGET" + summary: "Trigger a pipeline execution" + operationId: "invokePipelineConfigViaEchoUsingPOST" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "expression" - in: "query" - description: "expression" - required: true - type: "string" - x-exportParamName: "Expression" - - name: "id" + - name: "application" in: "path" - description: "id" + description: "application" required: true type: "string" - x-exportParamName: "Id" - - name: "stageId" + x-exportParamName: "Application" + - name: "pipelineNameOrId" in: "path" - description: "stageId" + description: "pipelineNameOrId" required: true type: "string" - x-exportParamName: "StageId" + x-exportParamName: "PipelineNameOrId" + - in: "body" + name: "trigger" + description: "trigger" + required: false + schema: + type: "object" + x-exportParamName: "Trigger" responses: "200": description: "OK" schema: type: "object" - additionalProperties: - type: "object" - properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -4623,54 +6052,43 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/clusters/{account}/{clusterName}/{type}/loadBalancers: - get: + /pipelines/{application}/{pipelineNameOrId}: + post: tags: - - "cluster-controller" - summary: "Retrieve a cluster's loadbalancers" - operationId: "getClusterLoadBalancersUsingGET" + - "pipeline-controller" + summary: "Trigger a pipeline execution" + operationId: "invokePipelineConfigUsingPOST_1" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "account" - in: "path" - description: "account" - required: true - type: "string" - x-exportParamName: "Account" - - name: "applicationName" - in: "path" - description: "applicationName" - required: true - type: "string" - x-exportParamName: "ApplicationName" - - name: "clusterName" + - name: "application" in: "path" - description: "clusterName" + description: "application" required: true type: "string" - x-exportParamName: "ClusterName" - - name: "type" + x-exportParamName: "Application" + - name: "pipelineNameOrId" in: "path" - description: "type" + description: "pipelineNameOrId" required: true type: "string" - x-exportParamName: "Type_" + x-exportParamName: "PipelineNameOrId" + - in: "body" + name: "trigger" + description: "trigger" + required: false + schema: + type: "object" + x-exportParamName: "Trigger" responses: - "200": - description: "OK" + "201": + description: "Created" + "202": + description: "Accepted" schema: - type: "array" - items: - type: "object" - properties: {} + type: "object" "401": description: "Unauthorized" "403": @@ -4678,65 +6096,57 @@ paths: "404": description: "Not Found" deprecated: false - /v2/builds/{buildMaster}/build/{number}/**: - get: + /pipelines/{application}/{pipelineName}: + delete: tags: - - "build-controller" - summary: "Get build for build master" - description: "Deprecated, use the v3 endpoint instead" - operationId: "getBuildUsingGET" + - "pipeline-controller" + summary: "Delete a pipeline definition" + operationId: "deletePipelineUsingDELETE" produces: - "*/*" parameters: - - name: "buildMaster" + - name: "application" in: "path" - description: "buildMaster" + description: "application" required: true type: "string" - x-exportParamName: "BuildMaster" - - name: "number" + x-exportParamName: "Application" + - name: "pipelineName" in: "path" - description: "number" + description: "pipelineName" required: true type: "string" - x-exportParamName: "Number" + x-exportParamName: "PipelineName" responses: "200": description: "OK" - schema: - type: "object" - additionalProperties: - type: "object" - properties: {} + "204": + description: "No Content" "401": description: "Unauthorized" "403": description: "Forbidden" - "404": - description: "Not Found" deprecated: false - /managed/resources/{resourceId}/pause: - post: + /pipelines/{id}: + get: tags: - - "managed-controller" - summary: "Pause management of a resource" - operationId: "pauseResourceUsingPOST" - consumes: - - "application/json" + - "pipeline-controller" + summary: "Retrieve a pipeline execution" + operationId: "getPipelineUsingGET" produces: - "*/*" parameters: - - name: "resourceId" + - name: "id" in: "path" - description: "resourceId" + description: "id" required: true type: "string" - x-exportParamName: "ResourceId" + x-exportParamName: "Id" responses: "200": description: "OK" - "201": - description: "Created" + schema: + type: "object" "401": description: "Unauthorized" "403": @@ -4744,95 +6154,112 @@ paths: "404": description: "Not Found" deprecated: false - delete: + put: tags: - - "managed-controller" - summary: "Resume management of a resource" - operationId: "resumeResourceUsingDELETE" + - "pipeline-controller" + summary: "Update a pipeline definition" + operationId: "updatePipelineUsingPUT" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "resourceId" + - name: "id" in: "path" - description: "resourceId" + description: "id" required: true type: "string" - x-exportParamName: "ResourceId" + x-exportParamName: "Id" + - in: "body" + name: "pipeline" + description: "pipeline" + required: true + schema: + type: "object" + x-exportParamName: "Pipeline" responses: "200": description: "OK" - "204": - description: "No Content" + schema: + type: "object" + additionalProperties: + type: "object" + properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": description: "Forbidden" + "404": + description: "Not Found" deprecated: false - /subnets/{cloudProvider}: - get: + delete: tags: - - "subnet-controller" - summary: "Retrieve a list of subnets for a given cloud provider" - operationId: "allByCloudProviderUsingGET_1" + - "pipeline-controller" + summary: "Delete a pipeline execution" + operationId: "deletePipelineUsingDELETE_1" produces: - "*/*" parameters: - - name: "cloudProvider" + - name: "id" in: "path" - description: "cloudProvider" + description: "id" required: true type: "string" - x-exportParamName: "CloudProvider" + x-exportParamName: "Id" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} + "204": + description: "No Content" "401": description: "Unauthorized" "403": description: "Forbidden" - "404": - description: "Not Found" deprecated: false - /firewalls/{account}: - get: + /pipelines/{id}/cancel: + put: tags: - - "firewall-controller" - summary: "Retrieve a list of firewalls for a given account, grouped by region" - operationId: "allByAccountUsingGET" + - "pipeline-controller" + summary: "Cancel a pipeline execution" + operationId: "cancelPipelineUsingPUT_1" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" + - name: "force" + in: "query" + description: "force" required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "account" + type: "boolean" + default: false + x-exportParamName: "Force" + x-optionalDataType: "Bool" + - name: "id" in: "path" - description: "account" + description: "id" required: true type: "string" - x-exportParamName: "Account" - - name: "provider" + x-exportParamName: "Id" + - name: "reason" in: "query" - description: "provider" + description: "reason" required: false type: "string" - default: "aws" - x-exportParamName: "Provider" + x-exportParamName: "Reason" x-optionalDataType: "String" responses: "200": description: "OK" - schema: - type: "object" + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -4840,50 +6267,33 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/tasks: + /pipelines/{id}/evaluateExpression: get: tags: - - "application-controller" - summary: "Retrieve a list of an application's tasks" - operationId: "getTasksUsingGET" + - "pipeline-controller" + summary: "Evaluate a pipeline expression using the provided execution as context" + operationId: "evaluateExpressionForExecutionUsingGET" produces: - "*/*" parameters: - - name: "application" - in: "path" - description: "application" + - name: "expression" + in: "query" + description: "expression" required: true type: "string" - x-exportParamName: "Application" - - name: "limit" - in: "query" - description: "limit" - required: false - type: "integer" - format: "int32" - x-exportParamName: "Limit" - x-optionalDataType: "Int32" - - name: "page" - in: "query" - description: "page" - required: false - type: "integer" - format: "int32" - x-exportParamName: "Page" - x-optionalDataType: "Int32" - - name: "statuses" - in: "query" - description: "statuses" - required: false + x-exportParamName: "Expression" + - name: "id" + in: "path" + description: "id" + required: true type: "string" - x-exportParamName: "Statuses" - x-optionalDataType: "String" + x-exportParamName: "Id" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} "401": @@ -4895,27 +6305,27 @@ paths: deprecated: false post: tags: - - "application-controller" - summary: "Create task" - operationId: "taskUsingPOST" + - "pipeline-controller" + summary: "Evaluate a pipeline expression using the provided execution as context" + operationId: "evaluateExpressionForExecutionViaPOSTUsingPOST" consumes: - - "application/json" + - "text/plain" produces: - "*/*" parameters: - - name: "application" + - name: "id" in: "path" - description: "application" + description: "id" required: true type: "string" - x-exportParamName: "Application" + x-exportParamName: "Id" - in: "body" - name: "map" - description: "map" + name: "pipelineExpression" + description: "pipelineExpression" required: true schema: - type: "object" - x-exportParamName: "Map_" + type: "string" + x-exportParamName: "PipelineExpression" responses: "200": description: "OK" @@ -4932,45 +6342,65 @@ paths: description: "Forbidden" "404": description: "Not Found" - deprecated: true - /applications/{application}/snapshots/{account}/history: - get: + deprecated: false + /pipelines/{id}/evaluateVariables: + post: tags: - - "snapshot-controller" - summary: "Get snapshot history" - operationId: "getSnapshotHistoryUsingGET" + - "pipeline-controller" + summary: "Evaluate variables same as Evaluate Variables stage using the provided\ + \ execution as context" + operationId: "evaluateVariablesUsingPOST" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "account" - in: "path" - description: "account" + - name: "executionId" + in: "query" + description: "Execution id to run against" required: true type: "string" - x-exportParamName: "Account" - - name: "application" - in: "path" - description: "application" + allowEmptyValue: false + x-exportParamName: "ExecutionId" + - in: "body" + name: "expressions" + description: "List of variables/expressions to evaluate" required: true + schema: + type: "array" + items: + $ref: "#/definitions/Map«string,string»" + x-examples: + application/json: "[{\"key\":\"a\",\"value\":\"1\"},{\"key\":\"b\",\"value\"\ + :\"2\"},{\"key\":\"sum\",\"value\":\"${a+b}\"}]" + x-exportParamName: "Expressions" + - name: "requisiteStageRefIds" + in: "query" + description: "Comma separated list of requisite stage IDs for the evaluation\ + \ stage" + required: false type: "string" - x-exportParamName: "Application" - - name: "limit" + allowEmptyValue: false + x-exportParamName: "RequisiteStageRefIds" + x-optionalDataType: "String" + - name: "spelVersion" in: "query" - description: "limit" + description: "Version of SpEL evaluation logic to use (v3 or v4)" required: false - type: "integer" - default: 20 - format: "int32" - x-exportParamName: "Limit" - x-optionalDataType: "Int32" + type: "string" + allowEmptyValue: false + x-exportParamName: "SpelVersion" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -4978,12 +6408,12 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/pipelines/{id}/cancel: + /pipelines/{id}/pause: put: tags: - - "application-controller" - summary: "Cancel pipeline" - operationId: "cancelPipelineUsingPUT" + - "pipeline-controller" + summary: "Pause a pipeline execution" + operationId: "pausePipelineUsingPUT" consumes: - "application/json" produces: @@ -4995,21 +6425,9 @@ paths: required: true type: "string" x-exportParamName: "Id" - - name: "reason" - in: "query" - description: "reason" - required: false - type: "string" - x-exportParamName: "Reason" - x-optionalDataType: "String" responses: "200": description: "OK" - schema: - type: "object" - additionalProperties: - type: "object" - properties: {} "201": description: "Created" "401": @@ -5018,23 +6436,24 @@ paths: description: "Forbidden" "404": description: "Not Found" - deprecated: true - /v2/builds/{buildMaster}/jobs/**: - get: + deprecated: false + /pipelines/{id}/resume: + put: tags: - - "build-controller" - summary: "Get job config" - description: "Deprecated, use the v3 endpoint instead" - operationId: "getJobConfigUsingGET" + - "pipeline-controller" + summary: "Resume a pipeline execution" + operationId: "resumePipelineUsingPUT" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "buildMaster" + - name: "id" in: "path" - description: "buildMaster" + description: "id" required: true type: "string" - x-exportParamName: "BuildMaster" + x-exportParamName: "Id" responses: "200": description: "OK" @@ -5043,6 +6462,8 @@ paths: additionalProperties: type: "object" properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -5050,45 +6471,50 @@ paths: "404": description: "Not Found" deprecated: false - /managed/resources/export/artifact/{cloudProvider}/{account}/{clusterName}: - get: + /pipelines/{id}/stages/{stageId}: + patch: tags: - - "managed-controller" - summary: "Generates an artifact definition based on the artifact used in a running\ - \ cluster" - operationId: "exportResourceUsingGET" + - "pipeline-controller" + summary: "Update a stage execution" + operationId: "updateStageUsingPATCH" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "account" - in: "path" - description: "account" + - in: "body" + name: "context" + description: "context" required: true - type: "string" - x-exportParamName: "Account" - - name: "cloudProvider" + schema: + type: "object" + x-exportParamName: "Context" + - name: "id" in: "path" - description: "cloudProvider" + description: "id" required: true type: "string" - x-exportParamName: "CloudProvider" - - name: "clusterName" + x-exportParamName: "Id" + - name: "stageId" in: "path" - description: "clusterName" + description: "stageId" required: true type: "string" - x-exportParamName: "ClusterName" + x-exportParamName: "StageId" responses: "200": description: "OK" schema: type: "object" + additionalProperties: + type: "object" + properties: {} + "204": + description: "No Content" "401": description: "Unauthorized" "403": description: "Forbidden" - "404": - description: "Not Found" deprecated: false /pipelines/{id}/stages/{stageId}/restart: put: @@ -5137,74 +6563,40 @@ paths: "404": description: "Not Found" deprecated: false - /search: + /pipelines/{id}/{stageId}/evaluateExpression: get: tags: - - "search-controller" - summary: "Search infrastructure" - operationId: "searchUsingGET" + - "pipeline-controller" + summary: "Evaluate a pipeline expression at a specific stage using the provided\ + \ execution as context" + operationId: "evaluateExpressionForExecutionAtStageUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "allowShortQuery" - in: "query" - description: "allowShortQuery" - required: false - type: "boolean" - default: false - x-exportParamName: "AllowShortQuery" - x-optionalDataType: "Bool" - - name: "page" - in: "query" - description: "page" - required: false - type: "integer" - default: 1 - format: "int32" - x-exportParamName: "Page" - x-optionalDataType: "Int32" - - name: "pageSize" - in: "query" - description: "pageSize" - required: false - type: "integer" - default: 10000 - format: "int32" - x-exportParamName: "PageSize" - x-optionalDataType: "Int32" - - name: "platform" + - name: "expression" in: "query" - description: "platform" - required: false + description: "expression" + required: true type: "string" - x-exportParamName: "Platform" - x-optionalDataType: "String" - - name: "q" - in: "query" - description: "q" - required: false + x-exportParamName: "Expression" + - name: "id" + in: "path" + description: "id" + required: true type: "string" - x-exportParamName: "Q" - x-optionalDataType: "String" - - name: "type" - in: "query" - description: "type" + x-exportParamName: "Id" + - name: "stageId" + in: "path" + description: "stageId" required: true type: "string" - x-exportParamName: "Type_" + x-exportParamName: "StageId" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} "401": @@ -5214,21 +6606,84 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/pipelineConfigs: + /plugins/deck/plugin-manifest.json: get: tags: - - "application-controller" - summary: "Retrieve a list of an application's pipeline configurations" - operationId: "getPipelineConfigsForApplicationUsingGET" + - "deck-plugins-controller" + summary: "Retrieve a plugin manifest" + operationId: "getPluginManifestUsingGET" + produces: + - "*/*" + parameters: [] + responses: + "200": + description: "OK" + schema: + type: "array" + items: + $ref: "#/definitions/DeckPluginVersion" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /plugins/deck/{pluginId}/{pluginVersion}/{asset}: + get: + tags: + - "deck-plugins-controller" + summary: "Retrieve a single plugin asset by version" + operationId: "getPluginAssetUsingGET" produces: - "*/*" parameters: - - name: "application" + - name: "asset" in: "path" - description: "application" + description: "asset" required: true type: "string" - x-exportParamName: "Application" + x-exportParamName: "Asset" + - name: "pluginId" + in: "path" + description: "pluginId" + required: true + type: "string" + x-exportParamName: "PluginId" + - name: "pluginVersion" + in: "path" + description: "pluginVersion" + required: true + type: "string" + x-exportParamName: "PluginVersion" + responses: + "200": + description: "OK" + schema: + type: "string" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /plugins/info: + get: + tags: + - "plugin-info-controller" + summary: "Get all plugin info objects" + operationId: "getAllPluginInfoUsingGET" + produces: + - "*/*" + parameters: + - name: "service" + in: "query" + description: "service" + required: false + type: "string" + x-exportParamName: "Service" + x-optionalDataType: "String" responses: "200": description: "OK" @@ -5244,40 +6699,120 @@ paths: "404": description: "Not Found" deprecated: false - /managed/application/{application}/environment/{environment}/constraints: - get: + post: tags: - - "managed-controller" - summary: "List up-to {limit} current constraint states for an environment" - operationId: "getConstraintStateUsingGET" + - "plugin-info-controller" + summary: "Persist plugin metadata information" + operationId: "persistPluginInfoUsingPOST" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "application" - in: "path" - description: "application" + - in: "body" + name: "pluginInfo" + description: "pluginInfo" required: true - type: "string" - x-exportParamName: "Application" - - name: "environment" + schema: + $ref: "#/definitions/SpinnakerPluginInfo" + x-exportParamName: "PluginInfo" + responses: + "201": + description: "Created" + "202": + description: "Accepted" + schema: + type: "object" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + put: + tags: + - "plugin-info-controller" + summary: "Persist plugin metadata information" + operationId: "persistPluginInfoUsingPUT" + consumes: + - "application/json" + produces: + - "*/*" + parameters: + - in: "body" + name: "pluginInfo" + description: "pluginInfo" + required: true + schema: + $ref: "#/definitions/SpinnakerPluginInfo" + x-exportParamName: "PluginInfo" + responses: + "201": + description: "Created" + "202": + description: "Accepted" + schema: + type: "object" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /plugins/info/{id}: + delete: + tags: + - "plugin-info-controller" + summary: "Delete plugin info with the provided Id" + operationId: "deletePluginInfoUsingDELETE" + produces: + - "*/*" + parameters: + - name: "id" in: "path" - description: "environment" + description: "id" required: true type: "string" - x-exportParamName: "Environment" - - name: "limit" + x-exportParamName: "Id" + responses: + "202": + description: "Accepted" + schema: + type: "object" + "204": + description: "No Content" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + deprecated: false + /plugins/installed: + get: + tags: + - "plugins-installed-controller" + summary: "Get all installed Spinnaker plugins" + operationId: "getInstalledPluginsUsingGET" + produces: + - "*/*" + parameters: + - name: "service" in: "query" - description: "limit" + description: "service" required: false type: "string" - default: "10" - x-exportParamName: "Limit" + x-exportParamName: "Service" x-optionalDataType: "String" responses: "200": description: "OK" schema: - $ref: "#/definitions/ConstraintState" + type: "object" + additionalProperties: + type: "array" + items: + $ref: "#/definitions/SpinnakerPluginDescriptor" "401": description: "Unauthorized" "403": @@ -5285,57 +6820,43 @@ paths: "404": description: "Not Found" deprecated: false - /v2/canaries/canary: + /plugins/publish/{pluginId}/{pluginVersion}: post: tags: - - "v-2-canary-controller" - summary: "Start a canary execution with the supplied canary config" - operationId: "initiateCanaryWithConfigUsingPOST" + - "plugin-publish-controller" + summary: "Publish a plugin binary and the plugin info metadata." + operationId: "publishPluginUsingPOST" consumes: - - "application/json" + - "multipart/form-data" produces: - "*/*" parameters: - - in: "body" - name: "adhocExecutionRequest" - description: "adhocExecutionRequest" + - name: "plugin" + in: "formData" + description: "plugin" + required: true + type: "file" + x-exportParamName: "Plugin" + - name: "pluginId" + in: "path" + description: "pluginId" required: true - schema: - type: "object" - x-exportParamName: "AdhocExecutionRequest" - - name: "application" - in: "query" - description: "application" - required: false - type: "string" - x-exportParamName: "Application" - x-optionalDataType: "String" - - name: "metricsAccountName" - in: "query" - description: "metricsAccountName" - required: false - type: "string" - x-exportParamName: "MetricsAccountName" - x-optionalDataType: "String" - - name: "parentPipelineExecutionId" - in: "query" - description: "parentPipelineExecutionId" - required: false type: "string" - x-exportParamName: "ParentPipelineExecutionId" - x-optionalDataType: "String" - - name: "storageAccountName" - in: "query" - description: "storageAccountName" - required: false + x-exportParamName: "PluginId" + - name: "pluginInfo" + in: "formData" + description: "pluginInfo" + required: true + x-exportParamName: "PluginInfo" + - name: "pluginVersion" + in: "path" + description: "pluginVersion" + required: true type: "string" - x-exportParamName: "StorageAccountName" - x-optionalDataType: "String" + x-exportParamName: "PluginVersion" responses: "200": description: "OK" - schema: - type: "object" "201": description: "Created" "401": @@ -5345,106 +6866,53 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/tasks/{id}/cancel: - put: + /projects: + get: tags: - - "application-controller" - summary: "Cancel task" - operationId: "cancelTaskUsingPUT" - consumes: - - "application/json" + - "project-controller" + summary: "Get all projects" + operationId: "allUsingGET_3" produces: - "*/*" - parameters: - - name: "id" - in: "path" - description: "id" - required: true - type: "string" - x-exportParamName: "Id" + parameters: [] responses: "200": description: "OK" schema: - type: "object" - additionalProperties: + type: "array" + items: type: "object" properties: {} - "201": - description: "Created" "401": description: "Unauthorized" "403": description: "Forbidden" "404": description: "Not Found" - deprecated: true - /v2/canaries/canary/{canaryConfigId}: - post: + deprecated: false + /projects/{id}: + get: tags: - - "v-2-canary-controller" - summary: "Start a canary execution" - operationId: "initiateCanaryUsingPOST" - consumes: - - "application/json" + - "project-controller" + summary: "Get a project" + operationId: "getUsingGET_1" produces: - "*/*" parameters: - - name: "application" - in: "query" - description: "application" - required: false - type: "string" - x-exportParamName: "Application" - x-optionalDataType: "String" - - name: "canaryConfigId" + - name: "id" in: "path" - description: "canaryConfigId" - required: true - type: "string" - x-exportParamName: "CanaryConfigId" - - name: "configurationAccountName" - in: "query" - description: "configurationAccountName" - required: false - type: "string" - x-exportParamName: "ConfigurationAccountName" - x-optionalDataType: "String" - - in: "body" - name: "executionRequest" - description: "executionRequest" + description: "id" required: true - schema: - type: "object" - x-exportParamName: "ExecutionRequest" - - name: "metricsAccountName" - in: "query" - description: "metricsAccountName" - required: false - type: "string" - x-exportParamName: "MetricsAccountName" - x-optionalDataType: "String" - - name: "parentPipelineExecutionId" - in: "query" - description: "parentPipelineExecutionId" - required: false - type: "string" - x-exportParamName: "ParentPipelineExecutionId" - x-optionalDataType: "String" - - name: "storageAccountName" - in: "query" - description: "storageAccountName" - required: false type: "string" - x-exportParamName: "StorageAccountName" - x-optionalDataType: "String" + x-exportParamName: "Id" responses: "200": description: "OK" schema: type: "object" - "201": - description: "Created" + additionalProperties: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -5452,33 +6920,36 @@ paths: "404": description: "Not Found" deprecated: false - /v2/canaries/canary/{canaryExecutionId}: + /projects/{id}/clusters: get: tags: - - "v-2-canary-controller" - summary: "Retrieve a canary result" - operationId: "getCanaryResultUsingGET_1" + - "project-controller" + summary: "Get a project's clusters" + operationId: "getClustersUsingGET_3" produces: - "*/*" parameters: - - name: "canaryExecutionId" - in: "path" - description: "canaryExecutionId" - required: true - type: "string" - x-exportParamName: "CanaryExecutionId" - - name: "storageAccountName" - in: "query" - description: "storageAccountName" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" required: false type: "string" - x-exportParamName: "StorageAccountName" + x-exportParamName: "XRateLimitApp" x-optionalDataType: "String" + - name: "id" + in: "path" + description: "id" + required: true + type: "string" + x-exportParamName: "Id" responses: "200": description: "OK" schema: - type: "object" + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -5486,28 +6957,37 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/loadBalancers: + /projects/{id}/pipelines: get: tags: - - "load-balancer-controller" - summary: "Retrieve a list of load balancers for a given application" - operationId: "getApplicationLoadBalancersUsingGET" + - "project-controller" + summary: "Get all pipelines for project" + operationId: "allPipelinesForProjectUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "application" + - name: "id" in: "path" - description: "application" + description: "id" required: true type: "string" - x-exportParamName: "Application" + x-exportParamName: "Id" + - name: "limit" + in: "query" + description: "limit" + required: false + type: "integer" + default: 5 + format: "int32" + x-exportParamName: "Limit" + x-optionalDataType: "Int32" + - name: "statuses" + in: "query" + description: "statuses" + required: false + type: "string" + x-exportParamName: "Statuses" + x-optionalDataType: "String" responses: "200": description: "OK" @@ -5523,28 +7003,22 @@ paths: "404": description: "Not Found" deprecated: false - /pipelines/{id}/pause: - put: + /pubsub/subscriptions: + get: tags: - - "pipeline-controller" - summary: "Pause a pipeline execution" - operationId: "pausePipelineUsingPUT" - consumes: - - "application/json" + - "pubsub-subscription-controller" + summary: "Retrieve the list of pub/sub subscriptions configured in Echo." + operationId: "allUsingGET_4" produces: - "*/*" - parameters: - - name: "id" - in: "path" - description: "id" - required: true - type: "string" - x-exportParamName: "Id" + parameters: [] responses: "200": description: "OK" - "201": - description: "Created" + schema: + type: "array" + items: + $ref: "#/definitions/Map«string,string»" "401": description: "Unauthorized" "403": @@ -5552,27 +7026,68 @@ paths: "404": description: "Not Found" deprecated: false - /v3/builds/{buildMaster}/builds: + /search: get: tags: - - "build-controller" - summary: "Get builds for build master" - operationId: "v3GetBuildsUsingGET" + - "search-controller" + summary: "Search infrastructure" + operationId: "searchUsingGET" produces: - "*/*" parameters: - - name: "buildMaster" - in: "path" - description: "buildMaster" - required: true + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false type: "string" - x-exportParamName: "BuildMaster" - - name: "job" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "allowShortQuery" in: "query" - description: "job" + description: "allowShortQuery" + required: false + type: "boolean" + default: false + x-exportParamName: "AllowShortQuery" + x-optionalDataType: "Bool" + - name: "page" + in: "query" + description: "page" + required: false + type: "integer" + default: 1 + format: "int32" + x-exportParamName: "Page" + x-optionalDataType: "Int32" + - name: "pageSize" + in: "query" + description: "pageSize" + required: false + type: "integer" + default: 10000 + format: "int32" + x-exportParamName: "PageSize" + x-optionalDataType: "Int32" + - name: "platform" + in: "query" + description: "platform" + required: false + type: "string" + x-exportParamName: "Platform" + x-optionalDataType: "String" + - name: "q" + in: "query" + description: "q" + required: false + type: "string" + x-exportParamName: "Q" + x-optionalDataType: "String" + - name: "type" + in: "query" + description: "type" required: true type: "string" - x-exportParamName: "Job" + x-exportParamName: "Type_" responses: "200": description: "OK" @@ -5588,32 +7103,35 @@ paths: "404": description: "Not Found" deprecated: false - /v2/pipelineTemplates: + /securityGroups: get: tags: - - "v-2-pipeline-templates-controller" - summary: "(ALPHA) List pipeline templates." - operationId: "listUsingGET_1" + - "security-group-controller" + summary: "Retrieve a list of security groups, grouped by account, cloud provider,\ + \ and region" + operationId: "allUsingGET_5" produces: - "*/*" parameters: - - name: "scopes" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "id" in: "query" - description: "scopes" + description: "id" required: false - type: "array" - items: - type: "string" - collectionFormat: "multi" - x-exportParamName: "Scopes" + type: "string" + x-exportParamName: "Id" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "array" - items: - type: "object" - properties: {} + type: "object" "401": description: "Unauthorized" "403": @@ -5621,26 +7139,42 @@ paths: "404": description: "Not Found" deprecated: false - /pipelineConfigs/{pipelineConfigId}/convertToTemplate: + /securityGroups/{account}: get: tags: - - "pipeline-config-controller" - summary: "Convert a pipeline config to a pipeline template." - operationId: "convertPipelineConfigToPipelineTemplateUsingGET" + - "security-group-controller" + summary: "Retrieve a list of security groups for a given account, grouped by\ + \ region" + operationId: "allByAccountUsingGET_1" produces: - "*/*" parameters: - - name: "pipelineConfigId" + - name: "X-RateLimit-App" + in: "header" + description: "X-RateLimit-App" + required: false + type: "string" + x-exportParamName: "XRateLimitApp" + x-optionalDataType: "String" + - name: "account" in: "path" - description: "pipelineConfigId" + description: "account" required: true type: "string" - x-exportParamName: "PipelineConfigId" + x-exportParamName: "Account" + - name: "provider" + in: "query" + description: "provider" + required: false + type: "string" + default: "aws" + x-exportParamName: "Provider" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "string" + type: "object" "401": description: "Unauthorized" "403": @@ -5648,12 +7182,12 @@ paths: "404": description: "Not Found" deprecated: false - /images/{account}/{region}/{imageId}: + /securityGroups/{account}/{region}/{name}: get: tags: - - "image-controller" - summary: "Get image details" - operationId: "getImageDetailsUsingGET" + - "security-group-controller" + summary: "Retrieve a security group's details" + operationId: "getSecurityGroupUsingGET_1" produces: - "*/*" parameters: @@ -5670,12 +7204,12 @@ paths: required: true type: "string" x-exportParamName: "Account" - - name: "imageId" + - name: "name" in: "path" - description: "imageId" + description: "name" required: true type: "string" - x-exportParamName: "ImageId" + x-exportParamName: "Name" - name: "provider" in: "query" description: "provider" @@ -5690,6 +7224,34 @@ paths: required: true type: "string" x-exportParamName: "Region" + - name: "vpcId" + in: "query" + description: "vpcId" + required: false + type: "string" + x-exportParamName: "VpcId" + x-optionalDataType: "String" + responses: + "200": + description: "OK" + schema: + type: "object" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + /subnets: + get: + tags: + - "amazon-infrastructure-controller" + summary: "Get subnets" + operationId: "subnetsUsingGET" + produces: + - "*/*" + parameters: [] responses: "200": description: "OK" @@ -5705,33 +7267,27 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/snapshots/{account}: + /subnets/{cloudProvider}: get: tags: - - "snapshot-controller" - summary: "Get current snapshot" - operationId: "getCurrentSnapshotUsingGET" + - "subnet-controller" + summary: "Retrieve a list of subnets for a given cloud provider" + operationId: "allByCloudProviderUsingGET_1" produces: - "*/*" parameters: - - name: "account" - in: "path" - description: "account" - required: true - type: "string" - x-exportParamName: "Account" - - name: "application" + - name: "cloudProvider" in: "path" - description: "application" + description: "cloudProvider" required: true type: "string" - x-exportParamName: "Application" + x-exportParamName: "CloudProvider" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: + type: "array" + items: type: "object" properties: {} "401": @@ -5741,66 +7297,71 @@ paths: "404": description: "Not Found" deprecated: false - /managed/application/{application}/veto/{targetEnvironment}/{reference}/{version}: - delete: + /tasks: + post: tags: - - "managed-controller" - summary: "Remove veto of an artifact version in an environment" - operationId: "deleteVetoUsingDELETE" + - "task-controller" + summary: "Create task" + operationId: "taskUsingPOST_1" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "application" - in: "path" - description: "application" - required: true - type: "string" - x-exportParamName: "Application" - - name: "reference" - in: "path" - description: "reference" - required: true - type: "string" - x-exportParamName: "Reference" - - name: "targetEnvironment" - in: "path" - description: "targetEnvironment" - required: true - type: "string" - x-exportParamName: "TargetEnvironment" - - name: "version" - in: "path" - description: "version" + - in: "body" + name: "map" + description: "map" required: true - type: "string" - x-exportParamName: "Version" + schema: + type: "object" + x-exportParamName: "Map_" responses: "200": description: "OK" - "204": - description: "No Content" + schema: + type: "object" + additionalProperties: + type: "object" + properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": description: "Forbidden" + "404": + description: "Not Found" deprecated: false - /pipelineConfigs: - get: + /tasks/cancel: + put: tags: - - "pipeline-config-controller" - summary: "Get all pipeline configs." - operationId: "getAllPipelineConfigsUsingGET" + - "task-controller" + summary: "Cancel tasks" + operationId: "cancelTasksUsingPUT" + consumes: + - "application/json" produces: - "*/*" - parameters: [] + parameters: + - name: "ids" + in: "query" + description: "ids" + required: true + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "Ids" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -5808,31 +7369,21 @@ paths: "404": description: "Not Found" deprecated: false - /v2/pipelineTemplates/create: - post: + /tasks/{id}: + get: tags: - - "v-2-pipeline-templates-controller" - summary: "(ALPHA) Create a pipeline template." - operationId: "createUsingPOST_1" - consumes: - - "application/json" + - "task-controller" + summary: "Get task" + operationId: "getTaskUsingGET_1" produces: - "*/*" parameters: - - in: "body" - name: "pipelineTemplate" - description: "pipelineTemplate" + - name: "id" + in: "path" + description: "id" required: true - schema: - type: "object" - x-exportParamName: "PipelineTemplate" - - name: "tag" - in: "query" - description: "tag" - required: false type: "string" - x-exportParamName: "Tag" - x-optionalDataType: "String" + x-exportParamName: "Id" responses: "200": description: "OK" @@ -5841,8 +7392,6 @@ paths: additionalProperties: type: "object" properties: {} - "201": - description: "Created" "401": description: "Unauthorized" "403": @@ -5850,94 +7399,60 @@ paths: "404": description: "Not Found" deprecated: false - /securityGroups/{account}/{region}/{name}: - get: + delete: tags: - - "security-group-controller" - summary: "Retrieve a security group's details" - operationId: "getSecurityGroupUsingGET_1" + - "task-controller" + summary: "Delete task" + operationId: "deleteTaskUsingDELETE" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "account" - in: "path" - description: "account" - required: true - type: "string" - x-exportParamName: "Account" - - name: "name" - in: "path" - description: "name" - required: true - type: "string" - x-exportParamName: "Name" - - name: "provider" - in: "query" - description: "provider" - required: false - type: "string" - default: "aws" - x-exportParamName: "Provider" - x-optionalDataType: "String" - - name: "region" + - name: "id" in: "path" - description: "region" + description: "id" required: true type: "string" - x-exportParamName: "Region" - - name: "vpcId" - in: "query" - description: "vpcId" - required: false - type: "string" - x-exportParamName: "VpcId" - x-optionalDataType: "String" + x-exportParamName: "Id" responses: "200": description: "OK" schema: type: "object" + additionalProperties: + type: "object" + properties: {} + "204": + description: "No Content" "401": description: "Unauthorized" "403": description: "Forbidden" - "404": - description: "Not Found" deprecated: false - /managed/application/{application}/veto: - post: + /tasks/{id}/cancel: + put: tags: - - "managed-controller" - summary: "Veto an artifact version in an environment" - operationId: "vetoUsingPOST" + - "task-controller" + summary: "Cancel task" + operationId: "cancelTaskUsingPUT_1" consumes: - "application/json" produces: - "*/*" parameters: - - name: "application" + - name: "id" in: "path" - description: "application" + description: "id" required: true type: "string" - x-exportParamName: "Application" - - in: "body" - name: "veto" - description: "veto" - required: true - schema: - $ref: "#/definitions/EnvironmentArtifactVeto" - x-exportParamName: "Veto" + x-exportParamName: "Id" responses: "200": description: "OK" + schema: + type: "object" + additionalProperties: + type: "object" + properties: {} "201": description: "Created" "401": @@ -5947,12 +7462,12 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/tasks/{id}/details/{taskDetailsId}: + /tasks/{id}/details/{taskDetailsId}: get: tags: - - "application-controller" + - "task-controller" summary: "Get task details" - operationId: "getTaskDetailsUsingGET" + operationId: "getTaskDetailsUsingGET_1" produces: - "*/*" parameters: @@ -5989,43 +7504,32 @@ paths: description: "Forbidden" "404": description: "Not Found" - deprecated: true - /securityGroups/{account}: + deprecated: false + /v2/builds: get: tags: - - "security-group-controller" - summary: "Retrieve a list of security groups for a given account, grouped by\ - \ region" - operationId: "allByAccountUsingGET_1" + - "build-controller" + summary: "Get build masters" + description: "Deprecated, use the v3 endpoint instead" + operationId: "getBuildMastersUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "account" - in: "path" - description: "account" - required: true - type: "string" - x-exportParamName: "Account" - - name: "provider" + - name: "type" in: "query" - description: "provider" + description: "type" required: false type: "string" - default: "aws" - x-exportParamName: "Provider" + x-exportParamName: "Type_" x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "object" + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -6033,28 +7537,34 @@ paths: "404": description: "Not Found" deprecated: false - /plugins/info: + /v2/builds/{buildMaster}/build/{number}/**: get: tags: - - "plugin-info-controller" - summary: "Get all plugin info objects" - operationId: "getAllPluginInfoUsingGET" + - "build-controller" + summary: "Get build for build master" + description: "Deprecated, use the v3 endpoint instead" + operationId: "getBuildUsingGET" produces: - "*/*" parameters: - - name: "service" - in: "query" - description: "service" - required: false + - name: "buildMaster" + in: "path" + description: "buildMaster" + required: true type: "string" - x-exportParamName: "Service" - x-optionalDataType: "String" + x-exportParamName: "BuildMaster" + - name: "number" + in: "path" + description: "number" + required: true + type: "string" + x-exportParamName: "Number" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} "401": @@ -6064,30 +7574,30 @@ paths: "404": description: "Not Found" deprecated: false - post: + /v2/builds/{buildMaster}/builds/**: + get: tags: - - "plugin-info-controller" - summary: "Persist plugin metadata information" - operationId: "persistPluginInfoUsingPOST" - consumes: - - "application/json" + - "build-controller" + summary: "Get builds for build master" + description: "Deprecated, use the v3 endpoint instead" + operationId: "getBuildsUsingGET" produces: - "*/*" parameters: - - in: "body" - name: "pluginInfo" - description: "pluginInfo" + - name: "buildMaster" + in: "path" + description: "buildMaster" required: true - schema: - $ref: "#/definitions/SpinnakerPluginInfo" - x-exportParamName: "PluginInfo" + type: "string" + x-exportParamName: "BuildMaster" responses: - "201": - description: "Created" - "202": - description: "Accepted" + "200": + description: "OK" schema: - type: "object" + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -6095,30 +7605,30 @@ paths: "404": description: "Not Found" deprecated: false - put: + /v2/builds/{buildMaster}/jobs: + get: tags: - - "plugin-info-controller" - summary: "Persist plugin metadata information" - operationId: "persistPluginInfoUsingPUT" - consumes: - - "application/json" + - "build-controller" + summary: "Get jobs for build master" + description: "Deprecated, use the v3 endpoint instead" + operationId: "getJobsForBuildMasterUsingGET" produces: - "*/*" parameters: - - in: "body" - name: "pluginInfo" - description: "pluginInfo" + - name: "buildMaster" + in: "path" + description: "buildMaster" required: true - schema: - $ref: "#/definitions/SpinnakerPluginInfo" - x-exportParamName: "PluginInfo" + type: "string" + x-exportParamName: "BuildMaster" responses: - "201": - description: "Created" - "202": - description: "Accepted" + "200": + description: "OK" schema: - type: "object" + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -6126,34 +7636,28 @@ paths: "404": description: "Not Found" deprecated: false - /projects/{id}/clusters: + /v2/builds/{buildMaster}/jobs/**: get: tags: - - "project-controller" - summary: "Get a project's clusters" - operationId: "getClustersUsingGET_3" + - "build-controller" + summary: "Get job config" + description: "Deprecated, use the v3 endpoint instead" + operationId: "getJobConfigUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "id" + - name: "buildMaster" in: "path" - description: "id" + description: "buildMaster" required: true type: "string" - x-exportParamName: "Id" + x-exportParamName: "BuildMaster" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} "401": @@ -6163,26 +7667,57 @@ paths: "404": description: "Not Found" deprecated: false - /managed/application/{application}/pause: + /v2/canaries/canary: post: tags: - - "managed-controller" - summary: "Pause management of an entire application" - operationId: "pauseApplicationUsingPOST" + - "v-2-canary-controller" + summary: "Start a canary execution with the supplied canary config" + operationId: "initiateCanaryWithConfigUsingPOST" consumes: - "application/json" produces: - "*/*" parameters: + - in: "body" + name: "adhocExecutionRequest" + description: "adhocExecutionRequest" + required: true + schema: + type: "object" + x-exportParamName: "AdhocExecutionRequest" - name: "application" - in: "path" + in: "query" description: "application" - required: true + required: false type: "string" x-exportParamName: "Application" + x-optionalDataType: "String" + - name: "metricsAccountName" + in: "query" + description: "metricsAccountName" + required: false + type: "string" + x-exportParamName: "MetricsAccountName" + x-optionalDataType: "String" + - name: "parentPipelineExecutionId" + in: "query" + description: "parentPipelineExecutionId" + required: false + type: "string" + x-exportParamName: "ParentPipelineExecutionId" + x-optionalDataType: "String" + - name: "storageAccountName" + in: "query" + description: "storageAccountName" + required: false + type: "string" + x-exportParamName: "StorageAccountName" + x-optionalDataType: "String" responses: "200": description: "OK" + schema: + type: "object" "201": description: "Created" "401": @@ -6192,111 +7727,162 @@ paths: "404": description: "Not Found" deprecated: false - delete: + /v2/canaries/canary/{canaryConfigId}: + post: tags: - - "managed-controller" - summary: "Resume management of an entire application" - operationId: "resumeApplicationUsingDELETE" + - "v-2-canary-controller" + summary: "Start a canary execution" + operationId: "initiateCanaryUsingPOST" + consumes: + - "application/json" produces: - "*/*" parameters: - name: "application" - in: "path" + in: "query" description: "application" - required: true + required: false type: "string" x-exportParamName: "Application" + x-optionalDataType: "String" + - name: "canaryConfigId" + in: "path" + description: "canaryConfigId" + required: true + type: "string" + x-exportParamName: "CanaryConfigId" + - name: "configurationAccountName" + in: "query" + description: "configurationAccountName" + required: false + type: "string" + x-exportParamName: "ConfigurationAccountName" + x-optionalDataType: "String" + - in: "body" + name: "executionRequest" + description: "executionRequest" + required: true + schema: + type: "object" + x-exportParamName: "ExecutionRequest" + - name: "metricsAccountName" + in: "query" + description: "metricsAccountName" + required: false + type: "string" + x-exportParamName: "MetricsAccountName" + x-optionalDataType: "String" + - name: "parentPipelineExecutionId" + in: "query" + description: "parentPipelineExecutionId" + required: false + type: "string" + x-exportParamName: "ParentPipelineExecutionId" + x-optionalDataType: "String" + - name: "storageAccountName" + in: "query" + description: "storageAccountName" + required: false + type: "string" + x-exportParamName: "StorageAccountName" + x-optionalDataType: "String" responses: "200": description: "OK" - "204": - description: "No Content" + schema: + type: "object" + "201": + description: "Created" "401": description: "Unauthorized" "403": description: "Forbidden" + "404": + description: "Not Found" deprecated: false - /managed/application/{application}/config: + /v2/canaries/canary/{canaryConfigId}/{canaryExecutionId}: get: tags: - - "managed-controller" - summary: "Get the delivery config associated with an application" - operationId: "getConfigByUsingGET" + - "v-2-canary-controller" + summary: "(DEPRECATED) Retrieve a canary result" + operationId: "getCanaryResultUsingGET" produces: - "*/*" parameters: - - name: "application" + - name: "canaryConfigId" in: "path" - description: "application" + description: "canaryConfigId" required: true type: "string" - x-exportParamName: "Application" + x-exportParamName: "CanaryConfigId" + - name: "canaryExecutionId" + in: "path" + description: "canaryExecutionId" + required: true + type: "string" + x-exportParamName: "CanaryExecutionId" + - name: "storageAccountName" + in: "query" + description: "storageAccountName" + required: false + type: "string" + x-exportParamName: "StorageAccountName" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - $ref: "#/definitions/DeliveryConfig" + type: "object" "401": description: "Unauthorized" "403": description: "Forbidden" "404": description: "Not Found" - deprecated: false - delete: + deprecated: true + /v2/canaries/canary/{canaryExecutionId}: + get: tags: - - "managed-controller" - summary: "Delete a delivery config manifest for an application" - operationId: "deleteManifestByAppUsingDELETE" + - "v-2-canary-controller" + summary: "Retrieve a canary result" + operationId: "getCanaryResultUsingGET_1" produces: - "*/*" parameters: - - name: "application" + - name: "canaryExecutionId" in: "path" - description: "application" + description: "canaryExecutionId" required: true type: "string" - x-exportParamName: "Application" + x-exportParamName: "CanaryExecutionId" + - name: "storageAccountName" + in: "query" + description: "storageAccountName" + required: false + type: "string" + x-exportParamName: "StorageAccountName" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - $ref: "#/definitions/DeliveryConfig" - "204": - description: "No Content" + type: "object" "401": description: "Unauthorized" "403": description: "Forbidden" + "404": + description: "Not Found" deprecated: false - /concourse/{buildMaster}/teams/{team}/pipelines/{pipeline}/resources: + /v2/canaries/credentials: get: tags: - - "concourse-controller" - summary: "Retrieve the list of resource names for a given pipeline available\ - \ to the Concourse stage" - operationId: "resourcesUsingGET" - produces: - - "*/*" - parameters: - - name: "buildMaster" - in: "path" - description: "buildMaster" - required: true - type: "string" - x-exportParamName: "BuildMaster" - - name: "pipeline" - in: "path" - description: "pipeline" - required: true - type: "string" - x-exportParamName: "Pipeline" - - name: "team" - in: "path" - description: "team" - required: true - type: "string" - x-exportParamName: "Team" + - "v-2-canary-controller" + summary: "Retrieve a list of configured Kayenta accounts" + operationId: "listCredentialsUsingGET" + produces: + - "*/*" + parameters: [] responses: "200": description: "OK" @@ -6312,12 +7898,12 @@ paths: "404": description: "Not Found" deprecated: false - /subnets: + /v2/canaries/judges: get: tags: - - "amazon-infrastructure-controller" - summary: "Get subnets" - operationId: "subnetsUsingGET" + - "v-2-canary-controller" + summary: "Retrieve a list of all configured canary judges" + operationId: "listJudgesUsingGET" produces: - "*/*" parameters: [] @@ -6336,91 +7922,38 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{applicationName}/serverGroups/{account}/{region}/{serverGroupName}: + /v2/canaries/metadata/metricsService: get: tags: - - "server-group-controller" - summary: "Retrieve a server group's details" - operationId: "getServerGroupDetailsUsingGET" + - "v-2-canary-controller" + summary: "Retrieve a list of descriptors for use in populating the canary config\ + \ ui" + operationId: "listMetricsServiceMetadataUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" + - name: "filter" + in: "query" + description: "filter" required: false type: "string" - x-exportParamName: "XRateLimitApp" + x-exportParamName: "Filter" x-optionalDataType: "String" - - name: "account" - in: "path" - description: "account" - required: true - type: "string" - x-exportParamName: "Account" - - name: "applicationName" - in: "path" - description: "applicationName" - required: true - type: "string" - x-exportParamName: "ApplicationName" - - name: "includeDetails" + - name: "metricsAccountName" in: "query" - description: "includeDetails" + description: "metricsAccountName" required: false type: "string" - default: "true" - x-exportParamName: "IncludeDetails" + x-exportParamName: "MetricsAccountName" x-optionalDataType: "String" - - name: "region" - in: "path" - description: "region" - required: true - type: "string" - x-exportParamName: "Region" - - name: "serverGroupName" - in: "path" - description: "serverGroupName" - required: true - type: "string" - x-exportParamName: "ServerGroupName" - responses: - "200": - description: "OK" - schema: - type: "object" - "401": - description: "Unauthorized" - "403": - description: "Forbidden" - "404": - description: "Not Found" - deprecated: false - /actions/pipelines/reorder: - post: - tags: - - "reorder-pipelines-controller" - summary: "Re-order pipelines" - operationId: "reorderPipelinesUsingPOST" - consumes: - - "application/json" - produces: - - "*/*" - parameters: - - in: "body" - name: "reorderPipelinesCommand" - description: "reorderPipelinesCommand" - required: true - schema: - $ref: "#/definitions/ReorderPipelinesCommand" - x-exportParamName: "ReorderPipelinesCommand" responses: "200": description: "OK" schema: - type: "object" - "201": - description: "Created" + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -6428,42 +7961,28 @@ paths: "404": description: "Not Found" deprecated: false - /images/tags: + /v2/canaries/metricSetPairList/{metricSetPairListId}: get: tags: - - "image-controller" - summary: "Find tags" - operationId: "findTagsUsingGET" + - "v-2-canary-controller" + summary: "Retrieve a metric set pair list" + operationId: "getMetricSetPairListUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "account" - in: "query" - description: "account" + - name: "metricSetPairListId" + in: "path" + description: "metricSetPairListId" required: true type: "string" - x-exportParamName: "Account" - - name: "provider" + x-exportParamName: "MetricSetPairListId" + - name: "storageAccountName" in: "query" - description: "provider" + description: "storageAccountName" required: false type: "string" - default: "aws" - x-exportParamName: "Provider" + x-exportParamName: "StorageAccountName" x-optionalDataType: "String" - - name: "repository" - in: "query" - description: "repository" - required: true - type: "string" - x-exportParamName: "Repository" responses: "200": description: "OK" @@ -6479,49 +7998,52 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{applicationName}/serverGroups: + /v2/canaries/{application}/executions: get: tags: - - "server-group-controller" - summary: "Retrieve a list of server groups for a given application" - operationId: "getServerGroupsForApplicationUsingGET" + - "v-2-canary-controller" + summary: "Retrieve a list of an application's canary results" + operationId: "getCanaryResultsByApplicationUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "applicationName" + - name: "application" in: "path" - description: "applicationName" + description: "application" required: true type: "string" - x-exportParamName: "ApplicationName" - - name: "cloudProvider" + x-exportParamName: "Application" + - name: "limit" in: "query" - description: "cloudProvider" + description: "limit" + required: true + type: "integer" + format: "int32" + x-exportParamName: "Limit" + - name: "page" + in: "query" + description: "page" required: false - type: "string" - x-exportParamName: "CloudProvider" - x-optionalDataType: "String" - - name: "clusters" + type: "integer" + default: 1 + format: "int32" + x-exportParamName: "Page" + x-optionalDataType: "Int32" + - name: "statuses" in: "query" - description: "clusters" + description: "Comma-separated list of statuses, e.g.: RUNNING, SUCCEEDED,\ + \ TERMINAL" required: false type: "string" - x-exportParamName: "Clusters" + allowEmptyValue: false + x-exportParamName: "Statuses" x-optionalDataType: "String" - - name: "expand" + - name: "storageAccountName" in: "query" - description: "expand" + description: "storageAccountName" required: false type: "string" - default: "false" - x-exportParamName: "Expand" + x-exportParamName: "StorageAccountName" x-optionalDataType: "String" responses: "200": @@ -6538,80 +8060,35 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/clusters/{account}/{clusterName}/{cloudProvider}/{scope}/serverGroups/target/{target}: + /v2/canaryConfig: get: tags: - - "cluster-controller" - summary: "Retrieve a server group that matches a target coordinate (e.g., newest,\ - \ ancestor) relative to a cluster" - description: "`scope` is either a zone or a region" - operationId: "getTargetServerGroupUsingGET" + - "v-2-canary-config-controller" + summary: "Retrieve a list of canary configurations" + operationId: "getCanaryConfigsUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "account" - in: "path" - description: "account" - required: true - type: "string" - x-exportParamName: "Account" - name: "application" - in: "path" - description: "application" - required: true - type: "string" - x-exportParamName: "Application" - - name: "cloudProvider" - in: "path" - description: "cloudProvider" - required: true - type: "string" - x-exportParamName: "CloudProvider" - - name: "clusterName" - in: "path" - description: "clusterName" - required: true - type: "string" - x-exportParamName: "ClusterName" - - name: "onlyEnabled" in: "query" - description: "onlyEnabled" + description: "application" required: false - type: "boolean" - x-exportParamName: "OnlyEnabled" - x-optionalDataType: "Bool" - - name: "scope" - in: "path" - description: "scope" - required: true type: "string" - x-exportParamName: "Scope" - - name: "target" - in: "path" - description: "target" - required: true - type: "string" - x-exportParamName: "Target" - - name: "validateOldest" + x-exportParamName: "Application" + x-optionalDataType: "String" + - name: "configurationAccountName" in: "query" - description: "validateOldest" - required: false - type: "boolean" - x-exportParamName: "ValidateOldest" - x-optionalDataType: "Bool" + description: "configurationAccountName" + required: false + type: "string" + x-exportParamName: "ConfigurationAccountName" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: + type: "array" + items: type: "object" properties: {} "401": @@ -6621,53 +8098,35 @@ paths: "404": description: "Not Found" deprecated: false - /v2/pipelineTemplates/update/{id}: post: tags: - - "v-2-pipeline-templates-controller" - summary: "(ALPHA) Update a pipeline template." - operationId: "updateUsingPOST_1" + - "v-2-canary-config-controller" + summary: "Create a canary configuration" + operationId: "createCanaryConfigUsingPOST" consumes: - "application/json" produces: - "*/*" parameters: - - name: "id" - in: "path" - description: "id" - required: true - type: "string" - x-exportParamName: "Id" - in: "body" - name: "pipelineTemplate" - description: "pipelineTemplate" + name: "config" + description: "config" required: true schema: type: "object" - x-exportParamName: "PipelineTemplate" - - name: "skipPlanDependents" - in: "query" - description: "skipPlanDependents" - required: false - type: "boolean" - default: false - x-exportParamName: "SkipPlanDependents" - x-optionalDataType: "Bool" - - name: "tag" + x-exportParamName: "Config" + - name: "configurationAccountName" in: "query" - description: "tag" + description: "configurationAccountName" required: false type: "string" - x-exportParamName: "Tag" + x-exportParamName: "ConfigurationAccountName" x-optionalDataType: "String" responses: "200": description: "OK" schema: type: "object" - additionalProperties: - type: "object" - properties: {} "201": description: "Created" "401": @@ -6677,23 +8136,33 @@ paths: "404": description: "Not Found" deprecated: false - /projects: + /v2/canaryConfig/{id}: get: tags: - - "project-controller" - summary: "Get all projects" - operationId: "allUsingGET_3" + - "v-2-canary-config-controller" + summary: "Retrieve a canary configuration by id" + operationId: "getCanaryConfigUsingGET" produces: - "*/*" - parameters: [] + parameters: + - name: "configurationAccountName" + in: "query" + description: "configurationAccountName" + required: false + type: "string" + x-exportParamName: "ConfigurationAccountName" + x-optionalDataType: "String" + - name: "id" + in: "path" + description: "id" + required: true + type: "string" + x-exportParamName: "Id" responses: "200": description: "OK" schema: - type: "array" - items: - type: "object" - properties: {} + type: "object" "401": description: "Unauthorized" "403": @@ -6701,54 +8170,99 @@ paths: "404": description: "Not Found" deprecated: false - /images/find: - get: + put: tags: - - "image-controller" - summary: "Retrieve a list of images, filtered by cloud provider, region, and\ - \ account" - description: "The query parameter `q` filters the list of images by image name" - operationId: "findImagesUsingGET" + - "v-2-canary-config-controller" + summary: "Update a canary configuration" + operationId: "updateCanaryConfigUsingPUT" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "account" + - in: "body" + name: "config" + description: "config" + required: true + schema: + type: "object" + x-exportParamName: "Config" + - name: "configurationAccountName" in: "query" - description: "account" + description: "configurationAccountName" required: false type: "string" - x-exportParamName: "Account" + x-exportParamName: "ConfigurationAccountName" x-optionalDataType: "String" - - name: "count" - in: "query" - description: "count" - required: false - type: "integer" - format: "int32" - x-exportParamName: "Count" - x-optionalDataType: "Int32" - - name: "provider" - in: "query" - description: "provider" - required: false + - name: "id" + in: "path" + description: "id" + required: true type: "string" - default: "aws" - x-exportParamName: "Provider" - x-optionalDataType: "String" - - name: "q" + x-exportParamName: "Id" + responses: + "200": + description: "OK" + schema: + type: "object" + "201": + description: "Created" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + "404": + description: "Not Found" + deprecated: false + delete: + tags: + - "v-2-canary-config-controller" + summary: "Delete a canary configuration" + operationId: "deleteCanaryConfigUsingDELETE" + produces: + - "*/*" + parameters: + - name: "configurationAccountName" in: "query" - description: "q" + description: "configurationAccountName" required: false type: "string" - x-exportParamName: "Q" + x-exportParamName: "ConfigurationAccountName" x-optionalDataType: "String" - - name: "region" + - name: "id" + in: "path" + description: "id" + required: true + type: "string" + x-exportParamName: "Id" + responses: + "200": + description: "OK" + "204": + description: "No Content" + "401": + description: "Unauthorized" + "403": + description: "Forbidden" + deprecated: false + /v2/pipelineTemplates: + get: + tags: + - "v-2-pipeline-templates-controller" + summary: "(ALPHA) List pipeline templates." + operationId: "listUsingGET_1" + produces: + - "*/*" + parameters: + - name: "scopes" in: "query" - description: "region" + description: "scopes" required: false - type: "string" - x-exportParamName: "Region" - x-optionalDataType: "String" + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "Scopes" responses: "200": description: "OK" @@ -6764,29 +8278,41 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/strategyConfigs: - get: + /v2/pipelineTemplates/create: + post: tags: - - "application-controller" - summary: "Retrieve a list of an application's pipeline strategy configurations" - operationId: "getStrategyConfigsForApplicationUsingGET" + - "v-2-pipeline-templates-controller" + summary: "(ALPHA) Create a pipeline template." + operationId: "createUsingPOST_1" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "application" - in: "path" - description: "application" + - in: "body" + name: "pipelineTemplate" + description: "pipelineTemplate" required: true + schema: + type: "object" + x-exportParamName: "PipelineTemplate" + - name: "tag" + in: "query" + description: "tag" + required: false type: "string" - x-exportParamName: "Application" + x-exportParamName: "Tag" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -6794,43 +8320,34 @@ paths: "404": description: "Not Found" deprecated: false - /managed/application/{application}: - get: + /v2/pipelineTemplates/plan: + post: tags: - - "managed-controller" - summary: "Get managed details about an application" - operationId: "getApplicationDetailsUsingGET" - produces: - - "*/*" - parameters: - - name: "application" - in: "path" - description: "application" - required: true - type: "string" - x-exportParamName: "Application" - - name: "entities" - in: "query" - description: "entities" - required: false - type: "array" - items: - type: "string" - collectionFormat: "multi" - x-exportParamName: "Entities" - - name: "includeDetails" - in: "query" - description: "includeDetails" - required: false - type: "boolean" - default: false - x-exportParamName: "IncludeDetails" - x-optionalDataType: "Bool" + - "v-2-pipeline-templates-controller" + summary: "(ALPHA) Plan a pipeline template configuration." + operationId: "planUsingPOST" + consumes: + - "application/json" + produces: + - "*/*" + parameters: + - in: "body" + name: "pipeline" + description: "pipeline" + required: true + schema: + type: "object" + x-exportParamName: "Pipeline" responses: "200": description: "OK" schema: type: "object" + additionalProperties: + type: "object" + properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -6838,42 +8355,55 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{application}/clusters/{account}: - get: + /v2/pipelineTemplates/update/{id}: + post: tags: - - "cluster-controller" - summary: "Retrieve a list of clusters for an account" - operationId: "getClustersUsingGET_1" + - "v-2-pipeline-templates-controller" + summary: "(ALPHA) Update a pipeline template." + operationId: "updateUsingPOST_1" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "account" + - name: "id" in: "path" - description: "account" + description: "id" required: true type: "string" - x-exportParamName: "Account" - - name: "application" - in: "path" - description: "application" + x-exportParamName: "Id" + - in: "body" + name: "pipelineTemplate" + description: "pipelineTemplate" required: true + schema: + type: "object" + x-exportParamName: "PipelineTemplate" + - name: "skipPlanDependents" + in: "query" + description: "skipPlanDependents" + required: false + type: "boolean" + default: false + x-exportParamName: "SkipPlanDependents" + x-optionalDataType: "Bool" + - name: "tag" + in: "query" + description: "tag" + required: false type: "string" - x-exportParamName: "Application" + x-exportParamName: "Tag" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "array" - items: + type: "object" + additionalProperties: type: "object" properties: {} + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -6881,26 +8411,29 @@ paths: "404": description: "Not Found" deprecated: false - /managed/delivery-configs/{name}: + /v2/pipelineTemplates/versions: get: tags: - - "managed-controller" - summary: "Get a delivery config manifest" - operationId: "getManifestUsingGET" + - "v-2-pipeline-templates-controller" + summary: "List pipeline templates with versions" + operationId: "listVersionsUsingGET" produces: - "*/*" parameters: - - name: "name" - in: "path" - description: "name" - required: true - type: "string" - x-exportParamName: "Name" + - name: "scopes" + in: "query" + description: "scopes" + required: false + type: "array" + items: + type: "string" + collectionFormat: "multi" + x-exportParamName: "Scopes" responses: "200": description: "OK" schema: - $ref: "#/definitions/DeliveryConfig" + type: "object" "401": description: "Unauthorized" "403": @@ -6908,50 +8441,35 @@ paths: "404": description: "Not Found" deprecated: false - delete: + /v2/pipelineTemplates/{id}: + get: tags: - - "managed-controller" - summary: "Delete a delivery config manifest" - operationId: "deleteManifestUsingDELETE" + - "v-2-pipeline-templates-controller" + summary: "(ALPHA) Get a pipeline template." + operationId: "getUsingGET_2" produces: - "*/*" parameters: - - name: "name" + - name: "digest" + in: "query" + description: "digest" + required: false + type: "string" + x-exportParamName: "Digest" + x-optionalDataType: "String" + - name: "id" in: "path" - description: "name" + description: "id" required: true type: "string" - x-exportParamName: "Name" - responses: - "200": - description: "OK" - schema: - $ref: "#/definitions/DeliveryConfig" - "204": - description: "No Content" - "401": - description: "Unauthorized" - "403": - description: "Forbidden" - deprecated: false - /tasks: - post: - tags: - - "task-controller" - summary: "Create task" - operationId: "taskUsingPOST_1" - consumes: - - "application/json" - produces: - - "*/*" - parameters: - - in: "body" - name: "map" - description: "map" - required: true - schema: - type: "object" - x-exportParamName: "Map_" + x-exportParamName: "Id" + - name: "tag" + in: "query" + description: "tag" + required: false + type: "string" + x-exportParamName: "Tag" + x-optionalDataType: "String" responses: "200": description: "OK" @@ -6960,8 +8478,6 @@ paths: additionalProperties: type: "object" properties: {} - "201": - description: "Created" "401": description: "Unauthorized" "403": @@ -6969,111 +8485,110 @@ paths: "404": description: "Not Found" deprecated: false - /pipelines/move: - post: + delete: tags: - - "pipeline-controller" - summary: "Rename a pipeline definition" - operationId: "renamePipelineUsingPOST" - consumes: - - "application/json" + - "v-2-pipeline-templates-controller" + summary: "Delete a pipeline template." + operationId: "deleteUsingDELETE_1" produces: - "*/*" parameters: - - in: "body" - name: "renameCommand" - description: "renameCommand" + - name: "application" + in: "query" + description: "application" + required: false + type: "string" + x-exportParamName: "Application" + x-optionalDataType: "String" + - name: "digest" + in: "query" + description: "digest" + required: false + type: "string" + x-exportParamName: "Digest" + x-optionalDataType: "String" + - name: "id" + in: "path" + description: "id" required: true - schema: - type: "object" - x-exportParamName: "RenameCommand" + type: "string" + x-exportParamName: "Id" + - name: "tag" + in: "query" + description: "tag" + required: false + type: "string" + x-exportParamName: "Tag" + x-optionalDataType: "String" responses: "200": description: "OK" - "201": - description: "Created" + schema: + type: "object" + additionalProperties: + type: "object" + properties: {} + "204": + description: "No Content" "401": description: "Unauthorized" "403": description: "Forbidden" - "404": - description: "Not Found" deprecated: false - /pipelines/{id}/stages/{stageId}: - patch: + /v2/pipelineTemplates/{id}/dependents: + get: tags: - - "pipeline-controller" - summary: "Update a stage execution" - operationId: "updateStageUsingPATCH" - consumes: - - "application/json" + - "v-2-pipeline-templates-controller" + summary: "(ALPHA) List all pipelines that implement a pipeline template" + operationId: "listPipelineTemplateDependentsUsingGET_1" produces: - "*/*" parameters: - - in: "body" - name: "context" - description: "context" - required: true - schema: - type: "object" - x-exportParamName: "Context" - name: "id" in: "path" description: "id" required: true type: "string" x-exportParamName: "Id" - - name: "stageId" - in: "path" - description: "stageId" - required: true - type: "string" - x-exportParamName: "StageId" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: + type: "array" + items: type: "object" properties: {} - "204": - description: "No Content" "401": description: "Unauthorized" "403": description: "Forbidden" + "404": + description: "Not Found" deprecated: false - /tasks/cancel: - put: + /v3/builds: + get: tags: - - "task-controller" - summary: "Cancel tasks" - operationId: "cancelTasksUsingPUT" - consumes: - - "application/json" + - "build-controller" + summary: "Get build masters" + operationId: "v3GetBuildMastersUsingGET" produces: - "*/*" parameters: - - name: "ids" + - name: "type" in: "query" - description: "ids" - required: true - type: "array" - items: - type: "string" - collectionFormat: "multi" - x-exportParamName: "Ids" + description: "type" + required: false + type: "string" + x-exportParamName: "Type_" + x-optionalDataType: "String" responses: "200": description: "OK" schema: - type: "object" - additionalProperties: + type: "array" + items: type: "object" properties: {} - "201": - description: "Created" "401": description: "Unauthorized" "403": @@ -7081,54 +8596,33 @@ paths: "404": description: "Not Found" deprecated: false - /applications/{applicationName}/jobs/{account}/{region}/{name}: + /v3/builds/{buildMaster}/build/{number}: get: tags: - - "job-controller" - summary: "Get job" - operationId: "getJobUsingGET" + - "build-controller" + summary: "Get build for build master" + operationId: "v3GetBuildUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "account" - in: "path" - description: "account" - required: true - type: "string" - x-exportParamName: "Account" - - name: "applicationName" + - name: "buildMaster" in: "path" - description: "applicationName" + description: "buildMaster" required: true type: "string" - x-exportParamName: "ApplicationName" - - name: "expand" + x-exportParamName: "BuildMaster" + - name: "job" in: "query" - description: "expand" - required: false - type: "string" - default: "false" - x-exportParamName: "Expand" - x-optionalDataType: "String" - - name: "name" - in: "path" - description: "name" + description: "job" required: true type: "string" - x-exportParamName: "Name" - - name: "region" + x-exportParamName: "Job" + - name: "number" in: "path" - description: "region" + description: "number" required: true type: "string" - x-exportParamName: "Region" + x-exportParamName: "Number" responses: "200": description: "OK" @@ -7144,42 +8638,27 @@ paths: "404": description: "Not Found" deprecated: false - /firewalls/{account}/{region}: + /v3/builds/{buildMaster}/builds: get: tags: - - "firewall-controller" - summary: "Retrieve a list of firewalls for a given account and region" - operationId: "allByAccountAndRegionUsingGET" + - "build-controller" + summary: "Get builds for build master" + operationId: "v3GetBuildsUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "account" + - name: "buildMaster" in: "path" - description: "account" + description: "buildMaster" required: true type: "string" - x-exportParamName: "Account" - - name: "provider" + x-exportParamName: "BuildMaster" + - name: "job" in: "query" - description: "provider" - required: false - type: "string" - default: "aws" - x-exportParamName: "Provider" - x-optionalDataType: "String" - - name: "region" - in: "path" - description: "region" + description: "job" required: true type: "string" - x-exportParamName: "Region" + x-exportParamName: "Job" responses: "200": description: "OK" @@ -7195,22 +8674,35 @@ paths: "404": description: "Not Found" deprecated: false - /pubsub/subscriptions: + /v3/builds/{buildMaster}/job: get: tags: - - "pubsub-subscription-controller" - summary: "Retrieve the list of pub/sub subscriptions configured in Echo." - operationId: "allUsingGET_4" + - "build-controller" + summary: "Get job config" + operationId: "v3GetJobConfigUsingGET" produces: - "*/*" - parameters: [] + parameters: + - name: "buildMaster" + in: "path" + description: "buildMaster" + required: true + type: "string" + x-exportParamName: "BuildMaster" + - name: "job" + in: "query" + description: "job" + required: true + type: "string" + x-exportParamName: "Job" responses: "200": description: "OK" schema: - type: "array" - items: - $ref: "#/definitions/Map«string,string»" + type: "object" + additionalProperties: + type: "object" + properties: {} "401": description: "Unauthorized" "403": @@ -7218,22 +8710,21 @@ paths: "404": description: "Not Found" deprecated: false - /artifacts/credentials: + /v3/builds/{buildMaster}/jobs: get: tags: - - "artifact-controller" - summary: "Retrieve the list of artifact accounts configured in Clouddriver." - operationId: "allUsingGET" + - "build-controller" + summary: "Get jobs for build master" + operationId: "v3GetJobsForBuildMasterUsingGET" produces: - "*/*" parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false + - name: "buildMaster" + in: "path" + description: "buildMaster" + required: true type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" + x-exportParamName: "BuildMaster" responses: "200": description: "OK" @@ -7249,35 +8740,20 @@ paths: "404": description: "Not Found" deprecated: false - /firewalls: + /version: get: tags: - - "firewall-controller" - summary: "Retrieve a list of firewalls, grouped by account, cloud provider,\ - \ and region" - operationId: "allUsingGET_1" + - "version-controller" + summary: "Fetch Gate's current version" + operationId: "getVersionUsingGET" produces: - "*/*" - parameters: - - name: "X-RateLimit-App" - in: "header" - description: "X-RateLimit-App" - required: false - type: "string" - x-exportParamName: "XRateLimitApp" - x-optionalDataType: "String" - - name: "id" - in: "query" - description: "id" - required: false - type: "string" - x-exportParamName: "Id" - x-optionalDataType: "String" + parameters: [] responses: "200": description: "OK" schema: - type: "object" + $ref: "#/definitions/Version" "401": description: "Unauthorized" "403": @@ -7285,96 +8761,105 @@ paths: "404": description: "Not Found" deprecated: false - /managed/delivery-configs/diff: - post: + /vpcs: + get: tags: - - "managed-controller" - summary: "Ad-hoc validate and diff a config manifest" - operationId: "diffManifestUsingPOST" - consumes: - - "application/json" - - "application/x-yaml" + - "amazon-infrastructure-controller" + summary: "Get VPCs" + operationId: "vpcsUsingGET" produces: - - "application/json" - parameters: - - in: "body" - name: "manifest" - description: "manifest" - required: true - schema: - $ref: "#/definitions/DeliveryConfig" - x-exportParamName: "Manifest" + - "*/*" + parameters: [] responses: "200": description: "OK" schema: - type: "object" - "201": - description: "Created" + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": description: "Forbidden" "404": description: "Not Found" - deprecated: false - /plugins/info/{id}: - delete: + deprecated: true + /webhooks/preconfigured: + get: tags: - - "plugin-info-controller" - summary: "Delete plugin info with the provided Id" - operationId: "deletePluginInfoUsingDELETE" + - "webhook-controller" + summary: "Retrieve a list of preconfigured webhooks in Orca" + operationId: "preconfiguredWebhooksUsingGET" produces: - "*/*" - parameters: - - name: "id" - in: "path" - description: "id" - required: true - type: "string" - x-exportParamName: "Id" + parameters: [] responses: - "202": - description: "Accepted" + "200": + description: "OK" schema: - type: "object" - "204": - description: "No Content" + type: "array" + items: + type: "object" + properties: {} "401": description: "Unauthorized" "403": description: "Forbidden" + "404": + description: "Not Found" deprecated: false - /v2/canaries/metricSetPairList/{metricSetPairListId}: - get: + /webhooks/{type}/{source}: + post: tags: - - "v-2-canary-controller" - summary: "Retrieve a metric set pair list" - operationId: "getMetricSetPairListUsingGET" + - "webhook-controller" + summary: "Endpoint for posting webhooks to Spinnaker's webhook service" + operationId: "webhooksUsingPOST" + consumes: + - "application/json" produces: - "*/*" parameters: - - name: "metricSetPairListId" - in: "path" - description: "metricSetPairListId" - required: true + - name: "X-Event-Key" + in: "header" + description: "X-Event-Key" + required: false type: "string" - x-exportParamName: "MetricSetPairListId" - - name: "storageAccountName" - in: "query" - description: "storageAccountName" + x-exportParamName: "XEventKey" + x-optionalDataType: "String" + - name: "X-Hub-Signature" + in: "header" + description: "X-Hub-Signature" required: false type: "string" - x-exportParamName: "StorageAccountName" + x-exportParamName: "XHubSignature" x-optionalDataType: "String" + - in: "body" + name: "event" + description: "event" + required: false + schema: + type: "object" + x-exportParamName: "Event" + - name: "source" + in: "path" + description: "source" + required: true + type: "string" + x-exportParamName: "Source" + - name: "type" + in: "path" + description: "type" + required: true + type: "string" + x-exportParamName: "Type_" responses: "200": description: "OK" schema: - type: "array" - items: - type: "object" - properties: {} + type: "object" + "201": + description: "Created" "401": description: "Unauthorized" "403": @@ -7383,226 +8868,160 @@ paths: description: "Not Found" deprecated: false definitions: - EnvironmentArtifactVeto: + Account: type: "object" properties: - comment: - type: "string" - version: + accountId: type: "string" - targetEnvironment: + name: type: "string" - reference: + permissions: + type: "object" + additionalProperties: + type: "array" + items: + type: "string" + requiredGroupMembership: + type: "array" + items: + type: "string" + type: type: "string" - title: "EnvironmentArtifactVeto" - example: - reference: "reference" - targetEnvironment: "targetEnvironment" - comment: "comment" - version: "version" - ConstraintState: + title: "Account" + AccountDefinition: type: "object" properties: - createdAt: - type: "string" - comment: - type: "string" - type: - type: "string" - attributes: - type: "object" - properties: {} - status: - type: "string" - judgedBy: + '@type': type: "string" - deliveryConfigName: - type: "string" - artifactVersion: - type: "string" - judgedAt: - type: "string" - environmentName: + name: type: "string" - title: "ConstraintState" + title: "AccountDefinition" + example: + '@type': "@type" + name: "name" AccountDetails: type: "object" properties: + accountId: + type: "string" + accountType: + type: "string" + challengeDestructiveActions: + type: "boolean" cloudProvider: type: "string" + environment: + type: "string" + name: + type: "string" permissions: type: "object" additionalProperties: type: "array" items: type: "string" - accountId: - type: "string" - accountType: - type: "string" - type: - type: "string" primaryAccount: type: "boolean" - environment: - type: "string" requiredGroupMembership: type: "array" items: type: "string" - name: + type: type: "string" - challengeDestructiveActions: - type: "boolean" title: "AccountDetails" - Account: + ConstraintState: type: "object" properties: - accountId: + artifactVersion: type: "string" - requiredGroupMembership: - type: "array" - items: - type: "string" - type: + attributes: + type: "object" + properties: {} + comment: type: "string" - name: + createdAt: type: "string" - permissions: - type: "object" - additionalProperties: - type: "array" - items: - type: "string" - title: "Account" - Version: - type: "object" - properties: - version: + deliveryConfigName: type: "string" - title: "Version" - PluginDependency: - type: "object" - properties: - pluginVersionSupport: + environmentName: type: "string" - optional: - type: "boolean" - pluginId: + judgedAt: type: "string" - title: "PluginDependency" - PipelineTemplateDependent: - type: "object" - properties: - pipelineName: + judgedBy: type: "string" - application: + status: type: "string" - pipelineConfigId: + type: type: "string" - title: "PipelineTemplateDependent" - File: + title: "ConstraintState" + ConstraintStatus: type: "object" properties: - absolutePath: + artifactReference: type: "string" - parent: + artifactVersion: type: "string" - usableSpace: - type: "integer" - format: "int64" - readable: - type: "boolean" - path: + comment: type: "string" - executable: - type: "boolean" - totalSpace: - type: "integer" - format: "int64" - canonicalPath: + status: type: "string" - lastModified: - type: "integer" - format: "int64" - name: + type: type: "string" - directory: - type: "boolean" - parentFile: - $ref: "#/definitions/File" - file: - type: "boolean" - hidden: - type: "boolean" - absoluteFile: - $ref: "#/definitions/File" - absolute: - type: "boolean" - freeSpace: - type: "integer" - format: "int64" - writable: - type: "boolean" - canonicalFile: - $ref: "#/definitions/File" - title: "File" + title: "ConstraintStatus" example: - readable: true - parent: "parent" - hidden: true - freeSpace: 9 - usableSpace: 5 - totalSpace: 2 - directory: true - executable: true - writable: true - path: "path" - file: true - absolute: true - canonicalPath: "canonicalPath" - name: "name" - absolutePath: "absolutePath" - lastModified: 7 - Map«string,string»: + artifactVersion: "artifactVersion" + artifactReference: "artifactReference" + comment: "comment" + type: "type" + status: "status" + DeckPluginVersion: type: "object" - title: "Map«string,string»" - additionalProperties: - type: "string" + required: + - "id" + - "version" + properties: + id: + type: "string" + version: + type: "string" + title: "DeckPluginVersion" DeliveryConfig: type: "object" properties: apiVersion: type: "string" - serviceAccount: + application: type: "string" + artifacts: + type: "array" + items: + $ref: "#/definitions/Map«string,object»" environments: type: "array" items: $ref: "#/definitions/Environment" name: type: "string" - application: + serviceAccount: type: "string" - artifacts: - type: "array" - items: - $ref: "#/definitions/Map«string,object»" title: "DeliveryConfig" example: apiVersion: "apiVersion" application: "application" environments: - - name: "name" + - verifyWith: + - null + - null + name: "name" resources: - readable: true file: readable: true parent: "parent" hidden: true - freeSpace: 9 + freeSpace: 0 + totalSpace: 1 usableSpace: 5 - totalSpace: 2 directory: true executable: true writable: true @@ -7612,10 +9031,10 @@ definitions: canonicalPath: "canonicalPath" name: "name" absolutePath: "absolutePath" - lastModified: 7 + lastModified: 6 filename: "filename" - inputStream: {} description: "description" + inputStream: {} uri: rawFragment: "rawFragment" userInfo: "userInfo" @@ -7627,36 +9046,36 @@ definitions: path: "path" fragment: "fragment" rawPath: "rawPath" - rawSchemeSpecificPart: "rawSchemeSpecificPart" port: 5 + rawSchemeSpecificPart: "rawSchemeSpecificPart" absolute: true rawAuthority: "rawAuthority" authority: "authority" host: "host" rawQuery: "rawQuery" + open: true url: userInfo: "userInfo" query: "query" content: "{}" deserializedFields: {} - defaultPort: 0 + defaultPort: 2 path: "path" - ref: "ref" protocol: "protocol" + ref: "ref" file: "file" - port: 1 + port: 7 authority: "authority" - serializedHashCode: 6 host: "host" - open: true + serializedHashCode: 9 - readable: true file: readable: true parent: "parent" hidden: true - freeSpace: 9 + freeSpace: 0 + totalSpace: 1 usableSpace: 5 - totalSpace: 2 directory: true executable: true writable: true @@ -7666,10 +9085,10 @@ definitions: canonicalPath: "canonicalPath" name: "name" absolutePath: "absolutePath" - lastModified: 7 + lastModified: 6 filename: "filename" - inputStream: {} description: "description" + inputStream: {} uri: rawFragment: "rawFragment" userInfo: "userInfo" @@ -7681,32 +9100,32 @@ definitions: path: "path" fragment: "fragment" rawPath: "rawPath" - rawSchemeSpecificPart: "rawSchemeSpecificPart" port: 5 + rawSchemeSpecificPart: "rawSchemeSpecificPart" absolute: true rawAuthority: "rawAuthority" authority: "authority" host: "host" rawQuery: "rawQuery" + open: true url: userInfo: "userInfo" query: "query" content: "{}" deserializedFields: {} - defaultPort: 0 + defaultPort: 2 path: "path" - ref: "ref" protocol: "protocol" + ref: "ref" file: "file" - port: 1 + port: 7 authority: "authority" - serializedHashCode: 6 host: "host" - open: true + serializedHashCode: 9 locations: "{}" constraints: - - {} - - {} + - null + - null notifications: - address: "address" type: "type" @@ -7714,16 +9133,19 @@ definitions: - address: "address" type: "type" frequency: "frequency" - - name: "name" + - verifyWith: + - null + - null + name: "name" resources: - readable: true file: readable: true parent: "parent" hidden: true - freeSpace: 9 + freeSpace: 0 + totalSpace: 1 usableSpace: 5 - totalSpace: 2 directory: true executable: true writable: true @@ -7733,10 +9155,10 @@ definitions: canonicalPath: "canonicalPath" name: "name" absolutePath: "absolutePath" - lastModified: 7 + lastModified: 6 filename: "filename" - inputStream: {} description: "description" + inputStream: {} uri: rawFragment: "rawFragment" userInfo: "userInfo" @@ -7748,36 +9170,36 @@ definitions: path: "path" fragment: "fragment" rawPath: "rawPath" - rawSchemeSpecificPart: "rawSchemeSpecificPart" port: 5 + rawSchemeSpecificPart: "rawSchemeSpecificPart" absolute: true rawAuthority: "rawAuthority" authority: "authority" host: "host" rawQuery: "rawQuery" + open: true url: userInfo: "userInfo" query: "query" content: "{}" deserializedFields: {} - defaultPort: 0 + defaultPort: 2 path: "path" - ref: "ref" protocol: "protocol" + ref: "ref" file: "file" - port: 1 + port: 7 authority: "authority" - serializedHashCode: 6 host: "host" - open: true + serializedHashCode: 9 - readable: true file: readable: true parent: "parent" hidden: true - freeSpace: 9 + freeSpace: 0 + totalSpace: 1 usableSpace: 5 - totalSpace: 2 directory: true executable: true writable: true @@ -7787,10 +9209,10 @@ definitions: canonicalPath: "canonicalPath" name: "name" absolutePath: "absolutePath" - lastModified: 7 + lastModified: 6 filename: "filename" - inputStream: {} description: "description" + inputStream: {} uri: rawFragment: "rawFragment" userInfo: "userInfo" @@ -7802,287 +9224,54 @@ definitions: path: "path" fragment: "fragment" rawPath: "rawPath" - rawSchemeSpecificPart: "rawSchemeSpecificPart" port: 5 + rawSchemeSpecificPart: "rawSchemeSpecificPart" absolute: true rawAuthority: "rawAuthority" authority: "authority" host: "host" rawQuery: "rawQuery" + open: true url: userInfo: "userInfo" query: "query" content: "{}" deserializedFields: {} - defaultPort: 0 + defaultPort: 2 path: "path" - ref: "ref" protocol: "protocol" + ref: "ref" file: "file" - port: 1 + port: 7 authority: "authority" - serializedHashCode: 6 host: "host" - open: true + serializedHashCode: 9 locations: "{}" constraints: - - {} - - {} - notifications: - - address: "address" - type: "type" - frequency: "frequency" - - address: "address" - type: "type" - frequency: "frequency" - name: "name" - serviceAccount: "serviceAccount" - artifacts: - - null - - null - RemoteExtension: - type: "object" - properties: - transport: - $ref: "#/definitions/RemoteExtensionTransport" - type: - type: "string" - config: - type: "object" - properties: {} - id: - type: "string" - title: "RemoteExtension" - example: - transport: - http: - config: "{}" - url: "url" - id: "id" - type: "type" - config: "{}" - RemoteExtensionTransport: - type: "object" - properties: - http: - $ref: "#/definitions/Http" - title: "RemoteExtensionTransport" - example: - http: - config: "{}" - url: "url" - SpinnakerPluginDescriptor: - type: "object" - required: - - "unsafe" - properties: - pluginId: - type: "string" - version: - type: "string" - license: - type: "string" - requires: - type: "string" - provider: - type: "string" - dependencies: - type: "array" - items: - $ref: "#/definitions/PluginDependency" - pluginClass: - type: "string" - unsafe: - type: "boolean" - pluginDescription: - type: "string" - title: "SpinnakerPluginDescriptor" - Http: - type: "object" - properties: - url: - type: "string" - config: - type: "object" - properties: {} - title: "Http" - example: - config: "{}" - url: "url" - URL: - type: "object" - properties: - userInfo: - type: "string" - file: - type: "string" - query: - type: "string" - ref: - type: "string" - path: - type: "string" - defaultPort: - type: "integer" - format: "int32" - serializedHashCode: - type: "integer" - format: "int32" - deserializedFields: - $ref: "#/definitions/URLStreamHandler" - content: - type: "object" - properties: {} - protocol: - type: "string" - host: - type: "string" - authority: - type: "string" - port: - type: "integer" - format: "int32" - title: "URL" - example: - userInfo: "userInfo" - query: "query" - content: "{}" - deserializedFields: {} - defaultPort: 0 - path: "path" - ref: "ref" - protocol: "protocol" - file: "file" - port: 1 - authority: "authority" - serializedHashCode: 6 - host: "host" - HttpEntity: - type: "object" - properties: - body: - type: "object" - properties: {} - title: "HttpEntity" - Map«string,object»: - type: "object" - title: "Map«string,object»" - additionalProperties: - type: "object" - properties: {} - SpinnakerPluginRelease: - type: "object" - properties: - requires: - type: "string" - version: - type: "string" - url: - type: "string" - date: - type: "string" - format: "date-time" - sha512sum: - type: "string" - preferred: - type: "boolean" - remoteExtensions: - type: "array" - items: - $ref: "#/definitions/RemoteExtension" - title: "SpinnakerPluginRelease" - example: - date: "2000-01-23T04:56:07.000+00:00" - sha512sum: "sha512sum" - remoteExtensions: - - transport: - http: - config: "{}" - url: "url" - id: "id" - type: "type" - config: "{}" - - transport: - http: - config: "{}" - url: "url" - id: "id" - type: "type" - config: "{}" - version: "version" - url: "url" - preferred: true - requires: "requires" - InputStream: - type: "object" - title: "InputStream" - URI: - type: "object" - properties: - fragment: - type: "string" - schemeSpecificPart: - type: "string" - rawSchemeSpecificPart: - type: "string" - scheme: - type: "string" - query: - type: "string" - rawUserInfo: - type: "string" - rawPath: - type: "string" - absolute: - type: "boolean" - path: - type: "string" - host: - type: "string" - authority: - type: "string" - port: - type: "integer" - format: "int32" - rawQuery: - type: "string" - rawAuthority: - type: "string" - userInfo: - type: "string" - opaque: - type: "boolean" - rawFragment: - type: "string" - title: "URI" - example: - rawFragment: "rawFragment" - userInfo: "userInfo" - opaque: true - scheme: "scheme" - query: "query" - schemeSpecificPart: "schemeSpecificPart" - rawUserInfo: "rawUserInfo" - path: "path" - fragment: "fragment" - rawPath: "rawPath" - rawSchemeSpecificPart: "rawSchemeSpecificPart" - port: 5 - absolute: true - rawAuthority: "rawAuthority" - authority: "authority" - host: "host" - rawQuery: "rawQuery" + - null + - null + notifications: + - address: "address" + type: "type" + frequency: "frequency" + - address: "address" + type: "type" + frequency: "frequency" + name: "name" + serviceAccount: "serviceAccount" + artifacts: + - {} + - {} Environment: type: "object" properties: - locations: - type: "object" - properties: {} constraints: type: "array" items: - $ref: "#/definitions/Map«string,object»" + $ref: "#/definitions/Map«string,object»" + locations: + type: "object" + properties: {} name: type: "string" notifications: @@ -8093,8 +9282,15 @@ definitions: type: "array" items: $ref: "#/definitions/Resource" + verifyWith: + type: "array" + items: + $ref: "#/definitions/Map«string,object»" title: "Environment" example: + verifyWith: + - null + - null name: "name" resources: - readable: true @@ -8102,9 +9298,9 @@ definitions: readable: true parent: "parent" hidden: true - freeSpace: 9 + freeSpace: 0 + totalSpace: 1 usableSpace: 5 - totalSpace: 2 directory: true executable: true writable: true @@ -8114,10 +9310,10 @@ definitions: canonicalPath: "canonicalPath" name: "name" absolutePath: "absolutePath" - lastModified: 7 + lastModified: 6 filename: "filename" - inputStream: {} description: "description" + inputStream: {} uri: rawFragment: "rawFragment" userInfo: "userInfo" @@ -8129,36 +9325,36 @@ definitions: path: "path" fragment: "fragment" rawPath: "rawPath" - rawSchemeSpecificPart: "rawSchemeSpecificPart" port: 5 + rawSchemeSpecificPart: "rawSchemeSpecificPart" absolute: true rawAuthority: "rawAuthority" authority: "authority" host: "host" rawQuery: "rawQuery" + open: true url: userInfo: "userInfo" query: "query" content: "{}" deserializedFields: {} - defaultPort: 0 + defaultPort: 2 path: "path" - ref: "ref" protocol: "protocol" + ref: "ref" file: "file" - port: 1 + port: 7 authority: "authority" - serializedHashCode: 6 host: "host" - open: true + serializedHashCode: 9 - readable: true file: readable: true parent: "parent" hidden: true - freeSpace: 9 + freeSpace: 0 + totalSpace: 1 usableSpace: 5 - totalSpace: 2 directory: true executable: true writable: true @@ -8168,10 +9364,10 @@ definitions: canonicalPath: "canonicalPath" name: "name" absolutePath: "absolutePath" - lastModified: 7 + lastModified: 6 filename: "filename" - inputStream: {} description: "description" + inputStream: {} uri: rawFragment: "rawFragment" userInfo: "userInfo" @@ -8183,32 +9379,32 @@ definitions: path: "path" fragment: "fragment" rawPath: "rawPath" - rawSchemeSpecificPart: "rawSchemeSpecificPart" port: 5 + rawSchemeSpecificPart: "rawSchemeSpecificPart" absolute: true rawAuthority: "rawAuthority" authority: "authority" host: "host" rawQuery: "rawQuery" + open: true url: userInfo: "userInfo" query: "query" content: "{}" deserializedFields: {} - defaultPort: 0 + defaultPort: 2 path: "path" - ref: "ref" protocol: "protocol" + ref: "ref" file: "file" - port: 1 + port: 7 authority: "authority" - serializedHashCode: 6 host: "host" - open: true + serializedHashCode: 9 locations: "{}" constraints: - - {} - - {} + - null + - null notifications: - address: "address" type: "type" @@ -8216,64 +9412,202 @@ definitions: - address: "address" type: "type" frequency: "frequency" - URLStreamHandler: + EnvironmentArtifactPin: type: "object" - title: "URLStreamHandler" - User: + properties: + comment: + type: "string" + pinnedBy: + type: "string" + reference: + type: "string" + targetEnvironment: + type: "string" + version: + type: "string" + title: "EnvironmentArtifactPin" + example: + reference: "reference" + targetEnvironment: "targetEnvironment" + comment: "comment" + pinnedBy: "pinnedBy" + version: "version" + EnvironmentArtifactVeto: type: "object" properties: - username: + comment: type: "string" - accountNonLocked: + reference: + type: "string" + targetEnvironment: + type: "string" + version: + type: "string" + title: "EnvironmentArtifactVeto" + example: + reference: "reference" + targetEnvironment: "targetEnvironment" + comment: "comment" + version: "version" + File: + type: "object" + properties: + absolute: type: "boolean" - email: + absoluteFile: + $ref: "#/definitions/File" + absolutePath: type: "string" - roles: - type: "array" - items: - type: "string" - credentialsNonExpired: + canonicalFile: + $ref: "#/definitions/File" + canonicalPath: + type: "string" + directory: type: "boolean" - allowedAccounts: - type: "array" - items: - type: "string" - accountNonExpired: + executable: type: "boolean" - authorities: - type: "array" - items: - $ref: "#/definitions/GrantedAuthority" - lastName: + file: + type: "boolean" + freeSpace: + type: "integer" + format: "int64" + hidden: + type: "boolean" + lastModified: + type: "integer" + format: "int64" + name: type: "string" - enabled: + parent: + type: "string" + parentFile: + $ref: "#/definitions/File" + path: + type: "string" + readable: type: "boolean" - firstName: + totalSpace: + type: "integer" + format: "int64" + usableSpace: + type: "integer" + format: "int64" + writable: + type: "boolean" + title: "File" + example: + readable: true + parent: "parent" + hidden: true + freeSpace: 0 + totalSpace: 1 + usableSpace: 5 + directory: true + executable: true + writable: true + path: "path" + file: true + absolute: true + canonicalPath: "canonicalPath" + name: "name" + absolutePath: "absolutePath" + lastModified: 6 + GrantedAuthority: + type: "object" + properties: + authority: type: "string" - title: "User" - DeckPluginVersion: + title: "GrantedAuthority" + GraphQLRequest: type: "object" - required: - - "id" - - "version" properties: - id: + operationName: type: "string" - version: + query: type: "string" - title: "DeckPluginVersion" - HashMap«string,object»: + variables: + type: "object" + properties: {} + title: "GraphQLRequest" + HashMap«string,object»: type: "object" - title: "HashMap«string,object»" + title: "HashMap«string,object»" additionalProperties: type: "object" properties: {} - GrantedAuthority: + Headers: type: "object" properties: - authority: + invokeHeaders: + type: "object" + additionalProperties: + type: "string" + readHeaders: + type: "object" + additionalProperties: + type: "string" + writeHeaders: + type: "object" + additionalProperties: + type: "string" + title: "Headers" + example: + readHeaders: + key: "readHeaders" + writeHeaders: + key: "writeHeaders" + invokeHeaders: + key: "invokeHeaders" + Http: + type: "object" + properties: + config: + type: "object" + additionalProperties: + type: "string" + headers: + $ref: "#/definitions/Headers" + queryParams: + type: "object" + additionalProperties: + type: "string" + url: type: "string" - title: "GrantedAuthority" + title: "Http" + example: + headers: + readHeaders: + key: "readHeaders" + writeHeaders: + key: "writeHeaders" + invokeHeaders: + key: "invokeHeaders" + queryParams: + key: "queryParams" + config: + key: "config" + url: "url" + HttpEntity: + type: "object" + properties: + body: + type: "object" + properties: {} + title: "HttpEntity" + InputStream: + type: "object" + title: "InputStream" + Map«string,object»: + type: "object" + title: "Map«string,object»" + additionalProperties: + type: "object" + properties: {} + Map«string,string»: + type: "object" + title: "Map«string,string»" + additionalProperties: + type: "string" Notification: type: "object" properties: @@ -8288,88 +9622,107 @@ definitions: address: "address" type: "type" frequency: "frequency" - SpinnakerPluginInfo: + OverrideVerificationRequest: type: "object" - required: - - "releases" properties: - projectUrl: + artifactReference: type: "string" - description: + artifactVersion: type: "string" - provider: + comment: type: "string" - name: + status: type: "string" - releases: - type: "array" - items: - $ref: "#/definitions/SpinnakerPluginRelease" + verificationId: + type: "string" + title: "OverrideVerificationRequest" + example: + artifactVersion: "artifactVersion" + artifactReference: "artifactReference" + comment: "comment" + verificationId: "verificationId" + status: "status" + PipelineTemplateDependent: + type: "object" + properties: + application: + type: "string" + pipelineConfigId: + type: "string" + pipelineName: + type: "string" + title: "PipelineTemplateDependent" + PluginDependency: + type: "object" + properties: + optional: + type: "boolean" + pluginId: + type: "string" + pluginVersionSupport: + type: "string" + title: "PluginDependency" + RemoteExtensionConfig: + type: "object" + properties: + config: + type: "object" + properties: {} id: type: "string" - repositoryId: + transport: + $ref: "#/definitions/RemoteExtensionTransportConfig" + type: type: "string" - title: "SpinnakerPluginInfo" + title: "RemoteExtensionConfig" example: - projectUrl: "projectUrl" - provider: "provider" - name: "name" - repositoryId: "repositoryId" - description: "description" id: "id" - releases: - - date: "2000-01-23T04:56:07.000+00:00" - sha512sum: "sha512sum" - remoteExtensions: - - transport: - http: - config: "{}" - url: "url" - id: "id" - type: "type" - config: "{}" - - transport: - http: - config: "{}" - url: "url" - id: "id" - type: "type" - config: "{}" - version: "version" - url: "url" - preferred: true - requires: "requires" - - date: "2000-01-23T04:56:07.000+00:00" - sha512sum: "sha512sum" - remoteExtensions: - - transport: - http: - config: "{}" - url: "url" - id: "id" - type: "type" - config: "{}" - - transport: - http: - config: "{}" - url: "url" - id: "id" - type: "type" - config: "{}" - version: "version" + transport: + http: + headers: + readHeaders: + key: "readHeaders" + writeHeaders: + key: "writeHeaders" + invokeHeaders: + key: "invokeHeaders" + queryParams: + key: "queryParams" + config: + key: "config" + url: "url" + type: "type" + config: "{}" + RemoteExtensionTransportConfig: + type: "object" + properties: + http: + $ref: "#/definitions/Http" + title: "RemoteExtensionTransportConfig" + example: + http: + headers: + readHeaders: + key: "readHeaders" + writeHeaders: + key: "writeHeaders" + invokeHeaders: + key: "invokeHeaders" + queryParams: + key: "queryParams" + config: + key: "config" url: "url" - preferred: true - requires: "requires" ReorderPipelinesCommand: type: "object" properties: + application: + type: "string" idsToIndices: type: "object" additionalProperties: type: "integer" format: "int32" - application: - type: "string" title: "ReorderPipelinesCommand" example: idsToIndices: @@ -8378,22 +9731,22 @@ definitions: Resource: type: "object" properties: - inputStream: - $ref: "#/definitions/InputStream" - url: - $ref: "#/definitions/URL" - uri: - $ref: "#/definitions/URI" description: type: "string" file: $ref: "#/definitions/File" - open: - type: "boolean" filename: type: "string" + inputStream: + $ref: "#/definitions/InputStream" + open: + type: "boolean" readable: type: "boolean" + uri: + $ref: "#/definitions/URI" + url: + $ref: "#/definitions/URL" title: "Resource" example: readable: true @@ -8401,9 +9754,9 @@ definitions: readable: true parent: "parent" hidden: true - freeSpace: 9 + freeSpace: 0 + totalSpace: 1 usableSpace: 5 - totalSpace: 2 directory: true executable: true writable: true @@ -8413,10 +9766,10 @@ definitions: canonicalPath: "canonicalPath" name: "name" absolutePath: "absolutePath" - lastModified: 7 + lastModified: 6 filename: "filename" - inputStream: {} description: "description" + inputStream: {} uri: rawFragment: "rawFragment" userInfo: "userInfo" @@ -8428,146 +9781,467 @@ definitions: path: "path" fragment: "fragment" rawPath: "rawPath" - rawSchemeSpecificPart: "rawSchemeSpecificPart" port: 5 + rawSchemeSpecificPart: "rawSchemeSpecificPart" absolute: true rawAuthority: "rawAuthority" authority: "authority" host: "host" rawQuery: "rawQuery" + open: true url: userInfo: "userInfo" query: "query" content: "{}" deserializedFields: {} - defaultPort: 0 + defaultPort: 2 path: "path" - ref: "ref" protocol: "protocol" + ref: "ref" file: "file" - port: 1 + port: 7 authority: "authority" - serializedHashCode: 6 host: "host" - open: true - EnvironmentArtifactPin: + serializedHashCode: 9 + ResponseEntity: + type: "object" + properties: + body: + type: "object" + properties: {} + statusCode: + type: "string" + enum: + - "100 CONTINUE" + - "101 SWITCHING_PROTOCOLS" + - "102 PROCESSING" + - "103 CHECKPOINT" + - "200 OK" + - "201 CREATED" + - "202 ACCEPTED" + - "203 NON_AUTHORITATIVE_INFORMATION" + - "204 NO_CONTENT" + - "205 RESET_CONTENT" + - "206 PARTIAL_CONTENT" + - "207 MULTI_STATUS" + - "208 ALREADY_REPORTED" + - "226 IM_USED" + - "300 MULTIPLE_CHOICES" + - "301 MOVED_PERMANENTLY" + - "302 FOUND" + - "302 MOVED_TEMPORARILY" + - "303 SEE_OTHER" + - "304 NOT_MODIFIED" + - "305 USE_PROXY" + - "307 TEMPORARY_REDIRECT" + - "308 PERMANENT_REDIRECT" + - "400 BAD_REQUEST" + - "401 UNAUTHORIZED" + - "402 PAYMENT_REQUIRED" + - "403 FORBIDDEN" + - "404 NOT_FOUND" + - "405 METHOD_NOT_ALLOWED" + - "406 NOT_ACCEPTABLE" + - "407 PROXY_AUTHENTICATION_REQUIRED" + - "408 REQUEST_TIMEOUT" + - "409 CONFLICT" + - "410 GONE" + - "411 LENGTH_REQUIRED" + - "412 PRECONDITION_FAILED" + - "413 PAYLOAD_TOO_LARGE" + - "413 REQUEST_ENTITY_TOO_LARGE" + - "414 URI_TOO_LONG" + - "414 REQUEST_URI_TOO_LONG" + - "415 UNSUPPORTED_MEDIA_TYPE" + - "416 REQUESTED_RANGE_NOT_SATISFIABLE" + - "417 EXPECTATION_FAILED" + - "418 I_AM_A_TEAPOT" + - "419 INSUFFICIENT_SPACE_ON_RESOURCE" + - "420 METHOD_FAILURE" + - "421 DESTINATION_LOCKED" + - "422 UNPROCESSABLE_ENTITY" + - "423 LOCKED" + - "424 FAILED_DEPENDENCY" + - "425 TOO_EARLY" + - "426 UPGRADE_REQUIRED" + - "428 PRECONDITION_REQUIRED" + - "429 TOO_MANY_REQUESTS" + - "431 REQUEST_HEADER_FIELDS_TOO_LARGE" + - "451 UNAVAILABLE_FOR_LEGAL_REASONS" + - "500 INTERNAL_SERVER_ERROR" + - "501 NOT_IMPLEMENTED" + - "502 BAD_GATEWAY" + - "503 SERVICE_UNAVAILABLE" + - "504 GATEWAY_TIMEOUT" + - "505 HTTP_VERSION_NOT_SUPPORTED" + - "506 VARIANT_ALSO_NEGOTIATES" + - "507 INSUFFICIENT_STORAGE" + - "508 LOOP_DETECTED" + - "509 BANDWIDTH_LIMIT_EXCEEDED" + - "510 NOT_EXTENDED" + - "511 NETWORK_AUTHENTICATION_REQUIRED" + statusCodeValue: + type: "integer" + format: "int32" + title: "ResponseEntity" + RetryVerificationRequest: + type: "object" + properties: + artifactReference: + type: "string" + artifactVersion: + type: "string" + verificationId: + type: "string" + title: "RetryVerificationRequest" + example: + artifactVersion: "artifactVersion" + artifactReference: "artifactReference" + verificationId: "verificationId" + SpinnakerPluginDescriptor: + type: "object" + required: + - "unsafe" + properties: + dependencies: + type: "array" + items: + $ref: "#/definitions/PluginDependency" + license: + type: "string" + pluginClass: + type: "string" + pluginDescription: + type: "string" + pluginId: + type: "string" + provider: + type: "string" + requires: + type: "string" + unsafe: + type: "boolean" + version: + type: "string" + title: "SpinnakerPluginDescriptor" + SpinnakerPluginInfo: + type: "object" + required: + - "releases" + properties: + description: + type: "string" + id: + type: "string" + name: + type: "string" + projectUrl: + type: "string" + provider: + type: "string" + releases: + type: "array" + items: + $ref: "#/definitions/SpinnakerPluginRelease" + repositoryId: + type: "string" + title: "SpinnakerPluginInfo" + example: + projectUrl: "projectUrl" + provider: "provider" + name: "name" + repositoryId: "repositoryId" + description: "description" + id: "id" + releases: + - date: "2000-01-23T04:56:07.000+00:00" + sha512sum: "sha512sum" + remoteExtensions: + - id: "id" + transport: + http: + headers: + readHeaders: + key: "readHeaders" + writeHeaders: + key: "writeHeaders" + invokeHeaders: + key: "invokeHeaders" + queryParams: + key: "queryParams" + config: + key: "config" + url: "url" + type: "type" + config: "{}" + - id: "id" + transport: + http: + headers: + readHeaders: + key: "readHeaders" + writeHeaders: + key: "writeHeaders" + invokeHeaders: + key: "invokeHeaders" + queryParams: + key: "queryParams" + config: + key: "config" + url: "url" + type: "type" + config: "{}" + version: "version" + preferred: true + url: "url" + requires: "requires" + - date: "2000-01-23T04:56:07.000+00:00" + sha512sum: "sha512sum" + remoteExtensions: + - id: "id" + transport: + http: + headers: + readHeaders: + key: "readHeaders" + writeHeaders: + key: "writeHeaders" + invokeHeaders: + key: "invokeHeaders" + queryParams: + key: "queryParams" + config: + key: "config" + url: "url" + type: "type" + config: "{}" + - id: "id" + transport: + http: + headers: + readHeaders: + key: "readHeaders" + writeHeaders: + key: "writeHeaders" + invokeHeaders: + key: "invokeHeaders" + queryParams: + key: "queryParams" + config: + key: "config" + url: "url" + type: "type" + config: "{}" + version: "version" + preferred: true + url: "url" + requires: "requires" + SpinnakerPluginRelease: type: "object" properties: - reference: + date: type: "string" - pinnedBy: + format: "date-time" + preferred: + type: "boolean" + remoteExtensions: + type: "array" + items: + $ref: "#/definitions/RemoteExtensionConfig" + requires: type: "string" - comment: + sha512sum: type: "string" - version: + url: type: "string" - targetEnvironment: + version: type: "string" - title: "EnvironmentArtifactPin" + title: "SpinnakerPluginRelease" example: - reference: "reference" - targetEnvironment: "targetEnvironment" - comment: "comment" - pinnedBy: "pinnedBy" + date: "2000-01-23T04:56:07.000+00:00" + sha512sum: "sha512sum" + remoteExtensions: + - id: "id" + transport: + http: + headers: + readHeaders: + key: "readHeaders" + writeHeaders: + key: "writeHeaders" + invokeHeaders: + key: "invokeHeaders" + queryParams: + key: "queryParams" + config: + key: "config" + url: "url" + type: "type" + config: "{}" + - id: "id" + transport: + http: + headers: + readHeaders: + key: "readHeaders" + writeHeaders: + key: "writeHeaders" + invokeHeaders: + key: "invokeHeaders" + queryParams: + key: "queryParams" + config: + key: "config" + url: "url" + type: "type" + config: "{}" version: "version" - ResponseEntity: + preferred: true + url: "url" + requires: "requires" + URI: type: "object" properties: - statusCode: + absolute: + type: "boolean" + authority: type: "string" - enum: - - "100 CONTINUE" - - "101 SWITCHING_PROTOCOLS" - - "102 PROCESSING" - - "103 CHECKPOINT" - - "200 OK" - - "201 CREATED" - - "202 ACCEPTED" - - "203 NON_AUTHORITATIVE_INFORMATION" - - "204 NO_CONTENT" - - "205 RESET_CONTENT" - - "206 PARTIAL_CONTENT" - - "207 MULTI_STATUS" - - "208 ALREADY_REPORTED" - - "226 IM_USED" - - "300 MULTIPLE_CHOICES" - - "301 MOVED_PERMANENTLY" - - "302 FOUND" - - "302 MOVED_TEMPORARILY" - - "303 SEE_OTHER" - - "304 NOT_MODIFIED" - - "305 USE_PROXY" - - "307 TEMPORARY_REDIRECT" - - "308 PERMANENT_REDIRECT" - - "400 BAD_REQUEST" - - "401 UNAUTHORIZED" - - "402 PAYMENT_REQUIRED" - - "403 FORBIDDEN" - - "404 NOT_FOUND" - - "405 METHOD_NOT_ALLOWED" - - "406 NOT_ACCEPTABLE" - - "407 PROXY_AUTHENTICATION_REQUIRED" - - "408 REQUEST_TIMEOUT" - - "409 CONFLICT" - - "410 GONE" - - "411 LENGTH_REQUIRED" - - "412 PRECONDITION_FAILED" - - "413 PAYLOAD_TOO_LARGE" - - "413 REQUEST_ENTITY_TOO_LARGE" - - "414 URI_TOO_LONG" - - "414 REQUEST_URI_TOO_LONG" - - "415 UNSUPPORTED_MEDIA_TYPE" - - "416 REQUESTED_RANGE_NOT_SATISFIABLE" - - "417 EXPECTATION_FAILED" - - "418 I_AM_A_TEAPOT" - - "419 INSUFFICIENT_SPACE_ON_RESOURCE" - - "420 METHOD_FAILURE" - - "421 DESTINATION_LOCKED" - - "422 UNPROCESSABLE_ENTITY" - - "423 LOCKED" - - "424 FAILED_DEPENDENCY" - - "425 TOO_EARLY" - - "426 UPGRADE_REQUIRED" - - "428 PRECONDITION_REQUIRED" - - "429 TOO_MANY_REQUESTS" - - "431 REQUEST_HEADER_FIELDS_TOO_LARGE" - - "451 UNAVAILABLE_FOR_LEGAL_REASONS" - - "500 INTERNAL_SERVER_ERROR" - - "501 NOT_IMPLEMENTED" - - "502 BAD_GATEWAY" - - "503 SERVICE_UNAVAILABLE" - - "504 GATEWAY_TIMEOUT" - - "505 HTTP_VERSION_NOT_SUPPORTED" - - "506 VARIANT_ALSO_NEGOTIATES" - - "507 INSUFFICIENT_STORAGE" - - "508 LOOP_DETECTED" - - "509 BANDWIDTH_LIMIT_EXCEEDED" - - "510 NOT_EXTENDED" - - "511 NETWORK_AUTHENTICATION_REQUIRED" - statusCodeValue: + fragment: + type: "string" + host: + type: "string" + opaque: + type: "boolean" + path: + type: "string" + port: type: "integer" format: "int32" - body: + query: + type: "string" + rawAuthority: + type: "string" + rawFragment: + type: "string" + rawPath: + type: "string" + rawQuery: + type: "string" + rawSchemeSpecificPart: + type: "string" + rawUserInfo: + type: "string" + scheme: + type: "string" + schemeSpecificPart: + type: "string" + userInfo: + type: "string" + title: "URI" + example: + rawFragment: "rawFragment" + userInfo: "userInfo" + opaque: true + scheme: "scheme" + query: "query" + schemeSpecificPart: "schemeSpecificPart" + rawUserInfo: "rawUserInfo" + path: "path" + fragment: "fragment" + rawPath: "rawPath" + port: 5 + rawSchemeSpecificPart: "rawSchemeSpecificPart" + absolute: true + rawAuthority: "rawAuthority" + authority: "authority" + host: "host" + rawQuery: "rawQuery" + URL: + type: "object" + properties: + authority: + type: "string" + content: type: "object" properties: {} - title: "ResponseEntity" - ConstraintStatus: + defaultPort: + type: "integer" + format: "int32" + deserializedFields: + $ref: "#/definitions/URLStreamHandler" + file: + type: "string" + host: + type: "string" + path: + type: "string" + port: + type: "integer" + format: "int32" + protocol: + type: "string" + query: + type: "string" + ref: + type: "string" + serializedHashCode: + type: "integer" + format: "int32" + userInfo: + type: "string" + title: "URL" + example: + userInfo: "userInfo" + query: "query" + content: "{}" + deserializedFields: {} + defaultPort: 2 + path: "path" + protocol: "protocol" + ref: "ref" + file: "file" + port: 7 + authority: "authority" + host: "host" + serializedHashCode: 9 + URLStreamHandler: + type: "object" + title: "URLStreamHandler" + User: type: "object" properties: - artifactVersion: + accountNonExpired: + type: "boolean" + accountNonLocked: + type: "boolean" + allowedAccounts: + type: "array" + items: + type: "string" + authorities: + type: "array" + items: + $ref: "#/definitions/GrantedAuthority" + credentialsNonExpired: + type: "boolean" + email: type: "string" - type: + enabled: + type: "boolean" + firstName: type: "string" - comment: + lastName: type: "string" - status: + roles: + type: "array" + items: + type: "string" + username: type: "string" - artifactReference: + title: "User" + Version: + type: "object" + properties: + version: type: "string" - title: "ConstraintStatus" - example: - artifactVersion: "artifactVersion" - artifactReference: "artifactReference" - comment: "comment" - type: "type" - status: "status" + title: "Version" diff --git a/gateapi/api_ci_controller.go b/gateapi/api_ci_controller.go index 4bac0acc..7fde4922 100644 --- a/gateapi/api_ci_controller.go +++ b/gateapi/api_ci_controller.go @@ -16,6 +16,7 @@ import ( "net/http" "net/url" "strings" + "fmt" "github.com/antihax/optional" ) @@ -26,28 +27,122 @@ var ( type CiControllerApiService service +/* +CiControllerApiService getBuildOutputById + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param buildId buildId + +@return interface{} +*/ +func (a *CiControllerApiService) GetBuildOutputByIdUsingGET(ctx context.Context, buildId string) (interface{}, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue interface{} + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/ci/builds/{buildId}/output" + localVarPath = strings.Replace(localVarPath, "{"+"buildId"+"}", fmt.Sprintf("%v", buildId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"*/*"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v interface{} + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + /* CiControllerApiService getBuilds * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param projectKey projectKey - * @param repoSlug repoSlug * @param optional nil or *CiControllerApiGetBuildsUsingGET1Opts - Optional Parameters: + * @param "BuildNumber" (optional.String) - buildNumber + * @param "CommitId" (optional.String) - commitId * @param "CompletionStatus" (optional.String) - completionStatus + * @param "ProjectKey" (optional.String) - projectKey + * @param "RepoSlug" (optional.String) - repoSlug -@return []interface{} +@return []Mapstringobject */ type CiControllerApiGetBuildsUsingGET1Opts struct { + BuildNumber optional.String + CommitId optional.String CompletionStatus optional.String + ProjectKey optional.String + RepoSlug optional.String } -func (a *CiControllerApiService) GetBuildsUsingGET1(ctx context.Context, projectKey string, repoSlug string, localVarOptionals *CiControllerApiGetBuildsUsingGET1Opts) ([]interface{}, *http.Response, error) { +func (a *CiControllerApiService) GetBuildsUsingGET1(ctx context.Context, localVarOptionals *CiControllerApiGetBuildsUsingGET1Opts) ([]Mapstringobject, *http.Response, error) { var ( localVarHttpMethod = strings.ToUpper("Get") localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - localVarReturnValue []interface{} + localVarReturnValue []Mapstringobject ) // create path and map variables @@ -57,11 +152,21 @@ func (a *CiControllerApiService) GetBuildsUsingGET1(ctx context.Context, project localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if localVarOptionals != nil && localVarOptionals.BuildNumber.IsSet() { + localVarQueryParams.Add("buildNumber", parameterToString(localVarOptionals.BuildNumber.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.CommitId.IsSet() { + localVarQueryParams.Add("commitId", parameterToString(localVarOptionals.CommitId.Value(), "")) + } if localVarOptionals != nil && localVarOptionals.CompletionStatus.IsSet() { localVarQueryParams.Add("completionStatus", parameterToString(localVarOptionals.CompletionStatus.Value(), "")) } - localVarQueryParams.Add("projectKey", parameterToString(projectKey, "")) - localVarQueryParams.Add("repoSlug", parameterToString(repoSlug, "")) + if localVarOptionals != nil && localVarOptionals.ProjectKey.IsSet() { + localVarQueryParams.Add("projectKey", parameterToString(localVarOptionals.ProjectKey.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.RepoSlug.IsSet() { + localVarQueryParams.Add("repoSlug", parameterToString(localVarOptionals.RepoSlug.Value(), "")) + } // to determine the Content-Type header localVarHttpContentTypes := []string{} @@ -110,7 +215,7 @@ func (a *CiControllerApiService) GetBuildsUsingGET1(ctx context.Context, project } if localVarHttpResponse.StatusCode == 200 { - var v []interface{} + var v []Mapstringobject err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() diff --git a/gateapi/api_credentials_controller.go b/gateapi/api_credentials_controller.go index f8fde0f5..06e80af7 100644 --- a/gateapi/api_credentials_controller.go +++ b/gateapi/api_credentials_controller.go @@ -27,6 +27,179 @@ var ( type CredentialsControllerApiService service +/* +CredentialsControllerApiService Creates a new account definition. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param optional nil or *CredentialsControllerApiCreateAccountUsingPOSTOpts - Optional Parameters: + * @param "AccountDefinition" (optional.Interface of AccountDefinition) - Account definition body including a discriminator field named \"@type\" with the account type. + +@return AccountDefinition +*/ + +type CredentialsControllerApiCreateAccountUsingPOSTOpts struct { + AccountDefinition optional.Interface +} + +func (a *CredentialsControllerApiService) CreateAccountUsingPOST(ctx context.Context, localVarOptionals *CredentialsControllerApiCreateAccountUsingPOSTOpts) (AccountDefinition, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AccountDefinition + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/credentials" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"*/*"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + if localVarOptionals != nil && localVarOptionals.AccountDefinition.IsSet() { + + localVarOptionalAccountDefinition, localVarOptionalAccountDefinitionok := localVarOptionals.AccountDefinition.Value().(AccountDefinition) + if !localVarOptionalAccountDefinitionok { + return localVarReturnValue, nil, reportError("accountDefinition should be AccountDefinition") + } + localVarPostBody = &localVarOptionalAccountDefinition + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AccountDefinition + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +CredentialsControllerApiService Deletes an account definition by name. +Deleted accounts can be restored via the update API. Previously deleted accounts cannot be \"created\" again to avoid conflicts with existing pipelines. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param accountName Name of account definition to delete. + + +*/ +func (a *CredentialsControllerApiService) DeleteAccountUsingDELETE(ctx context.Context, accountName string) (*http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/credentials/{accountName}" + localVarPath = strings.Replace(localVarPath, "{"+"accountName"+"}", fmt.Sprintf("%v", accountName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"*/*"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarHttpResponse, err + } + + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + return localVarHttpResponse, newErr + } + + return localVarHttpResponse, nil +} + /* CredentialsControllerApiService Retrieve an account's details * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -185,6 +358,109 @@ func (a *CredentialsControllerApiService) GetAccountUsingGET(ctx context.Context return localVarReturnValue, localVarHttpResponse, nil } +/* +CredentialsControllerApiService Looks up account definitions by type. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param accountType Value of the \"@type\" key for accounts to search for. + * @param optional nil or *CredentialsControllerApiGetAccountsByTypeUsingGETOpts - Optional Parameters: + * @param "Limit" (optional.String) - Maximum number of entries to return in results. Used for pagination. + * @param "StartingAccountName" (optional.String) - Account name to start account definition listing from. Used for pagination. + +@return []AccountDefinition +*/ + +type CredentialsControllerApiGetAccountsByTypeUsingGETOpts struct { + Limit optional.String + StartingAccountName optional.String +} + +func (a *CredentialsControllerApiService) GetAccountsByTypeUsingGET(ctx context.Context, accountType string, localVarOptionals *CredentialsControllerApiGetAccountsByTypeUsingGETOpts) ([]AccountDefinition, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue []AccountDefinition + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/credentials/type/{accountType}" + localVarPath = strings.Replace(localVarPath, "{"+"accountType"+"}", fmt.Sprintf("%v", accountType), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.Limit.IsSet() { + localVarQueryParams.Add("limit", parameterToString(localVarOptionals.Limit.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.StartingAccountName.IsSet() { + localVarQueryParams.Add("startingAccountName", parameterToString(localVarOptionals.StartingAccountName.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"*/*"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v []AccountDefinition + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + /* CredentialsControllerApiService Retrieve a list of accounts * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -340,3 +616,105 @@ func (a *CredentialsControllerApiService) GetAccountsUsingGET(ctx context.Contex return localVarReturnValue, localVarHttpResponse, nil } + +/* +CredentialsControllerApiService Updates an existing account definition. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param optional nil or *CredentialsControllerApiUpdateAccountUsingPUTOpts - Optional Parameters: + * @param "AccountDefinition" (optional.Interface of AccountDefinition) - Account definition body including a discriminator field named \"@type\" with the account type. + +@return AccountDefinition +*/ + +type CredentialsControllerApiUpdateAccountUsingPUTOpts struct { + AccountDefinition optional.Interface +} + +func (a *CredentialsControllerApiService) UpdateAccountUsingPUT(ctx context.Context, localVarOptionals *CredentialsControllerApiUpdateAccountUsingPUTOpts) (AccountDefinition, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AccountDefinition + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/credentials" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"*/*"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + if localVarOptionals != nil && localVarOptionals.AccountDefinition.IsSet() { + + localVarOptionalAccountDefinition, localVarOptionalAccountDefinitionok := localVarOptionals.AccountDefinition.Value().(AccountDefinition) + if !localVarOptionalAccountDefinitionok { + return localVarReturnValue, nil, reportError("accountDefinition should be AccountDefinition") + } + localVarPostBody = &localVarOptionalAccountDefinition + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AccountDefinition + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} diff --git a/gateapi/api_managed_controller.go b/gateapi/api_managed_controller.go index e26a990e..51bfe90a 100644 --- a/gateapi/api_managed_controller.go +++ b/gateapi/api_managed_controller.go @@ -801,27 +801,29 @@ func (a *ManagedControllerApiService) ExportResourceUsingGET1(ctx context.Contex } /* -ManagedControllerApiService getApiDocs +ManagedControllerApiService Get a report of Managed Delivery adoption * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param params params -@return interface{} +@return string */ -func (a *ManagedControllerApiService) GetApiDocsUsingGET(ctx context.Context) (interface{}, *http.Response, error) { +func (a *ManagedControllerApiService) GetAdoptionReportUsingGET(ctx context.Context, params interface{}) (string, *http.Response, error) { var ( localVarHttpMethod = strings.ToUpper("Get") localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - localVarReturnValue interface{} + localVarReturnValue string ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/managed/api-docs" + localVarPath := a.client.cfg.BasePath + "/managed/reports/adoption" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + localVarQueryParams.Add("params", parameterToString(params, "")) // to determine the Content-Type header localVarHttpContentTypes := []string{} @@ -832,7 +834,7 @@ func (a *ManagedControllerApiService) GetApiDocsUsingGET(ctx context.Context) (i } // to determine the Accept header - localVarHttpHeaderAccepts := []string{"*/*"} + localVarHttpHeaderAccepts := []string{"text/html"} // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -870,7 +872,7 @@ func (a *ManagedControllerApiService) GetApiDocsUsingGET(ctx context.Context) (i } if localVarHttpResponse.StatusCode == 200 { - var v interface{} + var v string err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() @@ -893,6 +895,7 @@ ManagedControllerApiService Get managed details about an application * @param optional nil or *ManagedControllerApiGetApplicationDetailsUsingGETOpts - Optional Parameters: * @param "Entities" (optional.Interface of []string) - entities * @param "IncludeDetails" (optional.Bool) - includeDetails + * @param "MaxArtifactVersions" (optional.Int32) - maxArtifactVersions @return interface{} */ @@ -900,6 +903,7 @@ ManagedControllerApiService Get managed details about an application type ManagedControllerApiGetApplicationDetailsUsingGETOpts struct { Entities optional.Interface IncludeDetails optional.Bool + MaxArtifactVersions optional.Int32 } func (a *ManagedControllerApiService) GetApplicationDetailsUsingGET(ctx context.Context, application string, localVarOptionals *ManagedControllerApiGetApplicationDetailsUsingGETOpts) (interface{}, *http.Response, error) { @@ -925,6 +929,9 @@ func (a *ManagedControllerApiService) GetApplicationDetailsUsingGET(ctx context. if localVarOptionals != nil && localVarOptionals.IncludeDetails.IsSet() { localVarQueryParams.Add("includeDetails", parameterToString(localVarOptionals.IncludeDetails.Value(), "")) } + if localVarOptionals != nil && localVarOptionals.MaxArtifactVersions.IsSet() { + localVarQueryParams.Add("maxArtifactVersions", parameterToString(localVarOptionals.MaxArtifactVersions.Value(), "")) + } // to determine the Content-Type header localVarHttpContentTypes := []string{} @@ -1178,24 +1185,24 @@ func (a *ManagedControllerApiService) GetConstraintStateUsingGET(ctx context.Con } /* -ManagedControllerApiService Get the status of each version of each artifact in each environment +ManagedControllerApiService Get current environment details * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param name name + * @param application application -@return []interface{} +@return []Mapstringobject */ -func (a *ManagedControllerApiService) GetManifestArtifactsUsingGET(ctx context.Context, name string) ([]interface{}, *http.Response, error) { +func (a *ManagedControllerApiService) GetEnvironmentsUsingGET(ctx context.Context, application string) ([]Mapstringobject, *http.Response, error) { var ( localVarHttpMethod = strings.ToUpper("Get") localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - localVarReturnValue []interface{} + localVarReturnValue []Mapstringobject ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/managed/delivery-configs/{name}/artifacts" - localVarPath = strings.Replace(localVarPath, "{"+"name"+"}", fmt.Sprintf("%v", name), -1) + localVarPath := a.client.cfg.BasePath + "/managed/environments/{application}" + localVarPath = strings.Replace(localVarPath, "{"+"application"+"}", fmt.Sprintf("%v", application), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -1211,7 +1218,7 @@ func (a *ManagedControllerApiService) GetManifestArtifactsUsingGET(ctx context.C } // to determine the Accept header - localVarHttpHeaderAccepts := []string{"*/*"} + localVarHttpHeaderAccepts := []string{"application/json"} // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -1249,7 +1256,7 @@ func (a *ManagedControllerApiService) GetManifestArtifactsUsingGET(ctx context.C } if localVarHttpResponse.StatusCode == 200 { - var v []interface{} + var v []Mapstringobject err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() @@ -1266,23 +1273,23 @@ func (a *ManagedControllerApiService) GetManifestArtifactsUsingGET(ctx context.C } /* -ManagedControllerApiService Get a delivery config manifest +ManagedControllerApiService Get the status of each version of each artifact in each environment * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name name -@return DeliveryConfig +@return []interface{} */ -func (a *ManagedControllerApiService) GetManifestUsingGET(ctx context.Context, name string) (DeliveryConfig, *http.Response, error) { +func (a *ManagedControllerApiService) GetManifestArtifactsUsingGET(ctx context.Context, name string) ([]interface{}, *http.Response, error) { var ( localVarHttpMethod = strings.ToUpper("Get") localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - localVarReturnValue DeliveryConfig + localVarReturnValue []interface{} ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/managed/delivery-configs/{name}" + localVarPath := a.client.cfg.BasePath + "/managed/delivery-configs/{name}/artifacts" localVarPath = strings.Replace(localVarPath, "{"+"name"+"}", fmt.Sprintf("%v", name), -1) localVarHeaderParams := make(map[string]string) @@ -1337,7 +1344,7 @@ func (a *ManagedControllerApiService) GetManifestUsingGET(ctx context.Context, n } if localVarHttpResponse.StatusCode == 200 { - var v DeliveryConfig + var v []interface{} err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() @@ -1354,24 +1361,24 @@ func (a *ManagedControllerApiService) GetManifestUsingGET(ctx context.Context, n } /* -ManagedControllerApiService Get status of a resource +ManagedControllerApiService Get a delivery config manifest * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param resourceId resourceId + * @param name name -@return interface{} +@return DeliveryConfig */ -func (a *ManagedControllerApiService) GetResourceStatusUsingGET(ctx context.Context, resourceId string) (interface{}, *http.Response, error) { +func (a *ManagedControllerApiService) GetManifestUsingGET(ctx context.Context, name string) (DeliveryConfig, *http.Response, error) { var ( localVarHttpMethod = strings.ToUpper("Get") localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - localVarReturnValue interface{} + localVarReturnValue DeliveryConfig ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/managed/resources/{resourceId}/status" - localVarPath = strings.Replace(localVarPath, "{"+"resourceId"+"}", fmt.Sprintf("%v", resourceId), -1) + localVarPath := a.client.cfg.BasePath + "/managed/delivery-configs/{name}" + localVarPath = strings.Replace(localVarPath, "{"+"name"+"}", fmt.Sprintf("%v", name), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -1425,7 +1432,7 @@ func (a *ManagedControllerApiService) GetResourceStatusUsingGET(ctx context.Cont } if localVarHttpResponse.StatusCode == 200 { - var v interface{} + var v DeliveryConfig err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() @@ -1442,24 +1449,24 @@ func (a *ManagedControllerApiService) GetResourceStatusUsingGET(ctx context.Cont } /* -ManagedControllerApiService Get a resource +ManagedControllerApiService Get a delivery config manifest * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param resourceId resourceId + * @param name name -@return Resource +@return DeliveryConfig */ -func (a *ManagedControllerApiService) GetResourceUsingGET(ctx context.Context, resourceId string) (Resource, *http.Response, error) { +func (a *ManagedControllerApiService) GetManifestYamlUsingGET(ctx context.Context, name string) (DeliveryConfig, *http.Response, error) { var ( localVarHttpMethod = strings.ToUpper("Get") localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - localVarReturnValue Resource + localVarReturnValue DeliveryConfig ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/managed/resources/{resourceId}" - localVarPath = strings.Replace(localVarPath, "{"+"resourceId"+"}", fmt.Sprintf("%v", resourceId), -1) + localVarPath := a.client.cfg.BasePath + "/managed/delivery-configs/{name}.yml" + localVarPath = strings.Replace(localVarPath, "{"+"name"+"}", fmt.Sprintf("%v", name), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -1475,7 +1482,7 @@ func (a *ManagedControllerApiService) GetResourceUsingGET(ctx context.Context, r } // to determine the Accept header - localVarHttpHeaderAccepts := []string{"*/*"} + localVarHttpHeaderAccepts := []string{"application/x-yaml"} // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -1513,7 +1520,7 @@ func (a *ManagedControllerApiService) GetResourceUsingGET(ctx context.Context, r } if localVarHttpResponse.StatusCode == 200 { - var v Resource + var v DeliveryConfig err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() @@ -1530,31 +1537,32 @@ func (a *ManagedControllerApiService) GetResourceUsingGET(ctx context.Context, r } /* -ManagedControllerApiService Pause management of an entire application +ManagedControllerApiService Get a report of application onboarding * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param application application - + * @param accept Accept + * @param params params +@return string */ -func (a *ManagedControllerApiService) PauseApplicationUsingPOST(ctx context.Context, application string) (*http.Response, error) { +func (a *ManagedControllerApiService) GetOnboardingReportUsingGET(ctx context.Context, accept string, params interface{}) (string, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") + localVarHttpMethod = strings.ToUpper("Get") localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - + localVarReturnValue string ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/managed/application/{application}/pause" - localVarPath = strings.Replace(localVarPath, "{"+"application"+"}", fmt.Sprintf("%v", application), -1) + localVarPath := a.client.cfg.BasePath + "/managed/reports/onboarding" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + localVarQueryParams.Add("params", parameterToString(params, "")) // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} + localVarHttpContentTypes := []string{} // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -1570,22 +1578,30 @@ func (a *ManagedControllerApiService) PauseApplicationUsingPOST(ctx context.Cont if localVarHttpHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHttpHeaderAccept } + localVarHeaderParams["Accept"] = parameterToString(accept, "") r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) if err != nil { - return nil, err + return localVarReturnValue, nil, err } localVarHttpResponse, err := a.client.callAPI(r) if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err + return localVarReturnValue, localVarHttpResponse, err } localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) localVarHttpResponse.Body.Close() if err != nil { - return localVarHttpResponse, err + return localVarReturnValue, localVarHttpResponse, err } + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ @@ -1593,30 +1609,41 @@ func (a *ManagedControllerApiService) PauseApplicationUsingPOST(ctx context.Cont error: localVarHttpResponse.Status, } - return localVarHttpResponse, newErr + if localVarHttpResponse.StatusCode == 200 { + var v string + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr } - return localVarHttpResponse, nil + return localVarReturnValue, localVarHttpResponse, nil } /* -ManagedControllerApiService Pause management of a resource +ManagedControllerApiService Get status of a resource * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param resourceId resourceId - +@return interface{} */ -func (a *ManagedControllerApiService) PauseResourceUsingPOST(ctx context.Context, resourceId string) (*http.Response, error) { +func (a *ManagedControllerApiService) GetResourceStatusUsingGET(ctx context.Context, resourceId string) (interface{}, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") + localVarHttpMethod = strings.ToUpper("Get") localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - + localVarReturnValue interface{} ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/managed/resources/{resourceId}/pause" + localVarPath := a.client.cfg.BasePath + "/managed/resources/{resourceId}/status" localVarPath = strings.Replace(localVarPath, "{"+"resourceId"+"}", fmt.Sprintf("%v", resourceId), -1) localVarHeaderParams := make(map[string]string) @@ -1624,7 +1651,7 @@ func (a *ManagedControllerApiService) PauseResourceUsingPOST(ctx context.Context localVarFormParams := url.Values{} // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} + localVarHttpContentTypes := []string{} // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -1642,20 +1669,27 @@ func (a *ManagedControllerApiService) PauseResourceUsingPOST(ctx context.Context } r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) if err != nil { - return nil, err + return localVarReturnValue, nil, err } localVarHttpResponse, err := a.client.callAPI(r) if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err + return localVarReturnValue, localVarHttpResponse, err } localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) localVarHttpResponse.Body.Close() if err != nil { - return localVarHttpResponse, err + return localVarReturnValue, localVarHttpResponse, err } + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ @@ -1663,31 +1697,42 @@ func (a *ManagedControllerApiService) PauseResourceUsingPOST(ctx context.Context error: localVarHttpResponse.Status, } - return localVarHttpResponse, newErr + if localVarHttpResponse.StatusCode == 200 { + var v interface{} + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr } - return localVarHttpResponse, nil + return localVarReturnValue, localVarHttpResponse, nil } /* -ManagedControllerApiService Resume management of an entire application +ManagedControllerApiService Get a resource * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param application application - + * @param resourceId resourceId +@return Resource */ -func (a *ManagedControllerApiService) ResumeApplicationUsingDELETE(ctx context.Context, application string) (*http.Response, error) { +func (a *ManagedControllerApiService) GetResourceUsingGET(ctx context.Context, resourceId string) (Resource, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Delete") + localVarHttpMethod = strings.ToUpper("Get") localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - + localVarReturnValue Resource ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/managed/application/{application}/pause" - localVarPath = strings.Replace(localVarPath, "{"+"application"+"}", fmt.Sprintf("%v", application), -1) + localVarPath := a.client.cfg.BasePath + "/managed/resources/{resourceId}" + localVarPath = strings.Replace(localVarPath, "{"+"resourceId"+"}", fmt.Sprintf("%v", resourceId), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -1712,20 +1757,27 @@ func (a *ManagedControllerApiService) ResumeApplicationUsingDELETE(ctx context.C } r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) if err != nil { - return nil, err + return localVarReturnValue, nil, err } localVarHttpResponse, err := a.client.callAPI(r) if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err + return localVarReturnValue, localVarHttpResponse, err } localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) localVarHttpResponse.Body.Close() if err != nil { - return localVarHttpResponse, err + return localVarReturnValue, localVarHttpResponse, err } + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ @@ -1733,30 +1785,41 @@ func (a *ManagedControllerApiService) ResumeApplicationUsingDELETE(ctx context.C error: localVarHttpResponse.Status, } - return localVarHttpResponse, newErr + if localVarHttpResponse.StatusCode == 200 { + var v Resource + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr } - return localVarHttpResponse, nil + return localVarReturnValue, localVarHttpResponse, nil } /* -ManagedControllerApiService Resume management of a resource +ManagedControllerApiService Get a resource * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param resourceId resourceId - +@return Resource */ -func (a *ManagedControllerApiService) ResumeResourceUsingDELETE(ctx context.Context, resourceId string) (*http.Response, error) { +func (a *ManagedControllerApiService) GetResourceYamlUsingGET(ctx context.Context, resourceId string) (Resource, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Delete") + localVarHttpMethod = strings.ToUpper("Get") localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - + localVarReturnValue Resource ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/managed/resources/{resourceId}/pause" + localVarPath := a.client.cfg.BasePath + "/managed/resources/{resourceId}.yml" localVarPath = strings.Replace(localVarPath, "{"+"resourceId"+"}", fmt.Sprintf("%v", resourceId), -1) localVarHeaderParams := make(map[string]string) @@ -1773,7 +1836,7 @@ func (a *ManagedControllerApiService) ResumeResourceUsingDELETE(ctx context.Cont } // to determine the Accept header - localVarHttpHeaderAccepts := []string{"*/*"} + localVarHttpHeaderAccepts := []string{"application/x-yaml"} // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -1782,20 +1845,27 @@ func (a *ManagedControllerApiService) ResumeResourceUsingDELETE(ctx context.Cont } r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) if err != nil { - return nil, err + return localVarReturnValue, nil, err } localVarHttpResponse, err := a.client.callAPI(r) if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err + return localVarReturnValue, localVarHttpResponse, err } localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) localVarHttpResponse.Body.Close() if err != nil { - return localVarHttpResponse, err + return localVarReturnValue, localVarHttpResponse, err } + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ @@ -1803,10 +1873,1517 @@ func (a *ManagedControllerApiService) ResumeResourceUsingDELETE(ctx context.Cont error: localVarHttpResponse.Status, } - return localVarHttpResponse, newErr + if localVarHttpResponse.StatusCode == 200 { + var v Resource + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr } - return localVarHttpResponse, nil + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +ManagedControllerApiService Post a graphql request + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param query query + +@return interface{} +*/ +func (a *ManagedControllerApiService) GraphqlUsingPOST(ctx context.Context, query GraphQlRequest) (interface{}, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue interface{} + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/managed/graphql" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &query + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v interface{} + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +ManagedControllerApiService Veto an artifact version in an environment + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param application application + * @param veto veto + + +*/ +func (a *ManagedControllerApiService) MarkBadUsingPOST(ctx context.Context, application string, veto EnvironmentArtifactVeto) (*http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/managed/application/{application}/mark/bad" + localVarPath = strings.Replace(localVarPath, "{"+"application"+"}", fmt.Sprintf("%v", application), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"*/*"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &veto + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarHttpResponse, err + } + + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + return localVarHttpResponse, newErr + } + + return localVarHttpResponse, nil +} + +/* +ManagedControllerApiService Delete veto of an artifact version in an environment + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param application application + * @param veto veto + + +*/ +func (a *ManagedControllerApiService) MarkGoodUsingPOST(ctx context.Context, application string, veto EnvironmentArtifactVeto) (*http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/managed/application/{application}/mark/good" + localVarPath = strings.Replace(localVarPath, "{"+"application"+"}", fmt.Sprintf("%v", application), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"*/*"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &veto + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarHttpResponse, err + } + + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + return localVarHttpResponse, newErr + } + + return localVarHttpResponse, nil +} + +/* +ManagedControllerApiService Override the status of a verification + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param application application + * @param environment environment + * @param payload payload + + +*/ +func (a *ManagedControllerApiService) OverrideVerificationUsingPOST(ctx context.Context, application string, environment string, payload OverrideVerificationRequest) (*http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/managed/{application}/environment/{environment}/verifications" + localVarPath = strings.Replace(localVarPath, "{"+"application"+"}", fmt.Sprintf("%v", application), -1) + localVarPath = strings.Replace(localVarPath, "{"+"environment"+"}", fmt.Sprintf("%v", environment), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"*/*"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &payload + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarHttpResponse, err + } + + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + return localVarHttpResponse, newErr + } + + return localVarHttpResponse, nil +} + +/* +ManagedControllerApiService Pause management of an entire application + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param application application + + +*/ +func (a *ManagedControllerApiService) PauseApplicationUsingPOST(ctx context.Context, application string) (*http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/managed/application/{application}/pause" + localVarPath = strings.Replace(localVarPath, "{"+"application"+"}", fmt.Sprintf("%v", application), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"*/*"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarHttpResponse, err + } + + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + return localVarHttpResponse, newErr + } + + return localVarHttpResponse, nil +} + +/* +ManagedControllerApiService Pause management of a resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param resourceId resourceId + + +*/ +func (a *ManagedControllerApiService) PauseResourceUsingPOST(ctx context.Context, resourceId string) (*http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/managed/resources/{resourceId}/pause" + localVarPath = strings.Replace(localVarPath, "{"+"resourceId"+"}", fmt.Sprintf("%v", resourceId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"*/*"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarHttpResponse, err + } + + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + return localVarHttpResponse, newErr + } + + return localVarHttpResponse, nil +} + +/* +ManagedControllerApiService processNotificationCallback + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param source source + * @param optional nil or *ManagedControllerApiProcessNotificationCallbackUsingPOSTOpts - Optional Parameters: + * @param "Body" (optional.String) - + * @param "HeadersETag" (optional.String) - + * @param "HeadersAcceptCharset0Registered" (optional.Bool) - + * @param "HeadersAcceptLanguageAsLocales0ISO3Country" (optional.String) - + * @param "HeadersAcceptLanguageAsLocales0ISO3Language" (optional.String) - + * @param "HeadersAcceptLanguageAsLocales0Country" (optional.String) - + * @param "HeadersAcceptLanguageAsLocales0DisplayCountry" (optional.String) - + * @param "HeadersAcceptLanguageAsLocales0DisplayLanguage" (optional.String) - + * @param "HeadersAcceptLanguageAsLocales0DisplayName" (optional.String) - + * @param "HeadersAcceptLanguageAsLocales0DisplayScript" (optional.String) - + * @param "HeadersAcceptLanguageAsLocales0DisplayVariant" (optional.String) - + * @param "HeadersAcceptLanguageAsLocales0Language" (optional.String) - + * @param "HeadersAcceptLanguageAsLocales0Script" (optional.String) - + * @param "HeadersAcceptLanguageAsLocales0UnicodeLocaleAttributes" (optional.Interface of []string) - + * @param "HeadersAcceptLanguageAsLocales0UnicodeLocaleKeys" (optional.Interface of []string) - + * @param "HeadersAcceptLanguageAsLocales0Variant" (optional.String) - + * @param "HeadersAcceptLanguage0Range" (optional.String) - + * @param "HeadersAcceptLanguage0Weight" (optional.Float64) - + * @param "HeadersAccept0CharsetRegistered" (optional.Bool) - + * @param "HeadersAccept0Concrete" (optional.Bool) - + * @param "HeadersAccept0QualityValue" (optional.Float64) - + * @param "HeadersAccept0Subtype" (optional.String) - + * @param "HeadersAccept0Type" (optional.String) - + * @param "HeadersAccept0WildcardSubtype" (optional.Bool) - + * @param "HeadersAccept0WildcardType" (optional.Bool) - + * @param "HeadersAccessControlAllowCredentials" (optional.Bool) - + * @param "HeadersAccessControlAllowHeaders" (optional.Interface of []string) - + * @param "HeadersAccessControlAllowMethods" (optional.Interface of []string) - + * @param "HeadersAccessControlAllowOrigin" (optional.String) - + * @param "HeadersAccessControlExposeHeaders" (optional.Interface of []string) - + * @param "HeadersAccessControlMaxAge" (optional.Int64) - + * @param "HeadersAccessControlRequestHeaders" (optional.Interface of []string) - + * @param "HeadersAccessControlRequestMethod" (optional.String) - + * @param "HeadersAllow" (optional.Interface of []string) - + * @param "HeadersCacheControl" (optional.String) - + * @param "HeadersConnection" (optional.Interface of []string) - + * @param "HeadersContentDispositionCharsetRegistered" (optional.Bool) - + * @param "HeadersContentDispositionCreationDate" (optional.Time) - + * @param "HeadersContentDispositionFilename" (optional.String) - + * @param "HeadersContentDispositionModificationDate" (optional.Time) - + * @param "HeadersContentDispositionName" (optional.String) - + * @param "HeadersContentDispositionReadDate" (optional.Time) - + * @param "HeadersContentDispositionSize" (optional.Int64) - + * @param "HeadersContentDispositionType" (optional.String) - + * @param "HeadersContentLanguageISO3Country" (optional.String) - + * @param "HeadersContentLanguageISO3Language" (optional.String) - + * @param "HeadersContentLanguageCountry" (optional.String) - + * @param "HeadersContentLanguageDisplayCountry" (optional.String) - + * @param "HeadersContentLanguageDisplayLanguage" (optional.String) - + * @param "HeadersContentLanguageDisplayName" (optional.String) - + * @param "HeadersContentLanguageDisplayScript" (optional.String) - + * @param "HeadersContentLanguageDisplayVariant" (optional.String) - + * @param "HeadersContentLanguageLanguage" (optional.String) - + * @param "HeadersContentLanguageScript" (optional.String) - + * @param "HeadersContentLanguageUnicodeLocaleAttributes" (optional.Interface of []string) - + * @param "HeadersContentLanguageUnicodeLocaleKeys" (optional.Interface of []string) - + * @param "HeadersContentLanguageVariant" (optional.String) - + * @param "HeadersContentLength" (optional.Int64) - + * @param "HeadersContentTypeCharsetRegistered" (optional.Bool) - + * @param "HeadersContentTypeConcrete" (optional.Bool) - + * @param "HeadersContentTypeQualityValue" (optional.Float64) - + * @param "HeadersContentTypeSubtype" (optional.String) - + * @param "HeadersContentTypeType" (optional.String) - + * @param "HeadersContentTypeWildcardSubtype" (optional.Bool) - + * @param "HeadersContentTypeWildcardType" (optional.Bool) - + * @param "HeadersDate" (optional.Int64) - + * @param "HeadersExpires" (optional.Int64) - + * @param "HeadersHostAddressMCGlobal" (optional.Bool) - + * @param "HeadersHostAddressMCLinkLocal" (optional.Bool) - + * @param "HeadersHostAddressMCNodeLocal" (optional.Bool) - + * @param "HeadersHostAddressMCOrgLocal" (optional.Bool) - + * @param "HeadersHostAddressMCSiteLocal" (optional.Bool) - + * @param "HeadersHostAddressAddress" (optional.String) - + * @param "HeadersHostAddressAnyLocalAddress" (optional.Bool) - + * @param "HeadersHostAddressCanonicalHostName" (optional.String) - + * @param "HeadersHostAddressHostAddress" (optional.String) - + * @param "HeadersHostAddressHostName" (optional.String) - + * @param "HeadersHostAddressLinkLocalAddress" (optional.Bool) - + * @param "HeadersHostAddressLoopbackAddress" (optional.Bool) - + * @param "HeadersHostAddressMulticastAddress" (optional.Bool) - + * @param "HeadersHostAddressSiteLocalAddress" (optional.Bool) - + * @param "HeadersHostHostName" (optional.String) - + * @param "HeadersHostHostString" (optional.String) - + * @param "HeadersHostPort" (optional.Int32) - + * @param "HeadersHostUnresolved" (optional.Bool) - + * @param "HeadersIfMatch" (optional.Interface of []string) - + * @param "HeadersIfModifiedSince" (optional.Int64) - + * @param "HeadersIfNoneMatch" (optional.Interface of []string) - + * @param "HeadersIfUnmodifiedSince" (optional.Int64) - + * @param "HeadersLastModified" (optional.Int64) - + * @param "HeadersLocationAbsolute" (optional.Bool) - + * @param "HeadersLocationAuthority" (optional.String) - + * @param "HeadersLocationFragment" (optional.String) - + * @param "HeadersLocationHost" (optional.String) - + * @param "HeadersLocationOpaque" (optional.Bool) - + * @param "HeadersLocationPath" (optional.String) - + * @param "HeadersLocationPort" (optional.Int32) - + * @param "HeadersLocationQuery" (optional.String) - + * @param "HeadersLocationRawAuthority" (optional.String) - + * @param "HeadersLocationRawFragment" (optional.String) - + * @param "HeadersLocationRawPath" (optional.String) - + * @param "HeadersLocationRawQuery" (optional.String) - + * @param "HeadersLocationRawSchemeSpecificPart" (optional.String) - + * @param "HeadersLocationRawUserInfo" (optional.String) - + * @param "HeadersLocationScheme" (optional.String) - + * @param "HeadersLocationSchemeSpecificPart" (optional.String) - + * @param "HeadersLocationUserInfo" (optional.String) - + * @param "HeadersOrigin" (optional.String) - + * @param "HeadersPragma" (optional.String) - + * @param "HeadersUpgrade" (optional.String) - + * @param "HeadersVary" (optional.Interface of []string) - + * @param "Method" (optional.String) - + * @param "Type_" (optional.Interface of Object) - + * @param "UrlAbsolute" (optional.Bool) - + * @param "UrlAuthority" (optional.String) - + * @param "UrlFragment" (optional.String) - + * @param "UrlHost" (optional.String) - + * @param "UrlOpaque" (optional.Bool) - + * @param "UrlPath" (optional.String) - + * @param "UrlPort" (optional.Int32) - + * @param "UrlQuery" (optional.String) - + * @param "UrlRawAuthority" (optional.String) - + * @param "UrlRawFragment" (optional.String) - + * @param "UrlRawPath" (optional.String) - + * @param "UrlRawQuery" (optional.String) - + * @param "UrlRawSchemeSpecificPart" (optional.String) - + * @param "UrlRawUserInfo" (optional.String) - + * @param "UrlScheme" (optional.String) - + * @param "UrlSchemeSpecificPart" (optional.String) - + * @param "UrlUserInfo" (optional.String) - + +@return string +*/ + +type ManagedControllerApiProcessNotificationCallbackUsingPOSTOpts struct { + Body optional.String + HeadersETag optional.String + HeadersAcceptCharset0Registered optional.Bool + HeadersAcceptLanguageAsLocales0ISO3Country optional.String + HeadersAcceptLanguageAsLocales0ISO3Language optional.String + HeadersAcceptLanguageAsLocales0Country optional.String + HeadersAcceptLanguageAsLocales0DisplayCountry optional.String + HeadersAcceptLanguageAsLocales0DisplayLanguage optional.String + HeadersAcceptLanguageAsLocales0DisplayName optional.String + HeadersAcceptLanguageAsLocales0DisplayScript optional.String + HeadersAcceptLanguageAsLocales0DisplayVariant optional.String + HeadersAcceptLanguageAsLocales0Language optional.String + HeadersAcceptLanguageAsLocales0Script optional.String + HeadersAcceptLanguageAsLocales0UnicodeLocaleAttributes optional.Interface + HeadersAcceptLanguageAsLocales0UnicodeLocaleKeys optional.Interface + HeadersAcceptLanguageAsLocales0Variant optional.String + HeadersAcceptLanguage0Range optional.String + HeadersAcceptLanguage0Weight optional.Float64 + HeadersAccept0CharsetRegistered optional.Bool + HeadersAccept0Concrete optional.Bool + HeadersAccept0QualityValue optional.Float64 + HeadersAccept0Subtype optional.String + HeadersAccept0Type optional.String + HeadersAccept0WildcardSubtype optional.Bool + HeadersAccept0WildcardType optional.Bool + HeadersAccessControlAllowCredentials optional.Bool + HeadersAccessControlAllowHeaders optional.Interface + HeadersAccessControlAllowMethods optional.Interface + HeadersAccessControlAllowOrigin optional.String + HeadersAccessControlExposeHeaders optional.Interface + HeadersAccessControlMaxAge optional.Int64 + HeadersAccessControlRequestHeaders optional.Interface + HeadersAccessControlRequestMethod optional.String + HeadersAllow optional.Interface + HeadersCacheControl optional.String + HeadersConnection optional.Interface + HeadersContentDispositionCharsetRegistered optional.Bool + HeadersContentDispositionCreationDate optional.Time + HeadersContentDispositionFilename optional.String + HeadersContentDispositionModificationDate optional.Time + HeadersContentDispositionName optional.String + HeadersContentDispositionReadDate optional.Time + HeadersContentDispositionSize optional.Int64 + HeadersContentDispositionType optional.String + HeadersContentLanguageISO3Country optional.String + HeadersContentLanguageISO3Language optional.String + HeadersContentLanguageCountry optional.String + HeadersContentLanguageDisplayCountry optional.String + HeadersContentLanguageDisplayLanguage optional.String + HeadersContentLanguageDisplayName optional.String + HeadersContentLanguageDisplayScript optional.String + HeadersContentLanguageDisplayVariant optional.String + HeadersContentLanguageLanguage optional.String + HeadersContentLanguageScript optional.String + HeadersContentLanguageUnicodeLocaleAttributes optional.Interface + HeadersContentLanguageUnicodeLocaleKeys optional.Interface + HeadersContentLanguageVariant optional.String + HeadersContentLength optional.Int64 + HeadersContentTypeCharsetRegistered optional.Bool + HeadersContentTypeConcrete optional.Bool + HeadersContentTypeQualityValue optional.Float64 + HeadersContentTypeSubtype optional.String + HeadersContentTypeType optional.String + HeadersContentTypeWildcardSubtype optional.Bool + HeadersContentTypeWildcardType optional.Bool + HeadersDate optional.Int64 + HeadersExpires optional.Int64 + HeadersHostAddressMCGlobal optional.Bool + HeadersHostAddressMCLinkLocal optional.Bool + HeadersHostAddressMCNodeLocal optional.Bool + HeadersHostAddressMCOrgLocal optional.Bool + HeadersHostAddressMCSiteLocal optional.Bool + HeadersHostAddressAddress optional.String + HeadersHostAddressAnyLocalAddress optional.Bool + HeadersHostAddressCanonicalHostName optional.String + HeadersHostAddressHostAddress optional.String + HeadersHostAddressHostName optional.String + HeadersHostAddressLinkLocalAddress optional.Bool + HeadersHostAddressLoopbackAddress optional.Bool + HeadersHostAddressMulticastAddress optional.Bool + HeadersHostAddressSiteLocalAddress optional.Bool + HeadersHostHostName optional.String + HeadersHostHostString optional.String + HeadersHostPort optional.Int32 + HeadersHostUnresolved optional.Bool + HeadersIfMatch optional.Interface + HeadersIfModifiedSince optional.Int64 + HeadersIfNoneMatch optional.Interface + HeadersIfUnmodifiedSince optional.Int64 + HeadersLastModified optional.Int64 + HeadersLocationAbsolute optional.Bool + HeadersLocationAuthority optional.String + HeadersLocationFragment optional.String + HeadersLocationHost optional.String + HeadersLocationOpaque optional.Bool + HeadersLocationPath optional.String + HeadersLocationPort optional.Int32 + HeadersLocationQuery optional.String + HeadersLocationRawAuthority optional.String + HeadersLocationRawFragment optional.String + HeadersLocationRawPath optional.String + HeadersLocationRawQuery optional.String + HeadersLocationRawSchemeSpecificPart optional.String + HeadersLocationRawUserInfo optional.String + HeadersLocationScheme optional.String + HeadersLocationSchemeSpecificPart optional.String + HeadersLocationUserInfo optional.String + HeadersOrigin optional.String + HeadersPragma optional.String + HeadersUpgrade optional.String + HeadersVary optional.Interface + Method optional.String + Type_ optional.Interface + UrlAbsolute optional.Bool + UrlAuthority optional.String + UrlFragment optional.String + UrlHost optional.String + UrlOpaque optional.Bool + UrlPath optional.String + UrlPort optional.Int32 + UrlQuery optional.String + UrlRawAuthority optional.String + UrlRawFragment optional.String + UrlRawPath optional.String + UrlRawQuery optional.String + UrlRawSchemeSpecificPart optional.String + UrlRawUserInfo optional.String + UrlScheme optional.String + UrlSchemeSpecificPart optional.String + UrlUserInfo optional.String +} + +func (a *ManagedControllerApiService) ProcessNotificationCallbackUsingPOST(ctx context.Context, source string, localVarOptionals *ManagedControllerApiProcessNotificationCallbackUsingPOSTOpts) (string, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue string + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/managed/notifications/callbacks/{source}" + localVarPath = strings.Replace(localVarPath, "{"+"source"+"}", fmt.Sprintf("%v", source), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + if localVarOptionals != nil && localVarOptionals.Body.IsSet() { + localVarFormParams.Add("body", parameterToString(localVarOptionals.Body.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersETag.IsSet() { + localVarFormParams.Add("headers.ETag", parameterToString(localVarOptionals.HeadersETag.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptCharset0Registered.IsSet() { + localVarFormParams.Add("headers.acceptCharset[0].registered", parameterToString(localVarOptionals.HeadersAcceptCharset0Registered.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptLanguageAsLocales0ISO3Country.IsSet() { + localVarFormParams.Add("headers.acceptLanguageAsLocales[0].ISO3Country", parameterToString(localVarOptionals.HeadersAcceptLanguageAsLocales0ISO3Country.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptLanguageAsLocales0ISO3Language.IsSet() { + localVarFormParams.Add("headers.acceptLanguageAsLocales[0].ISO3Language", parameterToString(localVarOptionals.HeadersAcceptLanguageAsLocales0ISO3Language.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptLanguageAsLocales0Country.IsSet() { + localVarFormParams.Add("headers.acceptLanguageAsLocales[0].country", parameterToString(localVarOptionals.HeadersAcceptLanguageAsLocales0Country.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptLanguageAsLocales0DisplayCountry.IsSet() { + localVarFormParams.Add("headers.acceptLanguageAsLocales[0].displayCountry", parameterToString(localVarOptionals.HeadersAcceptLanguageAsLocales0DisplayCountry.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptLanguageAsLocales0DisplayLanguage.IsSet() { + localVarFormParams.Add("headers.acceptLanguageAsLocales[0].displayLanguage", parameterToString(localVarOptionals.HeadersAcceptLanguageAsLocales0DisplayLanguage.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptLanguageAsLocales0DisplayName.IsSet() { + localVarFormParams.Add("headers.acceptLanguageAsLocales[0].displayName", parameterToString(localVarOptionals.HeadersAcceptLanguageAsLocales0DisplayName.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptLanguageAsLocales0DisplayScript.IsSet() { + localVarFormParams.Add("headers.acceptLanguageAsLocales[0].displayScript", parameterToString(localVarOptionals.HeadersAcceptLanguageAsLocales0DisplayScript.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptLanguageAsLocales0DisplayVariant.IsSet() { + localVarFormParams.Add("headers.acceptLanguageAsLocales[0].displayVariant", parameterToString(localVarOptionals.HeadersAcceptLanguageAsLocales0DisplayVariant.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptLanguageAsLocales0Language.IsSet() { + localVarFormParams.Add("headers.acceptLanguageAsLocales[0].language", parameterToString(localVarOptionals.HeadersAcceptLanguageAsLocales0Language.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptLanguageAsLocales0Script.IsSet() { + localVarFormParams.Add("headers.acceptLanguageAsLocales[0].script", parameterToString(localVarOptionals.HeadersAcceptLanguageAsLocales0Script.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptLanguageAsLocales0UnicodeLocaleAttributes.IsSet() { + localVarFormParams.Add("headers.acceptLanguageAsLocales[0].unicodeLocaleAttributes", parameterToString(localVarOptionals.HeadersAcceptLanguageAsLocales0UnicodeLocaleAttributes.Value(), "multi")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptLanguageAsLocales0UnicodeLocaleKeys.IsSet() { + localVarFormParams.Add("headers.acceptLanguageAsLocales[0].unicodeLocaleKeys", parameterToString(localVarOptionals.HeadersAcceptLanguageAsLocales0UnicodeLocaleKeys.Value(), "multi")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptLanguageAsLocales0Variant.IsSet() { + localVarFormParams.Add("headers.acceptLanguageAsLocales[0].variant", parameterToString(localVarOptionals.HeadersAcceptLanguageAsLocales0Variant.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptLanguage0Range.IsSet() { + localVarFormParams.Add("headers.acceptLanguage[0].range", parameterToString(localVarOptionals.HeadersAcceptLanguage0Range.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAcceptLanguage0Weight.IsSet() { + localVarFormParams.Add("headers.acceptLanguage[0].weight", parameterToString(localVarOptionals.HeadersAcceptLanguage0Weight.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAccept0CharsetRegistered.IsSet() { + localVarFormParams.Add("headers.accept[0].charset.registered", parameterToString(localVarOptionals.HeadersAccept0CharsetRegistered.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAccept0Concrete.IsSet() { + localVarFormParams.Add("headers.accept[0].concrete", parameterToString(localVarOptionals.HeadersAccept0Concrete.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAccept0QualityValue.IsSet() { + localVarFormParams.Add("headers.accept[0].qualityValue", parameterToString(localVarOptionals.HeadersAccept0QualityValue.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAccept0Subtype.IsSet() { + localVarFormParams.Add("headers.accept[0].subtype", parameterToString(localVarOptionals.HeadersAccept0Subtype.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAccept0Type.IsSet() { + localVarFormParams.Add("headers.accept[0].type", parameterToString(localVarOptionals.HeadersAccept0Type.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAccept0WildcardSubtype.IsSet() { + localVarFormParams.Add("headers.accept[0].wildcardSubtype", parameterToString(localVarOptionals.HeadersAccept0WildcardSubtype.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAccept0WildcardType.IsSet() { + localVarFormParams.Add("headers.accept[0].wildcardType", parameterToString(localVarOptionals.HeadersAccept0WildcardType.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAccessControlAllowCredentials.IsSet() { + localVarFormParams.Add("headers.accessControlAllowCredentials", parameterToString(localVarOptionals.HeadersAccessControlAllowCredentials.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAccessControlAllowHeaders.IsSet() { + localVarFormParams.Add("headers.accessControlAllowHeaders", parameterToString(localVarOptionals.HeadersAccessControlAllowHeaders.Value(), "multi")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAccessControlAllowMethods.IsSet() { + localVarFormParams.Add("headers.accessControlAllowMethods", parameterToString(localVarOptionals.HeadersAccessControlAllowMethods.Value(), "multi")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAccessControlAllowOrigin.IsSet() { + localVarFormParams.Add("headers.accessControlAllowOrigin", parameterToString(localVarOptionals.HeadersAccessControlAllowOrigin.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAccessControlExposeHeaders.IsSet() { + localVarFormParams.Add("headers.accessControlExposeHeaders", parameterToString(localVarOptionals.HeadersAccessControlExposeHeaders.Value(), "multi")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAccessControlMaxAge.IsSet() { + localVarFormParams.Add("headers.accessControlMaxAge", parameterToString(localVarOptionals.HeadersAccessControlMaxAge.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAccessControlRequestHeaders.IsSet() { + localVarFormParams.Add("headers.accessControlRequestHeaders", parameterToString(localVarOptionals.HeadersAccessControlRequestHeaders.Value(), "multi")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAccessControlRequestMethod.IsSet() { + localVarFormParams.Add("headers.accessControlRequestMethod", parameterToString(localVarOptionals.HeadersAccessControlRequestMethod.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersAllow.IsSet() { + localVarFormParams.Add("headers.allow", parameterToString(localVarOptionals.HeadersAllow.Value(), "multi")) + } + if localVarOptionals != nil && localVarOptionals.HeadersCacheControl.IsSet() { + localVarFormParams.Add("headers.cacheControl", parameterToString(localVarOptionals.HeadersCacheControl.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersConnection.IsSet() { + localVarFormParams.Add("headers.connection", parameterToString(localVarOptionals.HeadersConnection.Value(), "multi")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentDispositionCharsetRegistered.IsSet() { + localVarFormParams.Add("headers.contentDisposition.charset.registered", parameterToString(localVarOptionals.HeadersContentDispositionCharsetRegistered.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentDispositionCreationDate.IsSet() { + localVarFormParams.Add("headers.contentDisposition.creationDate", parameterToString(localVarOptionals.HeadersContentDispositionCreationDate.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentDispositionFilename.IsSet() { + localVarFormParams.Add("headers.contentDisposition.filename", parameterToString(localVarOptionals.HeadersContentDispositionFilename.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentDispositionModificationDate.IsSet() { + localVarFormParams.Add("headers.contentDisposition.modificationDate", parameterToString(localVarOptionals.HeadersContentDispositionModificationDate.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentDispositionName.IsSet() { + localVarFormParams.Add("headers.contentDisposition.name", parameterToString(localVarOptionals.HeadersContentDispositionName.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentDispositionReadDate.IsSet() { + localVarFormParams.Add("headers.contentDisposition.readDate", parameterToString(localVarOptionals.HeadersContentDispositionReadDate.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentDispositionSize.IsSet() { + localVarFormParams.Add("headers.contentDisposition.size", parameterToString(localVarOptionals.HeadersContentDispositionSize.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentDispositionType.IsSet() { + localVarFormParams.Add("headers.contentDisposition.type", parameterToString(localVarOptionals.HeadersContentDispositionType.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentLanguageISO3Country.IsSet() { + localVarFormParams.Add("headers.contentLanguage.ISO3Country", parameterToString(localVarOptionals.HeadersContentLanguageISO3Country.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentLanguageISO3Language.IsSet() { + localVarFormParams.Add("headers.contentLanguage.ISO3Language", parameterToString(localVarOptionals.HeadersContentLanguageISO3Language.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentLanguageCountry.IsSet() { + localVarFormParams.Add("headers.contentLanguage.country", parameterToString(localVarOptionals.HeadersContentLanguageCountry.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentLanguageDisplayCountry.IsSet() { + localVarFormParams.Add("headers.contentLanguage.displayCountry", parameterToString(localVarOptionals.HeadersContentLanguageDisplayCountry.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentLanguageDisplayLanguage.IsSet() { + localVarFormParams.Add("headers.contentLanguage.displayLanguage", parameterToString(localVarOptionals.HeadersContentLanguageDisplayLanguage.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentLanguageDisplayName.IsSet() { + localVarFormParams.Add("headers.contentLanguage.displayName", parameterToString(localVarOptionals.HeadersContentLanguageDisplayName.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentLanguageDisplayScript.IsSet() { + localVarFormParams.Add("headers.contentLanguage.displayScript", parameterToString(localVarOptionals.HeadersContentLanguageDisplayScript.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentLanguageDisplayVariant.IsSet() { + localVarFormParams.Add("headers.contentLanguage.displayVariant", parameterToString(localVarOptionals.HeadersContentLanguageDisplayVariant.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentLanguageLanguage.IsSet() { + localVarFormParams.Add("headers.contentLanguage.language", parameterToString(localVarOptionals.HeadersContentLanguageLanguage.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentLanguageScript.IsSet() { + localVarFormParams.Add("headers.contentLanguage.script", parameterToString(localVarOptionals.HeadersContentLanguageScript.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentLanguageUnicodeLocaleAttributes.IsSet() { + localVarFormParams.Add("headers.contentLanguage.unicodeLocaleAttributes", parameterToString(localVarOptionals.HeadersContentLanguageUnicodeLocaleAttributes.Value(), "multi")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentLanguageUnicodeLocaleKeys.IsSet() { + localVarFormParams.Add("headers.contentLanguage.unicodeLocaleKeys", parameterToString(localVarOptionals.HeadersContentLanguageUnicodeLocaleKeys.Value(), "multi")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentLanguageVariant.IsSet() { + localVarFormParams.Add("headers.contentLanguage.variant", parameterToString(localVarOptionals.HeadersContentLanguageVariant.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentLength.IsSet() { + localVarFormParams.Add("headers.contentLength", parameterToString(localVarOptionals.HeadersContentLength.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentTypeCharsetRegistered.IsSet() { + localVarFormParams.Add("headers.contentType.charset.registered", parameterToString(localVarOptionals.HeadersContentTypeCharsetRegistered.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentTypeConcrete.IsSet() { + localVarFormParams.Add("headers.contentType.concrete", parameterToString(localVarOptionals.HeadersContentTypeConcrete.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentTypeQualityValue.IsSet() { + localVarFormParams.Add("headers.contentType.qualityValue", parameterToString(localVarOptionals.HeadersContentTypeQualityValue.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentTypeSubtype.IsSet() { + localVarFormParams.Add("headers.contentType.subtype", parameterToString(localVarOptionals.HeadersContentTypeSubtype.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentTypeType.IsSet() { + localVarFormParams.Add("headers.contentType.type", parameterToString(localVarOptionals.HeadersContentTypeType.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentTypeWildcardSubtype.IsSet() { + localVarFormParams.Add("headers.contentType.wildcardSubtype", parameterToString(localVarOptionals.HeadersContentTypeWildcardSubtype.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersContentTypeWildcardType.IsSet() { + localVarFormParams.Add("headers.contentType.wildcardType", parameterToString(localVarOptionals.HeadersContentTypeWildcardType.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersDate.IsSet() { + localVarFormParams.Add("headers.date", parameterToString(localVarOptionals.HeadersDate.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersExpires.IsSet() { + localVarFormParams.Add("headers.expires", parameterToString(localVarOptionals.HeadersExpires.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostAddressMCGlobal.IsSet() { + localVarFormParams.Add("headers.host.address.MCGlobal", parameterToString(localVarOptionals.HeadersHostAddressMCGlobal.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostAddressMCLinkLocal.IsSet() { + localVarFormParams.Add("headers.host.address.MCLinkLocal", parameterToString(localVarOptionals.HeadersHostAddressMCLinkLocal.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostAddressMCNodeLocal.IsSet() { + localVarFormParams.Add("headers.host.address.MCNodeLocal", parameterToString(localVarOptionals.HeadersHostAddressMCNodeLocal.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostAddressMCOrgLocal.IsSet() { + localVarFormParams.Add("headers.host.address.MCOrgLocal", parameterToString(localVarOptionals.HeadersHostAddressMCOrgLocal.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostAddressMCSiteLocal.IsSet() { + localVarFormParams.Add("headers.host.address.MCSiteLocal", parameterToString(localVarOptionals.HeadersHostAddressMCSiteLocal.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostAddressAddress.IsSet() { + localVarFormParams.Add("headers.host.address.address", parameterToString(localVarOptionals.HeadersHostAddressAddress.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostAddressAnyLocalAddress.IsSet() { + localVarFormParams.Add("headers.host.address.anyLocalAddress", parameterToString(localVarOptionals.HeadersHostAddressAnyLocalAddress.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostAddressCanonicalHostName.IsSet() { + localVarFormParams.Add("headers.host.address.canonicalHostName", parameterToString(localVarOptionals.HeadersHostAddressCanonicalHostName.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostAddressHostAddress.IsSet() { + localVarFormParams.Add("headers.host.address.hostAddress", parameterToString(localVarOptionals.HeadersHostAddressHostAddress.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostAddressHostName.IsSet() { + localVarFormParams.Add("headers.host.address.hostName", parameterToString(localVarOptionals.HeadersHostAddressHostName.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostAddressLinkLocalAddress.IsSet() { + localVarFormParams.Add("headers.host.address.linkLocalAddress", parameterToString(localVarOptionals.HeadersHostAddressLinkLocalAddress.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostAddressLoopbackAddress.IsSet() { + localVarFormParams.Add("headers.host.address.loopbackAddress", parameterToString(localVarOptionals.HeadersHostAddressLoopbackAddress.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostAddressMulticastAddress.IsSet() { + localVarFormParams.Add("headers.host.address.multicastAddress", parameterToString(localVarOptionals.HeadersHostAddressMulticastAddress.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostAddressSiteLocalAddress.IsSet() { + localVarFormParams.Add("headers.host.address.siteLocalAddress", parameterToString(localVarOptionals.HeadersHostAddressSiteLocalAddress.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostHostName.IsSet() { + localVarFormParams.Add("headers.host.hostName", parameterToString(localVarOptionals.HeadersHostHostName.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostHostString.IsSet() { + localVarFormParams.Add("headers.host.hostString", parameterToString(localVarOptionals.HeadersHostHostString.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostPort.IsSet() { + localVarFormParams.Add("headers.host.port", parameterToString(localVarOptionals.HeadersHostPort.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersHostUnresolved.IsSet() { + localVarFormParams.Add("headers.host.unresolved", parameterToString(localVarOptionals.HeadersHostUnresolved.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersIfMatch.IsSet() { + localVarFormParams.Add("headers.ifMatch", parameterToString(localVarOptionals.HeadersIfMatch.Value(), "multi")) + } + if localVarOptionals != nil && localVarOptionals.HeadersIfModifiedSince.IsSet() { + localVarFormParams.Add("headers.ifModifiedSince", parameterToString(localVarOptionals.HeadersIfModifiedSince.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersIfNoneMatch.IsSet() { + localVarFormParams.Add("headers.ifNoneMatch", parameterToString(localVarOptionals.HeadersIfNoneMatch.Value(), "multi")) + } + if localVarOptionals != nil && localVarOptionals.HeadersIfUnmodifiedSince.IsSet() { + localVarFormParams.Add("headers.ifUnmodifiedSince", parameterToString(localVarOptionals.HeadersIfUnmodifiedSince.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLastModified.IsSet() { + localVarFormParams.Add("headers.lastModified", parameterToString(localVarOptionals.HeadersLastModified.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationAbsolute.IsSet() { + localVarFormParams.Add("headers.location.absolute", parameterToString(localVarOptionals.HeadersLocationAbsolute.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationAuthority.IsSet() { + localVarFormParams.Add("headers.location.authority", parameterToString(localVarOptionals.HeadersLocationAuthority.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationFragment.IsSet() { + localVarFormParams.Add("headers.location.fragment", parameterToString(localVarOptionals.HeadersLocationFragment.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationHost.IsSet() { + localVarFormParams.Add("headers.location.host", parameterToString(localVarOptionals.HeadersLocationHost.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationOpaque.IsSet() { + localVarFormParams.Add("headers.location.opaque", parameterToString(localVarOptionals.HeadersLocationOpaque.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationPath.IsSet() { + localVarFormParams.Add("headers.location.path", parameterToString(localVarOptionals.HeadersLocationPath.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationPort.IsSet() { + localVarFormParams.Add("headers.location.port", parameterToString(localVarOptionals.HeadersLocationPort.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationQuery.IsSet() { + localVarFormParams.Add("headers.location.query", parameterToString(localVarOptionals.HeadersLocationQuery.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationRawAuthority.IsSet() { + localVarFormParams.Add("headers.location.rawAuthority", parameterToString(localVarOptionals.HeadersLocationRawAuthority.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationRawFragment.IsSet() { + localVarFormParams.Add("headers.location.rawFragment", parameterToString(localVarOptionals.HeadersLocationRawFragment.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationRawPath.IsSet() { + localVarFormParams.Add("headers.location.rawPath", parameterToString(localVarOptionals.HeadersLocationRawPath.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationRawQuery.IsSet() { + localVarFormParams.Add("headers.location.rawQuery", parameterToString(localVarOptionals.HeadersLocationRawQuery.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationRawSchemeSpecificPart.IsSet() { + localVarFormParams.Add("headers.location.rawSchemeSpecificPart", parameterToString(localVarOptionals.HeadersLocationRawSchemeSpecificPart.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationRawUserInfo.IsSet() { + localVarFormParams.Add("headers.location.rawUserInfo", parameterToString(localVarOptionals.HeadersLocationRawUserInfo.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationScheme.IsSet() { + localVarFormParams.Add("headers.location.scheme", parameterToString(localVarOptionals.HeadersLocationScheme.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationSchemeSpecificPart.IsSet() { + localVarFormParams.Add("headers.location.schemeSpecificPart", parameterToString(localVarOptionals.HeadersLocationSchemeSpecificPart.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersLocationUserInfo.IsSet() { + localVarFormParams.Add("headers.location.userInfo", parameterToString(localVarOptionals.HeadersLocationUserInfo.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersOrigin.IsSet() { + localVarFormParams.Add("headers.origin", parameterToString(localVarOptionals.HeadersOrigin.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersPragma.IsSet() { + localVarFormParams.Add("headers.pragma", parameterToString(localVarOptionals.HeadersPragma.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersUpgrade.IsSet() { + localVarFormParams.Add("headers.upgrade", parameterToString(localVarOptionals.HeadersUpgrade.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.HeadersVary.IsSet() { + localVarFormParams.Add("headers.vary", parameterToString(localVarOptionals.HeadersVary.Value(), "multi")) + } + if localVarOptionals != nil && localVarOptionals.Method.IsSet() { + localVarFormParams.Add("method", parameterToString(localVarOptionals.Method.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Type_.IsSet() { + localVarFormParams.Add("type", parameterToString(localVarOptionals.Type_.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlAbsolute.IsSet() { + localVarFormParams.Add("url.absolute", parameterToString(localVarOptionals.UrlAbsolute.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlAuthority.IsSet() { + localVarFormParams.Add("url.authority", parameterToString(localVarOptionals.UrlAuthority.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlFragment.IsSet() { + localVarFormParams.Add("url.fragment", parameterToString(localVarOptionals.UrlFragment.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlHost.IsSet() { + localVarFormParams.Add("url.host", parameterToString(localVarOptionals.UrlHost.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlOpaque.IsSet() { + localVarFormParams.Add("url.opaque", parameterToString(localVarOptionals.UrlOpaque.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlPath.IsSet() { + localVarFormParams.Add("url.path", parameterToString(localVarOptionals.UrlPath.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlPort.IsSet() { + localVarFormParams.Add("url.port", parameterToString(localVarOptionals.UrlPort.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlQuery.IsSet() { + localVarFormParams.Add("url.query", parameterToString(localVarOptionals.UrlQuery.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlRawAuthority.IsSet() { + localVarFormParams.Add("url.rawAuthority", parameterToString(localVarOptionals.UrlRawAuthority.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlRawFragment.IsSet() { + localVarFormParams.Add("url.rawFragment", parameterToString(localVarOptionals.UrlRawFragment.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlRawPath.IsSet() { + localVarFormParams.Add("url.rawPath", parameterToString(localVarOptionals.UrlRawPath.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlRawQuery.IsSet() { + localVarFormParams.Add("url.rawQuery", parameterToString(localVarOptionals.UrlRawQuery.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlRawSchemeSpecificPart.IsSet() { + localVarFormParams.Add("url.rawSchemeSpecificPart", parameterToString(localVarOptionals.UrlRawSchemeSpecificPart.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlRawUserInfo.IsSet() { + localVarFormParams.Add("url.rawUserInfo", parameterToString(localVarOptionals.UrlRawUserInfo.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlScheme.IsSet() { + localVarFormParams.Add("url.scheme", parameterToString(localVarOptionals.UrlScheme.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlSchemeSpecificPart.IsSet() { + localVarFormParams.Add("url.schemeSpecificPart", parameterToString(localVarOptionals.UrlSchemeSpecificPart.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.UrlUserInfo.IsSet() { + localVarFormParams.Add("url.userInfo", parameterToString(localVarOptionals.UrlUserInfo.Value(), "")) + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v string + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +ManagedControllerApiService Resume management of an entire application + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param application application + + +*/ +func (a *ManagedControllerApiService) ResumeApplicationUsingDELETE(ctx context.Context, application string) (*http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/managed/application/{application}/pause" + localVarPath = strings.Replace(localVarPath, "{"+"application"+"}", fmt.Sprintf("%v", application), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"*/*"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarHttpResponse, err + } + + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + return localVarHttpResponse, newErr + } + + return localVarHttpResponse, nil +} + +/* +ManagedControllerApiService Resume management of a resource + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param resourceId resourceId + + +*/ +func (a *ManagedControllerApiService) ResumeResourceUsingDELETE(ctx context.Context, resourceId string) (*http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/managed/resources/{resourceId}/pause" + localVarPath = strings.Replace(localVarPath, "{"+"resourceId"+"}", fmt.Sprintf("%v", resourceId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"*/*"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarHttpResponse, err + } + + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + return localVarHttpResponse, newErr + } + + return localVarHttpResponse, nil +} + +/* +ManagedControllerApiService Retry a verification + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param application application + * @param environment environment + * @param payload payload + * @param verificationId verificationId + + +*/ +func (a *ManagedControllerApiService) RetryVerificationUsingPOST(ctx context.Context, application string, environment string, payload RetryVerificationRequest, verificationId string) (*http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/managed/{application}/environment/{environment}/verifications/retry" + localVarPath = strings.Replace(localVarPath, "{"+"application"+"}", fmt.Sprintf("%v", application), -1) + localVarPath = strings.Replace(localVarPath, "{"+"environment"+"}", fmt.Sprintf("%v", environment), -1) + localVarPath = strings.Replace(localVarPath, "{"+"verificationId"+"}", fmt.Sprintf("%v", verificationId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"*/*"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &payload + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarHttpResponse, err + } + + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + return localVarHttpResponse, newErr + } + + return localVarHttpResponse, nil +} + +/* +ManagedControllerApiService Ad-hoc validate and diff a config manifest + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + +@return interface{} +*/ +func (a *ManagedControllerApiService) SchemaUsingGET(ctx context.Context) (interface{}, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue interface{} + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/managed/delivery-configs/schema" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json", "application/x-yaml"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v interface{} + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil } /* diff --git a/gateapi/api_raw_resource_controller.go b/gateapi/api_raw_resource_controller.go new file mode 100644 index 00000000..d5da21ec --- /dev/null +++ b/gateapi/api_raw_resource_controller.go @@ -0,0 +1,115 @@ + +/* + * Spinnaker API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: 1.0.0 + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package swagger + +import ( + "context" + "io/ioutil" + "net/http" + "net/url" + "strings" + "fmt" +) + +// Linger please +var ( + _ context.Context +) + +type RawResourceControllerApiService service + +/* +RawResourceControllerApiService Retrieve a list of raw resources for a given application + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param application application + +@return []interface{} +*/ +func (a *RawResourceControllerApiService) GetApplicationRawResourcesUsingGET(ctx context.Context, application string) ([]interface{}, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue []interface{} + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/applications/{application}/rawResources" + localVarPath = strings.Replace(localVarPath, "{"+"application"+"}", fmt.Sprintf("%v", application), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"*/*"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v []interface{} + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} diff --git a/gateapi/api_v2_canary_controller.go b/gateapi/api_v2_canary_controller.go index 01ff29bb..b7d56c86 100644 --- a/gateapi/api_v2_canary_controller.go +++ b/gateapi/api_v2_canary_controller.go @@ -231,6 +231,7 @@ V2CanaryControllerApiService Retrieve a list of an application's canary resu * @param application application * @param limit limit * @param optional nil or *V2CanaryControllerApiGetCanaryResultsByApplicationUsingGETOpts - Optional Parameters: + * @param "Page" (optional.Int32) - page * @param "Statuses" (optional.String) - Comma-separated list of statuses, e.g.: RUNNING, SUCCEEDED, TERMINAL * @param "StorageAccountName" (optional.String) - storageAccountName @@ -238,6 +239,7 @@ V2CanaryControllerApiService Retrieve a list of an application's canary resu */ type V2CanaryControllerApiGetCanaryResultsByApplicationUsingGETOpts struct { + Page optional.Int32 Statuses optional.String StorageAccountName optional.String } @@ -260,6 +262,9 @@ func (a *V2CanaryControllerApiService) GetCanaryResultsByApplicationUsingGET(ctx localVarFormParams := url.Values{} localVarQueryParams.Add("limit", parameterToString(limit, "")) + if localVarOptionals != nil && localVarOptionals.Page.IsSet() { + localVarQueryParams.Add("page", parameterToString(localVarOptionals.Page.Value(), "")) + } if localVarOptionals != nil && localVarOptionals.Statuses.IsSet() { localVarQueryParams.Add("statuses", parameterToString(localVarOptionals.Statuses.Value(), "")) } diff --git a/gateapi/client.go b/gateapi/client.go index e83296c2..90593655 100644 --- a/gateapi/client.go +++ b/gateapi/client.go @@ -101,6 +101,8 @@ type APIClient struct { PubsubSubscriptionControllerApi *PubsubSubscriptionControllerApiService + RawResourceControllerApi *RawResourceControllerApiService + ReorderPipelinesControllerApi *ReorderPipelinesControllerApiService SearchControllerApi *SearchControllerApiService @@ -172,6 +174,7 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.PluginsInstalledControllerApi = (*PluginsInstalledControllerApiService)(&c.common) c.ProjectControllerApi = (*ProjectControllerApiService)(&c.common) c.PubsubSubscriptionControllerApi = (*PubsubSubscriptionControllerApiService)(&c.common) + c.RawResourceControllerApi = (*RawResourceControllerApiService)(&c.common) c.ReorderPipelinesControllerApi = (*ReorderPipelinesControllerApiService)(&c.common) c.SearchControllerApi = (*SearchControllerApiService)(&c.common) c.SecurityGroupControllerApi = (*SecurityGroupControllerApiService)(&c.common) diff --git a/gateapi/docs/Account.md b/gateapi/docs/Account.md index f726106c..cfd4827b 100644 --- a/gateapi/docs/Account.md +++ b/gateapi/docs/Account.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AccountId** | **string** | | [optional] [default to null] -**RequiredGroupMembership** | **[]string** | | [optional] [default to null] -**Type_** | **string** | | [optional] [default to null] **Name** | **string** | | [optional] [default to null] **Permissions** | [**map[string][]string**](array.md) | | [optional] [default to null] +**RequiredGroupMembership** | **[]string** | | [optional] [default to null] +**Type_** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/AccountDefinition.md b/gateapi/docs/AccountDefinition.md new file mode 100644 index 00000000..a1b8ba4f --- /dev/null +++ b/gateapi/docs/AccountDefinition.md @@ -0,0 +1,11 @@ +# AccountDefinition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type_** | **string** | | [optional] [default to null] +**Name** | **string** | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gateapi/docs/AccountDetails.md b/gateapi/docs/AccountDetails.md index 2947d6b8..d7f5ad4f 100644 --- a/gateapi/docs/AccountDetails.md +++ b/gateapi/docs/AccountDetails.md @@ -3,16 +3,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CloudProvider** | **string** | | [optional] [default to null] -**Permissions** | [**map[string][]string**](array.md) | | [optional] [default to null] **AccountId** | **string** | | [optional] [default to null] **AccountType** | **string** | | [optional] [default to null] -**Type_** | **string** | | [optional] [default to null] -**PrimaryAccount** | **bool** | | [optional] [default to null] +**ChallengeDestructiveActions** | **bool** | | [optional] [default to null] +**CloudProvider** | **string** | | [optional] [default to null] **Environment** | **string** | | [optional] [default to null] -**RequiredGroupMembership** | **[]string** | | [optional] [default to null] **Name** | **string** | | [optional] [default to null] -**ChallengeDestructiveActions** | **bool** | | [optional] [default to null] +**Permissions** | [**map[string][]string**](array.md) | | [optional] [default to null] +**PrimaryAccount** | **bool** | | [optional] [default to null] +**RequiredGroupMembership** | **[]string** | | [optional] [default to null] +**Type_** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/CiControllerApi.md b/gateapi/docs/CiControllerApi.md index 96fe1c8a..19c2845b 100644 --- a/gateapi/docs/CiControllerApi.md +++ b/gateapi/docs/CiControllerApi.md @@ -4,11 +4,38 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**GetBuildOutputByIdUsingGET**](CiControllerApi.md#GetBuildOutputByIdUsingGET) | **Get** /ci/builds/{buildId}/output | getBuildOutputById [**GetBuildsUsingGET1**](CiControllerApi.md#GetBuildsUsingGET1) | **Get** /ci/builds | getBuilds +# **GetBuildOutputByIdUsingGET** +> interface{} GetBuildOutputByIdUsingGET(ctx, buildId) +getBuildOutputById + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **buildId** | **string**| buildId | + +### Return type + +[**interface{}**](interface{}.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **GetBuildsUsingGET1** -> []interface{} GetBuildsUsingGET1(ctx, projectKey, repoSlug, optional) +> []Mapstringobject GetBuildsUsingGET1(ctx, optional) getBuilds ### Required Parameters @@ -16,8 +43,6 @@ getBuilds Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **projectKey** | **string**| projectKey | - **repoSlug** | **string**| repoSlug | **optional** | ***CiControllerApiGetBuildsUsingGET1Opts** | optional parameters | nil if no parameters ### Optional Parameters @@ -25,13 +50,15 @@ Optional parameters are passed through a pointer to a CiControllerApiGetBuildsUs Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - + **buildNumber** | **optional.String**| buildNumber | + **commitId** | **optional.String**| commitId | **completionStatus** | **optional.String**| completionStatus | + **projectKey** | **optional.String**| projectKey | + **repoSlug** | **optional.String**| repoSlug | ### Return type -[**[]interface{}**](interface{}.md) +[**[]Mapstringobject**](Map«string,object».md) ### Authorization diff --git a/gateapi/docs/ConstraintState.md b/gateapi/docs/ConstraintState.md index 8db00079..e8424c1c 100644 --- a/gateapi/docs/ConstraintState.md +++ b/gateapi/docs/ConstraintState.md @@ -3,16 +3,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CreatedAt** | **string** | | [optional] [default to null] -**Comment** | **string** | | [optional] [default to null] -**Type_** | **string** | | [optional] [default to null] +**ArtifactVersion** | **string** | | [optional] [default to null] **Attributes** | [***interface{}**](interface{}.md) | | [optional] [default to null] -**Status** | **string** | | [optional] [default to null] -**JudgedBy** | **string** | | [optional] [default to null] +**Comment** | **string** | | [optional] [default to null] +**CreatedAt** | **string** | | [optional] [default to null] **DeliveryConfigName** | **string** | | [optional] [default to null] -**ArtifactVersion** | **string** | | [optional] [default to null] -**JudgedAt** | **string** | | [optional] [default to null] **EnvironmentName** | **string** | | [optional] [default to null] +**JudgedAt** | **string** | | [optional] [default to null] +**JudgedBy** | **string** | | [optional] [default to null] +**Status** | **string** | | [optional] [default to null] +**Type_** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/ConstraintStatus.md b/gateapi/docs/ConstraintStatus.md index 08448c43..17240fb6 100644 --- a/gateapi/docs/ConstraintStatus.md +++ b/gateapi/docs/ConstraintStatus.md @@ -3,11 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**ArtifactReference** | **string** | | [optional] [default to null] **ArtifactVersion** | **string** | | [optional] [default to null] -**Type_** | **string** | | [optional] [default to null] **Comment** | **string** | | [optional] [default to null] **Status** | **string** | | [optional] [default to null] -**ArtifactReference** | **string** | | [optional] [default to null] +**Type_** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/CredentialsControllerApi.md b/gateapi/docs/CredentialsControllerApi.md index 1cd3abd5..92813761 100644 --- a/gateapi/docs/CredentialsControllerApi.md +++ b/gateapi/docs/CredentialsControllerApi.md @@ -4,10 +4,75 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**CreateAccountUsingPOST**](CredentialsControllerApi.md#CreateAccountUsingPOST) | **Post** /credentials | Creates a new account definition. +[**DeleteAccountUsingDELETE**](CredentialsControllerApi.md#DeleteAccountUsingDELETE) | **Delete** /credentials/{accountName} | Deletes an account definition by name. [**GetAccountUsingGET**](CredentialsControllerApi.md#GetAccountUsingGET) | **Get** /credentials/{account} | Retrieve an account's details +[**GetAccountsByTypeUsingGET**](CredentialsControllerApi.md#GetAccountsByTypeUsingGET) | **Get** /credentials/type/{accountType} | Looks up account definitions by type. [**GetAccountsUsingGET**](CredentialsControllerApi.md#GetAccountsUsingGET) | **Get** /credentials | Retrieve a list of accounts +[**UpdateAccountUsingPUT**](CredentialsControllerApi.md#UpdateAccountUsingPUT) | **Put** /credentials | Updates an existing account definition. +# **CreateAccountUsingPOST** +> AccountDefinition CreateAccountUsingPOST(ctx, optional) +Creates a new account definition. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **optional** | ***CredentialsControllerApiCreateAccountUsingPOSTOpts** | optional parameters | nil if no parameters + +### Optional Parameters +Optional parameters are passed through a pointer to a CredentialsControllerApiCreateAccountUsingPOSTOpts struct + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **accountDefinition** | [**optional.Interface of AccountDefinition**](AccountDefinition.md)| Account definition body including a discriminator field named \"@type\" with the account type. | + +### Return type + +[**AccountDefinition**](AccountDefinition.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **DeleteAccountUsingDELETE** +> DeleteAccountUsingDELETE(ctx, accountName) +Deletes an account definition by name. + +Deleted accounts can be restored via the update API. Previously deleted accounts cannot be \"created\" again to avoid conflicts with existing pipelines. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **accountName** | **string**| Name of account definition to delete. | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **GetAccountUsingGET** > AccountDetails GetAccountUsingGET(ctx, account, optional) Retrieve an account's details @@ -55,6 +120,42 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **GetAccountsByTypeUsingGET** +> []AccountDefinition GetAccountsByTypeUsingGET(ctx, accountType, optional) +Looks up account definitions by type. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **accountType** | **string**| Value of the \"@type\" key for accounts to search for. | + **optional** | ***CredentialsControllerApiGetAccountsByTypeUsingGETOpts** | optional parameters | nil if no parameters + +### Optional Parameters +Optional parameters are passed through a pointer to a CredentialsControllerApiGetAccountsByTypeUsingGETOpts struct + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **limit** | **optional.String**| Maximum number of entries to return in results. Used for pagination. | + **startingAccountName** | **optional.String**| Account name to start account definition listing from. Used for pagination. | + +### Return type + +[**[]AccountDefinition**](AccountDefinition.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **GetAccountsUsingGET** > []Account GetAccountsUsingGET(ctx, optional) Retrieve a list of accounts @@ -100,3 +201,36 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **UpdateAccountUsingPUT** +> AccountDefinition UpdateAccountUsingPUT(ctx, optional) +Updates an existing account definition. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **optional** | ***CredentialsControllerApiUpdateAccountUsingPUTOpts** | optional parameters | nil if no parameters + +### Optional Parameters +Optional parameters are passed through a pointer to a CredentialsControllerApiUpdateAccountUsingPUTOpts struct + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **accountDefinition** | [**optional.Interface of AccountDefinition**](AccountDefinition.md)| Account definition body including a discriminator field named \"@type\" with the account type. | + +### Return type + +[**AccountDefinition**](AccountDefinition.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/gateapi/docs/DeliveryConfig.md b/gateapi/docs/DeliveryConfig.md index cf62d6b9..e940322b 100644 --- a/gateapi/docs/DeliveryConfig.md +++ b/gateapi/docs/DeliveryConfig.md @@ -4,11 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ApiVersion** | **string** | | [optional] [default to null] -**ServiceAccount** | **string** | | [optional] [default to null] +**Application** | **string** | | [optional] [default to null] +**Artifacts** | [**[]Mapstringobject**](Map«string,object».md) | | [optional] [default to null] **Environments** | [**[]Environment**](Environment.md) | | [optional] [default to null] **Name** | **string** | | [optional] [default to null] -**Application** | **string** | | [optional] [default to null] -**Artifacts** | [**[]Mapstringobject**](Map«string,object».md) | | [optional] [default to null] +**ServiceAccount** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/Environment.md b/gateapi/docs/Environment.md index b943f46e..8b28357a 100644 --- a/gateapi/docs/Environment.md +++ b/gateapi/docs/Environment.md @@ -3,11 +3,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Constraints** | [**[]Mapstringobject**](Map«string,object».md) | | [optional] [default to null] **Locations** | [***interface{}**](interface{}.md) | | [optional] [default to null] -**Constraints** | [**[]Mapstringobject**](Map«string,object».md) | | [optional] [default to null] **Name** | **string** | | [optional] [default to null] **Notifications** | [**[]Notification**](Notification.md) | | [optional] [default to null] **Resources** | [**[]Resource**](Resource.md) | | [optional] [default to null] +**VerifyWith** | [**[]Mapstringobject**](Map«string,object».md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/EnvironmentArtifactPin.md b/gateapi/docs/EnvironmentArtifactPin.md index 67078a48..2caed2b3 100644 --- a/gateapi/docs/EnvironmentArtifactPin.md +++ b/gateapi/docs/EnvironmentArtifactPin.md @@ -3,11 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Reference** | **string** | | [optional] [default to null] -**PinnedBy** | **string** | | [optional] [default to null] **Comment** | **string** | | [optional] [default to null] -**Version** | **string** | | [optional] [default to null] +**PinnedBy** | **string** | | [optional] [default to null] +**Reference** | **string** | | [optional] [default to null] **TargetEnvironment** | **string** | | [optional] [default to null] +**Version** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/EnvironmentArtifactVeto.md b/gateapi/docs/EnvironmentArtifactVeto.md index a42ade21..c4d089cf 100644 --- a/gateapi/docs/EnvironmentArtifactVeto.md +++ b/gateapi/docs/EnvironmentArtifactVeto.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Comment** | **string** | | [optional] [default to null] -**Version** | **string** | | [optional] [default to null] -**TargetEnvironment** | **string** | | [optional] [default to null] **Reference** | **string** | | [optional] [default to null] +**TargetEnvironment** | **string** | | [optional] [default to null] +**Version** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/File.md b/gateapi/docs/File.md index f99d2020..4be5157b 100644 --- a/gateapi/docs/File.md +++ b/gateapi/docs/File.md @@ -3,25 +3,25 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Absolute** | **bool** | | [optional] [default to null] +**AbsoluteFile** | [****os.File**](*os.File.md) | | [optional] [default to null] **AbsolutePath** | **string** | | [optional] [default to null] -**Parent** | **string** | | [optional] [default to null] -**UsableSpace** | **int64** | | [optional] [default to null] -**Readable** | **bool** | | [optional] [default to null] -**Path** | **string** | | [optional] [default to null] -**Executable** | **bool** | | [optional] [default to null] -**TotalSpace** | **int64** | | [optional] [default to null] +**CanonicalFile** | [****os.File**](*os.File.md) | | [optional] [default to null] **CanonicalPath** | **string** | | [optional] [default to null] -**LastModified** | **int64** | | [optional] [default to null] -**Name** | **string** | | [optional] [default to null] **Directory** | **bool** | | [optional] [default to null] -**ParentFile** | [****os.File**](*os.File.md) | | [optional] [default to null] +**Executable** | **bool** | | [optional] [default to null] **File** | **bool** | | [optional] [default to null] -**Hidden** | **bool** | | [optional] [default to null] -**AbsoluteFile** | [****os.File**](*os.File.md) | | [optional] [default to null] -**Absolute** | **bool** | | [optional] [default to null] **FreeSpace** | **int64** | | [optional] [default to null] +**Hidden** | **bool** | | [optional] [default to null] +**LastModified** | **int64** | | [optional] [default to null] +**Name** | **string** | | [optional] [default to null] +**Parent** | **string** | | [optional] [default to null] +**ParentFile** | [****os.File**](*os.File.md) | | [optional] [default to null] +**Path** | **string** | | [optional] [default to null] +**Readable** | **bool** | | [optional] [default to null] +**TotalSpace** | **int64** | | [optional] [default to null] +**UsableSpace** | **int64** | | [optional] [default to null] **Writable** | **bool** | | [optional] [default to null] -**CanonicalFile** | [****os.File**](*os.File.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/GraphQlRequest.md b/gateapi/docs/GraphQlRequest.md new file mode 100644 index 00000000..6d3138cc --- /dev/null +++ b/gateapi/docs/GraphQlRequest.md @@ -0,0 +1,12 @@ +# GraphQlRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**OperationName** | **string** | | [optional] [default to null] +**Query** | **string** | | [optional] [default to null] +**Variables** | [***interface{}**](interface{}.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gateapi/docs/Headers.md b/gateapi/docs/Headers.md new file mode 100644 index 00000000..d7c86d3f --- /dev/null +++ b/gateapi/docs/Headers.md @@ -0,0 +1,12 @@ +# Headers + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**InvokeHeaders** | **map[string]string** | | [optional] [default to null] +**ReadHeaders** | **map[string]string** | | [optional] [default to null] +**WriteHeaders** | **map[string]string** | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gateapi/docs/Http.md b/gateapi/docs/Http.md index 8d97ca47..6f5a95f0 100644 --- a/gateapi/docs/Http.md +++ b/gateapi/docs/Http.md @@ -3,8 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Config** | **map[string]string** | | [optional] [default to null] +**Headers** | [***Headers**](Headers.md) | | [optional] [default to null] +**QueryParams** | **map[string]string** | | [optional] [default to null] **Url** | **string** | | [optional] [default to null] -**Config** | [***interface{}**](interface{}.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/ManagedControllerApi.md b/gateapi/docs/ManagedControllerApi.md index 836ff497..ff9523fb 100644 --- a/gateapi/docs/ManagedControllerApi.md +++ b/gateapi/docs/ManagedControllerApi.md @@ -13,18 +13,29 @@ Method | HTTP request | Description [**DiffResourceUsingPOST**](ManagedControllerApi.md#DiffResourceUsingPOST) | **Post** /managed/resources/diff | Ad-hoc validate and diff a resource [**ExportResourceUsingGET**](ManagedControllerApi.md#ExportResourceUsingGET) | **Get** /managed/resources/export/artifact/{cloudProvider}/{account}/{clusterName} | Generates an artifact definition based on the artifact used in a running cluster [**ExportResourceUsingGET1**](ManagedControllerApi.md#ExportResourceUsingGET1) | **Get** /managed/resources/export/{cloudProvider}/{account}/{type}/{name} | Generate a keel resource definition for a deployed cloud resource -[**GetApiDocsUsingGET**](ManagedControllerApi.md#GetApiDocsUsingGET) | **Get** /managed/api-docs | getApiDocs +[**GetAdoptionReportUsingGET**](ManagedControllerApi.md#GetAdoptionReportUsingGET) | **Get** /managed/reports/adoption | Get a report of Managed Delivery adoption [**GetApplicationDetailsUsingGET**](ManagedControllerApi.md#GetApplicationDetailsUsingGET) | **Get** /managed/application/{application} | Get managed details about an application [**GetConfigByUsingGET**](ManagedControllerApi.md#GetConfigByUsingGET) | **Get** /managed/application/{application}/config | Get the delivery config associated with an application [**GetConstraintStateUsingGET**](ManagedControllerApi.md#GetConstraintStateUsingGET) | **Get** /managed/application/{application}/environment/{environment}/constraints | List up-to {limit} current constraint states for an environment +[**GetEnvironmentsUsingGET**](ManagedControllerApi.md#GetEnvironmentsUsingGET) | **Get** /managed/environments/{application} | Get current environment details [**GetManifestArtifactsUsingGET**](ManagedControllerApi.md#GetManifestArtifactsUsingGET) | **Get** /managed/delivery-configs/{name}/artifacts | Get the status of each version of each artifact in each environment [**GetManifestUsingGET**](ManagedControllerApi.md#GetManifestUsingGET) | **Get** /managed/delivery-configs/{name} | Get a delivery config manifest +[**GetManifestYamlUsingGET**](ManagedControllerApi.md#GetManifestYamlUsingGET) | **Get** /managed/delivery-configs/{name}.yml | Get a delivery config manifest +[**GetOnboardingReportUsingGET**](ManagedControllerApi.md#GetOnboardingReportUsingGET) | **Get** /managed/reports/onboarding | Get a report of application onboarding [**GetResourceStatusUsingGET**](ManagedControllerApi.md#GetResourceStatusUsingGET) | **Get** /managed/resources/{resourceId}/status | Get status of a resource [**GetResourceUsingGET**](ManagedControllerApi.md#GetResourceUsingGET) | **Get** /managed/resources/{resourceId} | Get a resource +[**GetResourceYamlUsingGET**](ManagedControllerApi.md#GetResourceYamlUsingGET) | **Get** /managed/resources/{resourceId}.yml | Get a resource +[**GraphqlUsingPOST**](ManagedControllerApi.md#GraphqlUsingPOST) | **Post** /managed/graphql | Post a graphql request +[**MarkBadUsingPOST**](ManagedControllerApi.md#MarkBadUsingPOST) | **Post** /managed/application/{application}/mark/bad | Veto an artifact version in an environment +[**MarkGoodUsingPOST**](ManagedControllerApi.md#MarkGoodUsingPOST) | **Post** /managed/application/{application}/mark/good | Delete veto of an artifact version in an environment +[**OverrideVerificationUsingPOST**](ManagedControllerApi.md#OverrideVerificationUsingPOST) | **Post** /managed/{application}/environment/{environment}/verifications | Override the status of a verification [**PauseApplicationUsingPOST**](ManagedControllerApi.md#PauseApplicationUsingPOST) | **Post** /managed/application/{application}/pause | Pause management of an entire application [**PauseResourceUsingPOST**](ManagedControllerApi.md#PauseResourceUsingPOST) | **Post** /managed/resources/{resourceId}/pause | Pause management of a resource +[**ProcessNotificationCallbackUsingPOST**](ManagedControllerApi.md#ProcessNotificationCallbackUsingPOST) | **Post** /managed/notifications/callbacks/{source} | processNotificationCallback [**ResumeApplicationUsingDELETE**](ManagedControllerApi.md#ResumeApplicationUsingDELETE) | **Delete** /managed/application/{application}/pause | Resume management of an entire application [**ResumeResourceUsingDELETE**](ManagedControllerApi.md#ResumeResourceUsingDELETE) | **Delete** /managed/resources/{resourceId}/pause | Resume management of a resource +[**RetryVerificationUsingPOST**](ManagedControllerApi.md#RetryVerificationUsingPOST) | **Post** /managed/{application}/environment/{environment}/verifications/retry | Retry a verification +[**SchemaUsingGET**](ManagedControllerApi.md#SchemaUsingGET) | **Get** /managed/delivery-configs/schema | Ad-hoc validate and diff a config manifest [**UpdateConstraintStatusUsingPOST**](ManagedControllerApi.md#UpdateConstraintStatusUsingPOST) | **Post** /managed/application/{application}/environment/{environment}/constraint | Update the status of an environment constraint [**UpsertManifestUsingPOST**](ManagedControllerApi.md#UpsertManifestUsingPOST) | **Post** /managed/delivery-configs | Create or update a delivery config manifest [**ValidateManifestUsingPOST**](ManagedControllerApi.md#ValidateManifestUsingPOST) | **Post** /managed/delivery-configs/validate | Validate a delivery config manifest @@ -286,16 +297,20 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **GetApiDocsUsingGET** -> interface{} GetApiDocsUsingGET(ctx, ) -getApiDocs +# **GetAdoptionReportUsingGET** +> string GetAdoptionReportUsingGET(ctx, params) +Get a report of Managed Delivery adoption ### Required Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **params** | [**interface{}**](.md)| params | ### Return type -[**interface{}**](interface{}.md) +**string** ### Authorization @@ -304,7 +319,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: */* + - **Accept**: text/html [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -328,6 +343,7 @@ Name | Type | Description | Notes **entities** | [**optional.Interface of []string**](string.md)| entities | **includeDetails** | **optional.Bool**| includeDetails | [default to false] + **maxArtifactVersions** | **optional.Int32**| maxArtifactVersions | ### Return type @@ -407,6 +423,32 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **GetEnvironmentsUsingGET** +> []Mapstringobject GetEnvironmentsUsingGET(ctx, application) +Get current environment details + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **application** | **string**| application | + +### Return type + +[**[]Mapstringobject**](Map«string,object».md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **GetManifestArtifactsUsingGET** > []interface{} GetManifestArtifactsUsingGET(ctx, name) Get the status of each version of each artifact in each environment @@ -459,6 +501,59 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **GetManifestYamlUsingGET** +> DeliveryConfig GetManifestYamlUsingGET(ctx, name) +Get a delivery config manifest + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **name** | **string**| name | + +### Return type + +[**DeliveryConfig**](DeliveryConfig.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/x-yaml + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **GetOnboardingReportUsingGET** +> string GetOnboardingReportUsingGET(ctx, accept, params) +Get a report of application onboarding + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **accept** | **string**| Accept | [default to text/html] + **params** | [**interface{}**](.md)| params | + +### Return type + +**string** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **GetResourceStatusUsingGET** > interface{} GetResourceStatusUsingGET(ctx, resourceId) Get status of a resource @@ -511,6 +606,140 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **GetResourceYamlUsingGET** +> Resource GetResourceYamlUsingGET(ctx, resourceId) +Get a resource + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **resourceId** | **string**| resourceId | + +### Return type + +[**Resource**](Resource.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/x-yaml + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **GraphqlUsingPOST** +> interface{} GraphqlUsingPOST(ctx, query) +Post a graphql request + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **query** | [**GraphQlRequest**](GraphQlRequest.md)| query | + +### Return type + +[**interface{}**](interface{}.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **MarkBadUsingPOST** +> MarkBadUsingPOST(ctx, application, veto) +Veto an artifact version in an environment + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **application** | **string**| application | + **veto** | [**EnvironmentArtifactVeto**](EnvironmentArtifactVeto.md)| veto | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **MarkGoodUsingPOST** +> MarkGoodUsingPOST(ctx, application, veto) +Delete veto of an artifact version in an environment + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **application** | **string**| application | + **veto** | [**EnvironmentArtifactVeto**](EnvironmentArtifactVeto.md)| veto | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **OverrideVerificationUsingPOST** +> OverrideVerificationUsingPOST(ctx, application, environment, payload) +Override the status of a verification + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **application** | **string**| application | + **environment** | **string**| environment | + **payload** | [**OverrideVerificationRequest**](OverrideVerificationRequest.md)| payload | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **PauseApplicationUsingPOST** > PauseApplicationUsingPOST(ctx, application) Pause management of an entire application @@ -563,6 +792,170 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **ProcessNotificationCallbackUsingPOST** +> string ProcessNotificationCallbackUsingPOST(ctx, source, optional) +processNotificationCallback + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **source** | **string**| source | + **optional** | ***ManagedControllerApiProcessNotificationCallbackUsingPOSTOpts** | optional parameters | nil if no parameters + +### Optional Parameters +Optional parameters are passed through a pointer to a ManagedControllerApiProcessNotificationCallbackUsingPOSTOpts struct + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **body** | **optional.String**| | + **headersETag** | **optional.String**| | + **headersAcceptCharset0Registered** | **optional.Bool**| | + **headersAcceptLanguageAsLocales0ISO3Country** | **optional.String**| | + **headersAcceptLanguageAsLocales0ISO3Language** | **optional.String**| | + **headersAcceptLanguageAsLocales0Country** | **optional.String**| | + **headersAcceptLanguageAsLocales0DisplayCountry** | **optional.String**| | + **headersAcceptLanguageAsLocales0DisplayLanguage** | **optional.String**| | + **headersAcceptLanguageAsLocales0DisplayName** | **optional.String**| | + **headersAcceptLanguageAsLocales0DisplayScript** | **optional.String**| | + **headersAcceptLanguageAsLocales0DisplayVariant** | **optional.String**| | + **headersAcceptLanguageAsLocales0Language** | **optional.String**| | + **headersAcceptLanguageAsLocales0Script** | **optional.String**| | + **headersAcceptLanguageAsLocales0UnicodeLocaleAttributes** | [**optional.Interface of []string**](string.md)| | + **headersAcceptLanguageAsLocales0UnicodeLocaleKeys** | [**optional.Interface of []string**](string.md)| | + **headersAcceptLanguageAsLocales0Variant** | **optional.String**| | + **headersAcceptLanguage0Range** | **optional.String**| | + **headersAcceptLanguage0Weight** | **optional.Float64**| | + **headersAccept0CharsetRegistered** | **optional.Bool**| | + **headersAccept0Concrete** | **optional.Bool**| | + **headersAccept0QualityValue** | **optional.Float64**| | + **headersAccept0Subtype** | **optional.String**| | + **headersAccept0Type** | **optional.String**| | + **headersAccept0WildcardSubtype** | **optional.Bool**| | + **headersAccept0WildcardType** | **optional.Bool**| | + **headersAccessControlAllowCredentials** | **optional.Bool**| | + **headersAccessControlAllowHeaders** | [**optional.Interface of []string**](string.md)| | + **headersAccessControlAllowMethods** | [**optional.Interface of []string**](string.md)| | + **headersAccessControlAllowOrigin** | **optional.String**| | + **headersAccessControlExposeHeaders** | [**optional.Interface of []string**](string.md)| | + **headersAccessControlMaxAge** | **optional.Int64**| | + **headersAccessControlRequestHeaders** | [**optional.Interface of []string**](string.md)| | + **headersAccessControlRequestMethod** | **optional.String**| | + **headersAllow** | [**optional.Interface of []string**](string.md)| | + **headersCacheControl** | **optional.String**| | + **headersConnection** | [**optional.Interface of []string**](string.md)| | + **headersContentDispositionCharsetRegistered** | **optional.Bool**| | + **headersContentDispositionCreationDate** | **optional.Time**| | + **headersContentDispositionFilename** | **optional.String**| | + **headersContentDispositionModificationDate** | **optional.Time**| | + **headersContentDispositionName** | **optional.String**| | + **headersContentDispositionReadDate** | **optional.Time**| | + **headersContentDispositionSize** | **optional.Int64**| | + **headersContentDispositionType** | **optional.String**| | + **headersContentLanguageISO3Country** | **optional.String**| | + **headersContentLanguageISO3Language** | **optional.String**| | + **headersContentLanguageCountry** | **optional.String**| | + **headersContentLanguageDisplayCountry** | **optional.String**| | + **headersContentLanguageDisplayLanguage** | **optional.String**| | + **headersContentLanguageDisplayName** | **optional.String**| | + **headersContentLanguageDisplayScript** | **optional.String**| | + **headersContentLanguageDisplayVariant** | **optional.String**| | + **headersContentLanguageLanguage** | **optional.String**| | + **headersContentLanguageScript** | **optional.String**| | + **headersContentLanguageUnicodeLocaleAttributes** | [**optional.Interface of []string**](string.md)| | + **headersContentLanguageUnicodeLocaleKeys** | [**optional.Interface of []string**](string.md)| | + **headersContentLanguageVariant** | **optional.String**| | + **headersContentLength** | **optional.Int64**| | + **headersContentTypeCharsetRegistered** | **optional.Bool**| | + **headersContentTypeConcrete** | **optional.Bool**| | + **headersContentTypeQualityValue** | **optional.Float64**| | + **headersContentTypeSubtype** | **optional.String**| | + **headersContentTypeType** | **optional.String**| | + **headersContentTypeWildcardSubtype** | **optional.Bool**| | + **headersContentTypeWildcardType** | **optional.Bool**| | + **headersDate** | **optional.Int64**| | + **headersExpires** | **optional.Int64**| | + **headersHostAddressMCGlobal** | **optional.Bool**| | + **headersHostAddressMCLinkLocal** | **optional.Bool**| | + **headersHostAddressMCNodeLocal** | **optional.Bool**| | + **headersHostAddressMCOrgLocal** | **optional.Bool**| | + **headersHostAddressMCSiteLocal** | **optional.Bool**| | + **headersHostAddressAddress** | **optional.String**| | + **headersHostAddressAnyLocalAddress** | **optional.Bool**| | + **headersHostAddressCanonicalHostName** | **optional.String**| | + **headersHostAddressHostAddress** | **optional.String**| | + **headersHostAddressHostName** | **optional.String**| | + **headersHostAddressLinkLocalAddress** | **optional.Bool**| | + **headersHostAddressLoopbackAddress** | **optional.Bool**| | + **headersHostAddressMulticastAddress** | **optional.Bool**| | + **headersHostAddressSiteLocalAddress** | **optional.Bool**| | + **headersHostHostName** | **optional.String**| | + **headersHostHostString** | **optional.String**| | + **headersHostPort** | **optional.Int32**| | + **headersHostUnresolved** | **optional.Bool**| | + **headersIfMatch** | [**optional.Interface of []string**](string.md)| | + **headersIfModifiedSince** | **optional.Int64**| | + **headersIfNoneMatch** | [**optional.Interface of []string**](string.md)| | + **headersIfUnmodifiedSince** | **optional.Int64**| | + **headersLastModified** | **optional.Int64**| | + **headersLocationAbsolute** | **optional.Bool**| | + **headersLocationAuthority** | **optional.String**| | + **headersLocationFragment** | **optional.String**| | + **headersLocationHost** | **optional.String**| | + **headersLocationOpaque** | **optional.Bool**| | + **headersLocationPath** | **optional.String**| | + **headersLocationPort** | **optional.Int32**| | + **headersLocationQuery** | **optional.String**| | + **headersLocationRawAuthority** | **optional.String**| | + **headersLocationRawFragment** | **optional.String**| | + **headersLocationRawPath** | **optional.String**| | + **headersLocationRawQuery** | **optional.String**| | + **headersLocationRawSchemeSpecificPart** | **optional.String**| | + **headersLocationRawUserInfo** | **optional.String**| | + **headersLocationScheme** | **optional.String**| | + **headersLocationSchemeSpecificPart** | **optional.String**| | + **headersLocationUserInfo** | **optional.String**| | + **headersOrigin** | **optional.String**| | + **headersPragma** | **optional.String**| | + **headersUpgrade** | **optional.String**| | + **headersVary** | [**optional.Interface of []string**](string.md)| | + **method** | **optional.String**| | + **type_** | [**optional.Interface of Object**](.md)| | + **urlAbsolute** | **optional.Bool**| | + **urlAuthority** | **optional.String**| | + **urlFragment** | **optional.String**| | + **urlHost** | **optional.String**| | + **urlOpaque** | **optional.Bool**| | + **urlPath** | **optional.String**| | + **urlPort** | **optional.Int32**| | + **urlQuery** | **optional.String**| | + **urlRawAuthority** | **optional.String**| | + **urlRawFragment** | **optional.String**| | + **urlRawPath** | **optional.String**| | + **urlRawQuery** | **optional.String**| | + **urlRawSchemeSpecificPart** | **optional.String**| | + **urlRawUserInfo** | **optional.String**| | + **urlScheme** | **optional.String**| | + **urlSchemeSpecificPart** | **optional.String**| | + **urlUserInfo** | **optional.String**| | + +### Return type + +**string** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/x-www-form-urlencoded + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **ResumeApplicationUsingDELETE** > ResumeApplicationUsingDELETE(ctx, application) Resume management of an entire application @@ -615,6 +1008,57 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **RetryVerificationUsingPOST** +> RetryVerificationUsingPOST(ctx, application, environment, payload, verificationId) +Retry a verification + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **application** | **string**| application | + **environment** | **string**| environment | + **payload** | [**RetryVerificationRequest**](RetryVerificationRequest.md)| payload | + **verificationId** | **string**| verificationId | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **SchemaUsingGET** +> interface{} SchemaUsingGET(ctx, ) +Ad-hoc validate and diff a config manifest + +### Required Parameters +This endpoint does not need any parameter. + +### Return type + +[**interface{}**](interface{}.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/x-yaml + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **UpdateConstraintStatusUsingPOST** > UpdateConstraintStatusUsingPOST(ctx, application, environment, status) Update the status of an environment constraint diff --git a/gateapi/docs/OverrideVerificationRequest.md b/gateapi/docs/OverrideVerificationRequest.md new file mode 100644 index 00000000..d03d3320 --- /dev/null +++ b/gateapi/docs/OverrideVerificationRequest.md @@ -0,0 +1,14 @@ +# OverrideVerificationRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ArtifactReference** | **string** | | [optional] [default to null] +**ArtifactVersion** | **string** | | [optional] [default to null] +**Comment** | **string** | | [optional] [default to null] +**Status** | **string** | | [optional] [default to null] +**VerificationId** | **string** | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gateapi/docs/PipelineControllerApi.md b/gateapi/docs/PipelineControllerApi.md index 3f066d4b..8cc940f2 100644 --- a/gateapi/docs/PipelineControllerApi.md +++ b/gateapi/docs/PipelineControllerApi.md @@ -205,7 +205,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **executionId** | **string**| Execution id to run against | - **expressions** | [**[]Mapstringstring**](Map«string,string».md)| List of variables/expressions to evaluate | + **expressions** | [**[]Mapstringstring**](Map«string,string».md)| List of variables/expressions to evaluate | **optional** | ***PipelineControllerApiEvaluateVariablesUsingPOSTOpts** | optional parameters | nil if no parameters ### Optional Parameters diff --git a/gateapi/docs/PipelineTemplateDependent.md b/gateapi/docs/PipelineTemplateDependent.md index f1da353c..238f4301 100644 --- a/gateapi/docs/PipelineTemplateDependent.md +++ b/gateapi/docs/PipelineTemplateDependent.md @@ -3,9 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**PipelineName** | **string** | | [optional] [default to null] **Application** | **string** | | [optional] [default to null] **PipelineConfigId** | **string** | | [optional] [default to null] +**PipelineName** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/PluginDependency.md b/gateapi/docs/PluginDependency.md index 7dc46fe0..24e6bdf9 100644 --- a/gateapi/docs/PluginDependency.md +++ b/gateapi/docs/PluginDependency.md @@ -3,9 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**PluginVersionSupport** | **string** | | [optional] [default to null] **Optional** | **bool** | | [optional] [default to null] **PluginId** | **string** | | [optional] [default to null] +**PluginVersionSupport** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/PubsubSubscriptionControllerApi.md b/gateapi/docs/PubsubSubscriptionControllerApi.md index 150e0f09..9999f9cb 100644 --- a/gateapi/docs/PubsubSubscriptionControllerApi.md +++ b/gateapi/docs/PubsubSubscriptionControllerApi.md @@ -16,7 +16,7 @@ This endpoint does not need any parameter. ### Return type -[**[]Mapstringstring**](Map«string,string».md) +[**[]Mapstringstring**](Map«string,string».md) ### Authorization diff --git a/gateapi/docs/RawResourceControllerApi.md b/gateapi/docs/RawResourceControllerApi.md new file mode 100644 index 00000000..e214c06e --- /dev/null +++ b/gateapi/docs/RawResourceControllerApi.md @@ -0,0 +1,35 @@ +# \RawResourceControllerApi + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApplicationRawResourcesUsingGET**](RawResourceControllerApi.md#GetApplicationRawResourcesUsingGET) | **Get** /applications/{application}/rawResources | Retrieve a list of raw resources for a given application + + +# **GetApplicationRawResourcesUsingGET** +> []interface{} GetApplicationRawResourcesUsingGET(ctx, application) +Retrieve a list of raw resources for a given application + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **application** | **string**| application | + +### Return type + +[**[]interface{}**](interface{}.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/gateapi/docs/RemoteExtension.md b/gateapi/docs/RemoteExtensionConfig.md similarity index 76% rename from gateapi/docs/RemoteExtension.md rename to gateapi/docs/RemoteExtensionConfig.md index 2ae3196d..5b331932 100644 --- a/gateapi/docs/RemoteExtension.md +++ b/gateapi/docs/RemoteExtensionConfig.md @@ -1,12 +1,12 @@ -# RemoteExtension +# RemoteExtensionConfig ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Transport** | [***RemoteExtensionTransport**](RemoteExtensionTransport.md) | | [optional] [default to null] -**Type_** | **string** | | [optional] [default to null] **Config** | [***interface{}**](interface{}.md) | | [optional] [default to null] **Id** | **string** | | [optional] [default to null] +**Transport** | [***RemoteExtensionTransportConfig**](RemoteExtensionTransportConfig.md) | | [optional] [default to null] +**Type_** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/RemoteExtensionTransport.md b/gateapi/docs/RemoteExtensionTransportConfig.md similarity index 91% rename from gateapi/docs/RemoteExtensionTransport.md rename to gateapi/docs/RemoteExtensionTransportConfig.md index f9e63925..9391023f 100644 --- a/gateapi/docs/RemoteExtensionTransport.md +++ b/gateapi/docs/RemoteExtensionTransportConfig.md @@ -1,4 +1,4 @@ -# RemoteExtensionTransport +# RemoteExtensionTransportConfig ## Properties Name | Type | Description | Notes diff --git a/gateapi/docs/ReorderPipelinesCommand.md b/gateapi/docs/ReorderPipelinesCommand.md index c160f120..4b72bf80 100644 --- a/gateapi/docs/ReorderPipelinesCommand.md +++ b/gateapi/docs/ReorderPipelinesCommand.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**IdsToIndices** | **map[string]int32** | | [optional] [default to null] **Application** | **string** | | [optional] [default to null] +**IdsToIndices** | **map[string]int32** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/Resource.md b/gateapi/docs/Resource.md index f9c68370..6c55f9d9 100644 --- a/gateapi/docs/Resource.md +++ b/gateapi/docs/Resource.md @@ -3,14 +3,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**InputStream** | [***InputStream**](InputStream.md) | | [optional] [default to null] -**Url** | [***Url**](URL.md) | | [optional] [default to null] -**Uri** | [***Uri**](URI.md) | | [optional] [default to null] **Description** | **string** | | [optional] [default to null] **File** | [****os.File**](*os.File.md) | | [optional] [default to null] -**Open** | **bool** | | [optional] [default to null] **Filename** | **string** | | [optional] [default to null] +**InputStream** | [***InputStream**](InputStream.md) | | [optional] [default to null] +**Open** | **bool** | | [optional] [default to null] **Readable** | **bool** | | [optional] [default to null] +**Uri** | [***Uri**](URI.md) | | [optional] [default to null] +**Url** | [***Url**](URL.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/ResponseEntity.md b/gateapi/docs/ResponseEntity.md index eaefcfb7..e00882cd 100644 --- a/gateapi/docs/ResponseEntity.md +++ b/gateapi/docs/ResponseEntity.md @@ -3,9 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Body** | [***interface{}**](interface{}.md) | | [optional] [default to null] **StatusCode** | **string** | | [optional] [default to null] **StatusCodeValue** | **int32** | | [optional] [default to null] -**Body** | [***interface{}**](interface{}.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/RetryVerificationRequest.md b/gateapi/docs/RetryVerificationRequest.md new file mode 100644 index 00000000..20cb1488 --- /dev/null +++ b/gateapi/docs/RetryVerificationRequest.md @@ -0,0 +1,12 @@ +# RetryVerificationRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ArtifactReference** | **string** | | [optional] [default to null] +**ArtifactVersion** | **string** | | [optional] [default to null] +**VerificationId** | **string** | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gateapi/docs/SpinnakerPluginDescriptor.md b/gateapi/docs/SpinnakerPluginDescriptor.md index d7f0991b..d3c5da74 100644 --- a/gateapi/docs/SpinnakerPluginDescriptor.md +++ b/gateapi/docs/SpinnakerPluginDescriptor.md @@ -3,15 +3,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**PluginId** | **string** | | [optional] [default to null] -**Version** | **string** | | [optional] [default to null] -**License** | **string** | | [optional] [default to null] -**Requires** | **string** | | [optional] [default to null] -**Provider** | **string** | | [optional] [default to null] **Dependencies** | [**[]PluginDependency**](PluginDependency.md) | | [optional] [default to null] +**License** | **string** | | [optional] [default to null] **PluginClass** | **string** | | [optional] [default to null] -**Unsafe** | **bool** | | [default to null] **PluginDescription** | **string** | | [optional] [default to null] +**PluginId** | **string** | | [optional] [default to null] +**Provider** | **string** | | [optional] [default to null] +**Requires** | **string** | | [optional] [default to null] +**Unsafe** | **bool** | | [default to null] +**Version** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/SpinnakerPluginInfo.md b/gateapi/docs/SpinnakerPluginInfo.md index 8c9f2ca7..515c19c8 100644 --- a/gateapi/docs/SpinnakerPluginInfo.md +++ b/gateapi/docs/SpinnakerPluginInfo.md @@ -3,12 +3,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ProjectUrl** | **string** | | [optional] [default to null] **Description** | **string** | | [optional] [default to null] -**Provider** | **string** | | [optional] [default to null] +**Id** | **string** | | [optional] [default to null] **Name** | **string** | | [optional] [default to null] +**ProjectUrl** | **string** | | [optional] [default to null] +**Provider** | **string** | | [optional] [default to null] **Releases** | [**[]SpinnakerPluginRelease**](SpinnakerPluginRelease.md) | | [default to null] -**Id** | **string** | | [optional] [default to null] **RepositoryId** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/SpinnakerPluginRelease.md b/gateapi/docs/SpinnakerPluginRelease.md index bc5c3c4a..047eaf9a 100644 --- a/gateapi/docs/SpinnakerPluginRelease.md +++ b/gateapi/docs/SpinnakerPluginRelease.md @@ -3,13 +3,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Requires** | **string** | | [optional] [default to null] -**Version** | **string** | | [optional] [default to null] -**Url** | **string** | | [optional] [default to null] **Date** | [**time.Time**](time.Time.md) | | [optional] [default to null] -**Sha512sum** | **string** | | [optional] [default to null] **Preferred** | **bool** | | [optional] [default to null] -**RemoteExtensions** | [**[]RemoteExtension**](RemoteExtension.md) | | [optional] [default to null] +**RemoteExtensions** | [**[]RemoteExtensionConfig**](RemoteExtensionConfig.md) | | [optional] [default to null] +**Requires** | **string** | | [optional] [default to null] +**Sha512sum** | **string** | | [optional] [default to null] +**Url** | **string** | | [optional] [default to null] +**Version** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/Uri.md b/gateapi/docs/Uri.md index b920724c..65982efc 100644 --- a/gateapi/docs/Uri.md +++ b/gateapi/docs/Uri.md @@ -3,23 +3,23 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Fragment** | **string** | | [optional] [default to null] -**SchemeSpecificPart** | **string** | | [optional] [default to null] -**RawSchemeSpecificPart** | **string** | | [optional] [default to null] -**Scheme** | **string** | | [optional] [default to null] -**Query** | **string** | | [optional] [default to null] -**RawUserInfo** | **string** | | [optional] [default to null] -**RawPath** | **string** | | [optional] [default to null] **Absolute** | **bool** | | [optional] [default to null] -**Path** | **string** | | [optional] [default to null] -**Host** | **string** | | [optional] [default to null] **Authority** | **string** | | [optional] [default to null] +**Fragment** | **string** | | [optional] [default to null] +**Host** | **string** | | [optional] [default to null] +**Opaque** | **bool** | | [optional] [default to null] +**Path** | **string** | | [optional] [default to null] **Port** | **int32** | | [optional] [default to null] -**RawQuery** | **string** | | [optional] [default to null] +**Query** | **string** | | [optional] [default to null] **RawAuthority** | **string** | | [optional] [default to null] -**UserInfo** | **string** | | [optional] [default to null] -**Opaque** | **bool** | | [optional] [default to null] **RawFragment** | **string** | | [optional] [default to null] +**RawPath** | **string** | | [optional] [default to null] +**RawQuery** | **string** | | [optional] [default to null] +**RawSchemeSpecificPart** | **string** | | [optional] [default to null] +**RawUserInfo** | **string** | | [optional] [default to null] +**Scheme** | **string** | | [optional] [default to null] +**SchemeSpecificPart** | **string** | | [optional] [default to null] +**UserInfo** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/Url.md b/gateapi/docs/Url.md index 6b8f07c1..15d91d35 100644 --- a/gateapi/docs/Url.md +++ b/gateapi/docs/Url.md @@ -3,19 +3,19 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**UserInfo** | **string** | | [optional] [default to null] -**File** | **string** | | [optional] [default to null] -**Query** | **string** | | [optional] [default to null] -**Ref** | **string** | | [optional] [default to null] -**Path** | **string** | | [optional] [default to null] +**Authority** | **string** | | [optional] [default to null] +**Content** | [***interface{}**](interface{}.md) | | [optional] [default to null] **DefaultPort** | **int32** | | [optional] [default to null] -**SerializedHashCode** | **int32** | | [optional] [default to null] **DeserializedFields** | [***UrlStreamHandler**](URLStreamHandler.md) | | [optional] [default to null] -**Content** | [***interface{}**](interface{}.md) | | [optional] [default to null] -**Protocol** | **string** | | [optional] [default to null] +**File** | **string** | | [optional] [default to null] **Host** | **string** | | [optional] [default to null] -**Authority** | **string** | | [optional] [default to null] +**Path** | **string** | | [optional] [default to null] **Port** | **int32** | | [optional] [default to null] +**Protocol** | **string** | | [optional] [default to null] +**Query** | **string** | | [optional] [default to null] +**Ref** | **string** | | [optional] [default to null] +**SerializedHashCode** | **int32** | | [optional] [default to null] +**UserInfo** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/User.md b/gateapi/docs/User.md index b65a5003..9eeb3532 100644 --- a/gateapi/docs/User.md +++ b/gateapi/docs/User.md @@ -3,17 +3,17 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Username** | **string** | | [optional] [default to null] +**AccountNonExpired** | **bool** | | [optional] [default to null] **AccountNonLocked** | **bool** | | [optional] [default to null] -**Email** | **string** | | [optional] [default to null] -**Roles** | **[]string** | | [optional] [default to null] -**CredentialsNonExpired** | **bool** | | [optional] [default to null] **AllowedAccounts** | **[]string** | | [optional] [default to null] -**AccountNonExpired** | **bool** | | [optional] [default to null] **Authorities** | [**[]GrantedAuthority**](GrantedAuthority.md) | | [optional] [default to null] -**LastName** | **string** | | [optional] [default to null] +**CredentialsNonExpired** | **bool** | | [optional] [default to null] +**Email** | **string** | | [optional] [default to null] **Enabled** | **bool** | | [optional] [default to null] **FirstName** | **string** | | [optional] [default to null] +**LastName** | **string** | | [optional] [default to null] +**Roles** | **[]string** | | [optional] [default to null] +**Username** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gateapi/docs/V2CanaryControllerApi.md b/gateapi/docs/V2CanaryControllerApi.md index 72f35ea7..ab152d02 100644 --- a/gateapi/docs/V2CanaryControllerApi.md +++ b/gateapi/docs/V2CanaryControllerApi.md @@ -107,6 +107,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **page** | **optional.Int32**| page | [default to 1] **statuses** | **optional.String**| Comma-separated list of statuses, e.g.: RUNNING, SUCCEEDED, TERMINAL | **storageAccountName** | **optional.String**| storageAccountName | diff --git a/gateapi/model_account.go b/gateapi/model_account.go index c9f4aa0c..2efa2748 100644 --- a/gateapi/model_account.go +++ b/gateapi/model_account.go @@ -11,8 +11,8 @@ package swagger type Account struct { AccountId string `json:"accountId,omitempty"` - RequiredGroupMembership []string `json:"requiredGroupMembership,omitempty"` - Type_ string `json:"type,omitempty"` Name string `json:"name,omitempty"` Permissions map[string][]string `json:"permissions,omitempty"` + RequiredGroupMembership []string `json:"requiredGroupMembership,omitempty"` + Type_ string `json:"type,omitempty"` } diff --git a/gateapi/model_account_definition.go b/gateapi/model_account_definition.go new file mode 100644 index 00000000..d0b6d98c --- /dev/null +++ b/gateapi/model_account_definition.go @@ -0,0 +1,15 @@ +/* + * Spinnaker API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: 1.0.0 + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package swagger + +type AccountDefinition struct { + Type_ string `json:"@type,omitempty"` + Name string `json:"name,omitempty"` +} diff --git a/gateapi/model_account_details.go b/gateapi/model_account_details.go index 9bd4903b..0c2ce610 100644 --- a/gateapi/model_account_details.go +++ b/gateapi/model_account_details.go @@ -10,14 +10,14 @@ package swagger type AccountDetails struct { - CloudProvider string `json:"cloudProvider,omitempty"` - Permissions map[string][]string `json:"permissions,omitempty"` AccountId string `json:"accountId,omitempty"` AccountType string `json:"accountType,omitempty"` - Type_ string `json:"type,omitempty"` - PrimaryAccount bool `json:"primaryAccount,omitempty"` + ChallengeDestructiveActions bool `json:"challengeDestructiveActions,omitempty"` + CloudProvider string `json:"cloudProvider,omitempty"` Environment string `json:"environment,omitempty"` - RequiredGroupMembership []string `json:"requiredGroupMembership,omitempty"` Name string `json:"name,omitempty"` - ChallengeDestructiveActions bool `json:"challengeDestructiveActions,omitempty"` + Permissions map[string][]string `json:"permissions,omitempty"` + PrimaryAccount bool `json:"primaryAccount,omitempty"` + RequiredGroupMembership []string `json:"requiredGroupMembership,omitempty"` + Type_ string `json:"type,omitempty"` } diff --git a/gateapi/model_constraint_state.go b/gateapi/model_constraint_state.go index ddd948e5..b21253ff 100644 --- a/gateapi/model_constraint_state.go +++ b/gateapi/model_constraint_state.go @@ -10,14 +10,14 @@ package swagger type ConstraintState struct { - CreatedAt string `json:"createdAt,omitempty"` - Comment string `json:"comment,omitempty"` - Type_ string `json:"type,omitempty"` + ArtifactVersion string `json:"artifactVersion,omitempty"` Attributes *interface{} `json:"attributes,omitempty"` - Status string `json:"status,omitempty"` - JudgedBy string `json:"judgedBy,omitempty"` + Comment string `json:"comment,omitempty"` + CreatedAt string `json:"createdAt,omitempty"` DeliveryConfigName string `json:"deliveryConfigName,omitempty"` - ArtifactVersion string `json:"artifactVersion,omitempty"` - JudgedAt string `json:"judgedAt,omitempty"` EnvironmentName string `json:"environmentName,omitempty"` + JudgedAt string `json:"judgedAt,omitempty"` + JudgedBy string `json:"judgedBy,omitempty"` + Status string `json:"status,omitempty"` + Type_ string `json:"type,omitempty"` } diff --git a/gateapi/model_constraint_status.go b/gateapi/model_constraint_status.go index 9f3d8312..c1660bd5 100644 --- a/gateapi/model_constraint_status.go +++ b/gateapi/model_constraint_status.go @@ -10,9 +10,9 @@ package swagger type ConstraintStatus struct { + ArtifactReference string `json:"artifactReference,omitempty"` ArtifactVersion string `json:"artifactVersion,omitempty"` - Type_ string `json:"type,omitempty"` Comment string `json:"comment,omitempty"` Status string `json:"status,omitempty"` - ArtifactReference string `json:"artifactReference,omitempty"` + Type_ string `json:"type,omitempty"` } diff --git a/gateapi/model_delivery_config.go b/gateapi/model_delivery_config.go index e1cccf50..a09a49b6 100644 --- a/gateapi/model_delivery_config.go +++ b/gateapi/model_delivery_config.go @@ -11,9 +11,9 @@ package swagger type DeliveryConfig struct { ApiVersion string `json:"apiVersion,omitempty"` - ServiceAccount string `json:"serviceAccount,omitempty"` - Environments []Environment `json:"environments,omitempty"` - Name string `json:"name,omitempty"` Application string `json:"application,omitempty"` Artifacts []Mapstringobject `json:"artifacts,omitempty"` + Environments []Environment `json:"environments,omitempty"` + Name string `json:"name,omitempty"` + ServiceAccount string `json:"serviceAccount,omitempty"` } diff --git a/gateapi/model_environment.go b/gateapi/model_environment.go index dc3efe33..87941dce 100644 --- a/gateapi/model_environment.go +++ b/gateapi/model_environment.go @@ -10,9 +10,10 @@ package swagger type Environment struct { - Locations *interface{} `json:"locations,omitempty"` Constraints []Mapstringobject `json:"constraints,omitempty"` + Locations *interface{} `json:"locations,omitempty"` Name string `json:"name,omitempty"` Notifications []Notification `json:"notifications,omitempty"` Resources []Resource `json:"resources,omitempty"` + VerifyWith []Mapstringobject `json:"verifyWith,omitempty"` } diff --git a/gateapi/model_environment_artifact_pin.go b/gateapi/model_environment_artifact_pin.go index 4c179ce1..c22829ed 100644 --- a/gateapi/model_environment_artifact_pin.go +++ b/gateapi/model_environment_artifact_pin.go @@ -10,9 +10,9 @@ package swagger type EnvironmentArtifactPin struct { - Reference string `json:"reference,omitempty"` - PinnedBy string `json:"pinnedBy,omitempty"` Comment string `json:"comment,omitempty"` - Version string `json:"version,omitempty"` + PinnedBy string `json:"pinnedBy,omitempty"` + Reference string `json:"reference,omitempty"` TargetEnvironment string `json:"targetEnvironment,omitempty"` + Version string `json:"version,omitempty"` } diff --git a/gateapi/model_environment_artifact_veto.go b/gateapi/model_environment_artifact_veto.go index b907549c..28bc9778 100644 --- a/gateapi/model_environment_artifact_veto.go +++ b/gateapi/model_environment_artifact_veto.go @@ -11,7 +11,7 @@ package swagger type EnvironmentArtifactVeto struct { Comment string `json:"comment,omitempty"` - Version string `json:"version,omitempty"` - TargetEnvironment string `json:"targetEnvironment,omitempty"` Reference string `json:"reference,omitempty"` + TargetEnvironment string `json:"targetEnvironment,omitempty"` + Version string `json:"version,omitempty"` } diff --git a/gateapi/model_file.go b/gateapi/model_file.go index 563aed80..2e3ee43f 100644 --- a/gateapi/model_file.go +++ b/gateapi/model_file.go @@ -14,23 +14,23 @@ import ( ) type File struct { + Absolute bool `json:"absolute,omitempty"` + AbsoluteFile **os.File `json:"absoluteFile,omitempty"` AbsolutePath string `json:"absolutePath,omitempty"` - Parent string `json:"parent,omitempty"` - UsableSpace int64 `json:"usableSpace,omitempty"` - Readable bool `json:"readable,omitempty"` - Path string `json:"path,omitempty"` - Executable bool `json:"executable,omitempty"` - TotalSpace int64 `json:"totalSpace,omitempty"` + CanonicalFile **os.File `json:"canonicalFile,omitempty"` CanonicalPath string `json:"canonicalPath,omitempty"` - LastModified int64 `json:"lastModified,omitempty"` - Name string `json:"name,omitempty"` Directory bool `json:"directory,omitempty"` - ParentFile **os.File `json:"parentFile,omitempty"` + Executable bool `json:"executable,omitempty"` File bool `json:"file,omitempty"` - Hidden bool `json:"hidden,omitempty"` - AbsoluteFile **os.File `json:"absoluteFile,omitempty"` - Absolute bool `json:"absolute,omitempty"` FreeSpace int64 `json:"freeSpace,omitempty"` + Hidden bool `json:"hidden,omitempty"` + LastModified int64 `json:"lastModified,omitempty"` + Name string `json:"name,omitempty"` + Parent string `json:"parent,omitempty"` + ParentFile **os.File `json:"parentFile,omitempty"` + Path string `json:"path,omitempty"` + Readable bool `json:"readable,omitempty"` + TotalSpace int64 `json:"totalSpace,omitempty"` + UsableSpace int64 `json:"usableSpace,omitempty"` Writable bool `json:"writable,omitempty"` - CanonicalFile **os.File `json:"canonicalFile,omitempty"` } diff --git a/gateapi/model_graph_ql_request.go b/gateapi/model_graph_ql_request.go new file mode 100644 index 00000000..5a33df0f --- /dev/null +++ b/gateapi/model_graph_ql_request.go @@ -0,0 +1,16 @@ +/* + * Spinnaker API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: 1.0.0 + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package swagger + +type GraphQlRequest struct { + OperationName string `json:"operationName,omitempty"` + Query string `json:"query,omitempty"` + Variables *interface{} `json:"variables,omitempty"` +} diff --git a/gateapi/model_headers.go b/gateapi/model_headers.go new file mode 100644 index 00000000..4852e4f2 --- /dev/null +++ b/gateapi/model_headers.go @@ -0,0 +1,16 @@ +/* + * Spinnaker API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: 1.0.0 + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package swagger + +type Headers struct { + InvokeHeaders map[string]string `json:"invokeHeaders,omitempty"` + ReadHeaders map[string]string `json:"readHeaders,omitempty"` + WriteHeaders map[string]string `json:"writeHeaders,omitempty"` +} diff --git a/gateapi/model_http.go b/gateapi/model_http.go index 1726bb9c..a2c20fbc 100644 --- a/gateapi/model_http.go +++ b/gateapi/model_http.go @@ -10,6 +10,8 @@ package swagger type Http struct { + Config map[string]string `json:"config,omitempty"` + Headers *Headers `json:"headers,omitempty"` + QueryParams map[string]string `json:"queryParams,omitempty"` Url string `json:"url,omitempty"` - Config *interface{} `json:"config,omitempty"` } diff --git a/gateapi/model_override_verification_request.go b/gateapi/model_override_verification_request.go new file mode 100644 index 00000000..cb8eb800 --- /dev/null +++ b/gateapi/model_override_verification_request.go @@ -0,0 +1,18 @@ +/* + * Spinnaker API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: 1.0.0 + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package swagger + +type OverrideVerificationRequest struct { + ArtifactReference string `json:"artifactReference,omitempty"` + ArtifactVersion string `json:"artifactVersion,omitempty"` + Comment string `json:"comment,omitempty"` + Status string `json:"status,omitempty"` + VerificationId string `json:"verificationId,omitempty"` +} diff --git a/gateapi/model_pipeline_template_dependent.go b/gateapi/model_pipeline_template_dependent.go index 79de129d..bb614574 100644 --- a/gateapi/model_pipeline_template_dependent.go +++ b/gateapi/model_pipeline_template_dependent.go @@ -10,7 +10,7 @@ package swagger type PipelineTemplateDependent struct { - PipelineName string `json:"pipelineName,omitempty"` Application string `json:"application,omitempty"` PipelineConfigId string `json:"pipelineConfigId,omitempty"` + PipelineName string `json:"pipelineName,omitempty"` } diff --git a/gateapi/model_plugin_dependency.go b/gateapi/model_plugin_dependency.go index 443167f2..165528b3 100644 --- a/gateapi/model_plugin_dependency.go +++ b/gateapi/model_plugin_dependency.go @@ -10,7 +10,7 @@ package swagger type PluginDependency struct { - PluginVersionSupport string `json:"pluginVersionSupport,omitempty"` Optional bool `json:"optional,omitempty"` PluginId string `json:"pluginId,omitempty"` + PluginVersionSupport string `json:"pluginVersionSupport,omitempty"` } diff --git a/gateapi/model_remote_extension.go b/gateapi/model_remote_extension_config.go similarity index 77% rename from gateapi/model_remote_extension.go rename to gateapi/model_remote_extension_config.go index a8d3792c..6225663d 100644 --- a/gateapi/model_remote_extension.go +++ b/gateapi/model_remote_extension_config.go @@ -9,9 +9,9 @@ package swagger -type RemoteExtension struct { - Transport *RemoteExtensionTransport `json:"transport,omitempty"` - Type_ string `json:"type,omitempty"` +type RemoteExtensionConfig struct { Config *interface{} `json:"config,omitempty"` Id string `json:"id,omitempty"` + Transport *RemoteExtensionTransportConfig `json:"transport,omitempty"` + Type_ string `json:"type,omitempty"` } diff --git a/gateapi/model_remote_extension_transport.go b/gateapi/model_remote_extension_transport_config.go similarity index 86% rename from gateapi/model_remote_extension_transport.go rename to gateapi/model_remote_extension_transport_config.go index 81fa6cca..3fea3f5b 100644 --- a/gateapi/model_remote_extension_transport.go +++ b/gateapi/model_remote_extension_transport_config.go @@ -9,6 +9,6 @@ package swagger -type RemoteExtensionTransport struct { +type RemoteExtensionTransportConfig struct { Http *Http `json:"http,omitempty"` } diff --git a/gateapi/model_reorder_pipelines_command.go b/gateapi/model_reorder_pipelines_command.go index d7de0109..4296ca64 100644 --- a/gateapi/model_reorder_pipelines_command.go +++ b/gateapi/model_reorder_pipelines_command.go @@ -10,6 +10,6 @@ package swagger type ReorderPipelinesCommand struct { - IdsToIndices map[string]int32 `json:"idsToIndices,omitempty"` Application string `json:"application,omitempty"` + IdsToIndices map[string]int32 `json:"idsToIndices,omitempty"` } diff --git a/gateapi/model_resource.go b/gateapi/model_resource.go index ecdf9316..bdbebf7d 100644 --- a/gateapi/model_resource.go +++ b/gateapi/model_resource.go @@ -14,12 +14,12 @@ import ( ) type Resource struct { - InputStream *InputStream `json:"inputStream,omitempty"` - Url *Url `json:"url,omitempty"` - Uri *Uri `json:"uri,omitempty"` Description string `json:"description,omitempty"` File **os.File `json:"file,omitempty"` - Open bool `json:"open,omitempty"` Filename string `json:"filename,omitempty"` + InputStream *InputStream `json:"inputStream,omitempty"` + Open bool `json:"open,omitempty"` Readable bool `json:"readable,omitempty"` + Uri *Uri `json:"uri,omitempty"` + Url *Url `json:"url,omitempty"` } diff --git a/gateapi/model_response_entity.go b/gateapi/model_response_entity.go index 39252942..1a610cac 100644 --- a/gateapi/model_response_entity.go +++ b/gateapi/model_response_entity.go @@ -10,7 +10,7 @@ package swagger type ResponseEntity struct { + Body *interface{} `json:"body,omitempty"` StatusCode string `json:"statusCode,omitempty"` StatusCodeValue int32 `json:"statusCodeValue,omitempty"` - Body *interface{} `json:"body,omitempty"` } diff --git a/gateapi/model_retry_verification_request.go b/gateapi/model_retry_verification_request.go new file mode 100644 index 00000000..44bd753c --- /dev/null +++ b/gateapi/model_retry_verification_request.go @@ -0,0 +1,16 @@ +/* + * Spinnaker API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: 1.0.0 + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package swagger + +type RetryVerificationRequest struct { + ArtifactReference string `json:"artifactReference,omitempty"` + ArtifactVersion string `json:"artifactVersion,omitempty"` + VerificationId string `json:"verificationId,omitempty"` +} diff --git a/gateapi/model_spinnaker_plugin_descriptor.go b/gateapi/model_spinnaker_plugin_descriptor.go index 7bc00a88..e93052f6 100644 --- a/gateapi/model_spinnaker_plugin_descriptor.go +++ b/gateapi/model_spinnaker_plugin_descriptor.go @@ -10,13 +10,13 @@ package swagger type SpinnakerPluginDescriptor struct { - PluginId string `json:"pluginId,omitempty"` - Version string `json:"version,omitempty"` - License string `json:"license,omitempty"` - Requires string `json:"requires,omitempty"` - Provider string `json:"provider,omitempty"` Dependencies []PluginDependency `json:"dependencies,omitempty"` + License string `json:"license,omitempty"` PluginClass string `json:"pluginClass,omitempty"` - Unsafe bool `json:"unsafe"` PluginDescription string `json:"pluginDescription,omitempty"` + PluginId string `json:"pluginId,omitempty"` + Provider string `json:"provider,omitempty"` + Requires string `json:"requires,omitempty"` + Unsafe bool `json:"unsafe"` + Version string `json:"version,omitempty"` } diff --git a/gateapi/model_spinnaker_plugin_info.go b/gateapi/model_spinnaker_plugin_info.go index fa126508..1557ba21 100644 --- a/gateapi/model_spinnaker_plugin_info.go +++ b/gateapi/model_spinnaker_plugin_info.go @@ -10,11 +10,11 @@ package swagger type SpinnakerPluginInfo struct { - ProjectUrl string `json:"projectUrl,omitempty"` Description string `json:"description,omitempty"` - Provider string `json:"provider,omitempty"` + Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` + ProjectUrl string `json:"projectUrl,omitempty"` + Provider string `json:"provider,omitempty"` Releases []SpinnakerPluginRelease `json:"releases"` - Id string `json:"id,omitempty"` RepositoryId string `json:"repositoryId,omitempty"` } diff --git a/gateapi/model_spinnaker_plugin_release.go b/gateapi/model_spinnaker_plugin_release.go index 316067f3..84bc81b2 100644 --- a/gateapi/model_spinnaker_plugin_release.go +++ b/gateapi/model_spinnaker_plugin_release.go @@ -14,11 +14,11 @@ import ( ) type SpinnakerPluginRelease struct { - Requires string `json:"requires,omitempty"` - Version string `json:"version,omitempty"` - Url string `json:"url,omitempty"` Date time.Time `json:"date,omitempty"` - Sha512sum string `json:"sha512sum,omitempty"` Preferred bool `json:"preferred,omitempty"` - RemoteExtensions []RemoteExtension `json:"remoteExtensions,omitempty"` + RemoteExtensions []RemoteExtensionConfig `json:"remoteExtensions,omitempty"` + Requires string `json:"requires,omitempty"` + Sha512sum string `json:"sha512sum,omitempty"` + Url string `json:"url,omitempty"` + Version string `json:"version,omitempty"` } diff --git a/gateapi/model_uri.go b/gateapi/model_uri.go index 730ba57a..53de52bc 100644 --- a/gateapi/model_uri.go +++ b/gateapi/model_uri.go @@ -10,21 +10,21 @@ package swagger type Uri struct { - Fragment string `json:"fragment,omitempty"` - SchemeSpecificPart string `json:"schemeSpecificPart,omitempty"` - RawSchemeSpecificPart string `json:"rawSchemeSpecificPart,omitempty"` - Scheme string `json:"scheme,omitempty"` - Query string `json:"query,omitempty"` - RawUserInfo string `json:"rawUserInfo,omitempty"` - RawPath string `json:"rawPath,omitempty"` Absolute bool `json:"absolute,omitempty"` - Path string `json:"path,omitempty"` - Host string `json:"host,omitempty"` Authority string `json:"authority,omitempty"` + Fragment string `json:"fragment,omitempty"` + Host string `json:"host,omitempty"` + Opaque bool `json:"opaque,omitempty"` + Path string `json:"path,omitempty"` Port int32 `json:"port,omitempty"` - RawQuery string `json:"rawQuery,omitempty"` + Query string `json:"query,omitempty"` RawAuthority string `json:"rawAuthority,omitempty"` - UserInfo string `json:"userInfo,omitempty"` - Opaque bool `json:"opaque,omitempty"` RawFragment string `json:"rawFragment,omitempty"` + RawPath string `json:"rawPath,omitempty"` + RawQuery string `json:"rawQuery,omitempty"` + RawSchemeSpecificPart string `json:"rawSchemeSpecificPart,omitempty"` + RawUserInfo string `json:"rawUserInfo,omitempty"` + Scheme string `json:"scheme,omitempty"` + SchemeSpecificPart string `json:"schemeSpecificPart,omitempty"` + UserInfo string `json:"userInfo,omitempty"` } diff --git a/gateapi/model_url.go b/gateapi/model_url.go index 74a39cb0..71a8984a 100644 --- a/gateapi/model_url.go +++ b/gateapi/model_url.go @@ -10,17 +10,17 @@ package swagger type Url struct { - UserInfo string `json:"userInfo,omitempty"` - File string `json:"file,omitempty"` - Query string `json:"query,omitempty"` - Ref string `json:"ref,omitempty"` - Path string `json:"path,omitempty"` + Authority string `json:"authority,omitempty"` + Content *interface{} `json:"content,omitempty"` DefaultPort int32 `json:"defaultPort,omitempty"` - SerializedHashCode int32 `json:"serializedHashCode,omitempty"` DeserializedFields *UrlStreamHandler `json:"deserializedFields,omitempty"` - Content *interface{} `json:"content,omitempty"` - Protocol string `json:"protocol,omitempty"` + File string `json:"file,omitempty"` Host string `json:"host,omitempty"` - Authority string `json:"authority,omitempty"` + Path string `json:"path,omitempty"` Port int32 `json:"port,omitempty"` + Protocol string `json:"protocol,omitempty"` + Query string `json:"query,omitempty"` + Ref string `json:"ref,omitempty"` + SerializedHashCode int32 `json:"serializedHashCode,omitempty"` + UserInfo string `json:"userInfo,omitempty"` } diff --git a/gateapi/model_user.go b/gateapi/model_user.go index e02ede32..c77a6b96 100644 --- a/gateapi/model_user.go +++ b/gateapi/model_user.go @@ -10,15 +10,15 @@ package swagger type User struct { - Username string `json:"username,omitempty"` + AccountNonExpired bool `json:"accountNonExpired,omitempty"` AccountNonLocked bool `json:"accountNonLocked,omitempty"` - Email string `json:"email,omitempty"` - Roles []string `json:"roles,omitempty"` - CredentialsNonExpired bool `json:"credentialsNonExpired,omitempty"` AllowedAccounts []string `json:"allowedAccounts,omitempty"` - AccountNonExpired bool `json:"accountNonExpired,omitempty"` Authorities []GrantedAuthority `json:"authorities,omitempty"` - LastName string `json:"lastName,omitempty"` + CredentialsNonExpired bool `json:"credentialsNonExpired,omitempty"` + Email string `json:"email,omitempty"` Enabled bool `json:"enabled,omitempty"` FirstName string `json:"firstName,omitempty"` + LastName string `json:"lastName,omitempty"` + Roles []string `json:"roles,omitempty"` + Username string `json:"username,omitempty"` }