Update active deployment version

patch

https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}/activeVersion

This operation will update the active deployment version.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : deploymentVersionDataSourcePatch
Type: object
Show Source
  • The name of the data source.
  • Allowed Values: [ "RightNow", "MetadataOnlyService", "WebService", "GenericProvider", "IntegrationCloud" ]
    The type of data source.
Security
  • Type: apiKey
    Description: Obtain a bearer token from https://{your_site_interface}/opa-hub/api/12.2.17/auth and use it in the Authorization header as: Bearer {token}.
  • Type: oauth2
    Description: POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/12.2.17/auth and use the access token from the response in the Authorization header.
Back to Top

Response

Supported Media Types

200 Response

The request was successfully completed.
Body ()
Root Schema : deploymentVersion
Type: object
Show Source
Nested Schema : deploymentVersionDataSource
Type: object
Show Source
  • The name of the data source.
  • Allowed Values: [ "RightNow", "MetadataOnlyService", "WebService", "GenericProvider", "IntegrationCloud" ]
    The type of data source.
Nested Schema : locales
Type: object
Show Source
Nested Schema : deploymentMappings
Type: object
Show Source
Nested Schema : operations
Type: array
Generic integration operations associated with the deployment version.
Show Source
Nested Schema : deploymentVersionProject
Type: object
Show Source
Nested Schema : projectDefinition
Type: object
Show Source
Nested Schema : snapshot
Type: object
Show Source
Nested Schema : urlParameters
Type: object
Show Source
Nested Schema : available
Type: array
An array of all the available locales for this policy model.
Show Source
Nested Schema : inputMapping
Type: array
Read Only: true
If the serviceType is 'WebService', 'EngagementCloud', or 'EngagementCloudV2', the entities and table names for this input mapping.
Show Source
Nested Schema : outputMapping
Type: array
Read Only: true
If the serviceType is 'WebService', 'EngagementCloud', or 'EngagementCloudV2', the entities and table names for this output mapping.
Show Source
Nested Schema : deploymentMappingsInput
Type: object
Show Source
Nested Schema : deploymentMappingsOutput
Type: object
Show Source
Nested Schema : deploymentVersionOperation
Type: object
Show Source
Nested Schema : definition
Type: object
Read Only: true
Additional Properties Allowed: true
The Decision service or Flow project
Nested Schema : scheme
Type: object
Read Only: true
Additional Properties Allowed: true
The Flow Scheme. Only supplied for Flow deployments.
Nested Schema : urlParametersProperties
Type: object
Additional Properties Allowed: true

400 Response

The request could not be processed because it contains missing or invalid information.

404 Response

The requested resource does not exist.

410 Response

The requested resource is no longer available.
Back to Top