Create deployment versions

post

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

This operation will create deployment versions.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : deploymentVersionPost
Type: object
Show Source
Nested Schema : deploymentVersionDataSourcePost
Type: object
Show Source
  • The name of the data source.
  • Allowed Values: [ "RightNow", "MetadataOnlyService", "WebService", "GenericProvider", "IntegrationCloud" ]
    The type of data source.
Nested Schema : deploymentVersionProjectPost
Type: object
Show Source
Nested Schema : snapshotPost
Type: object
Show 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

201 Response

The request has been fulfilled and resulted in a new resource being created.
Body ()
Root Schema : deploymentVersions
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested 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.
Back to Top