Create deployments

post

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

This operation will create deployments.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Additional Properties Allowed: true
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : deploymentPost
Type: object
Show Source
Nested Schema : services
Type: array
The services to which the deployment may be activated.
Show Source
  • Allowed Values: [ "interview", "webserviceAssess", "webserviceInterview", "chatservice" ]
Nested Schema : deploymentVersionsPost
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 : deployments
Type: object
Additional Properties Allowed: true
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : deployment
Type: object
Show Source
Nested Schema : deploymentVersion
Type: object
Show Source
Nested Schema : deploymentDebugLoggingState
Type: object
Show Source
Nested Schema : deploymentDebugLogs
Type: object
Show Source
Nested Schema : errors
Type: array
Read Only: true
Runtime errors for deployment.
Show Source
Nested Schema : deploymentLogs
Type: object
Show Source
Nested Schema : referencesTo
Type: object
Show Source
Nested Schema : services
Type: array
The services to which the deployment may be activated.
Show Source
  • Allowed Values: [ "interview", "webserviceAssess", "webserviceInterview", "chatservice" ]
Nested Schema : deploymentServiceURLs
Type: object
Show Source
Nested Schema : deploymentVersions
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
Nested Schema : items
Type: array
Show Source
Nested Schema : deploymentDebugLog
Type: object
Show Source
Nested Schema : deploymentDebugLogContent
Type: object
Show Source
Nested Schema : deploymentDebugEvents
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : debugEvent
Type: object
Show Source
Nested Schema : debugEventContent
Type: object
Show Source
  • Read Only: true
    The binary content of the debug event data file as a base-64 encoded string.
    Example: QmFzZS02NCBkYXRhLg==
  • Read Only: true
    The name of the debug event data file.
  • Read Only: true
    The MIME type of the debug event data file.
Nested Schema : items
Type: array
Show Source
Nested Schema : deploymentLog
Type: object
Show Source
Nested Schema : services
Type: array
Read Only: true
The services to which the deployment version has been activated.
Show Source
  • Allowed Values: [ "interview", "webserviceAssess", "webserviceInterview", "chatservice" ]
Nested Schema : referencesToDeployments
Type: object
Show Source
Nested Schema : referencesToProjects
Type: object
Show Source
Nested Schema : entries
Type: array
Read Only: true
An array of deployment references,
Show Source
Nested Schema : referencesToDeploymentItem
Type: object
Show Source
Nested Schema : entries
Type: array
Read Only: true
An array of project references,
Show Source
Nested Schema : referencesToProjectItem
Type: object
Show Source
Nested Schema : items
Type: array
Show Source

400 Response

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

409 Response

The request could not be completed due to a conflict with the current state of the resource.
Back to Top