Deployments REST Endpoints

Hub Administration/Deployments
Manage Intelligent Advisor Hub deployments, including upload, download, activation, and status.
Create a referencesTo
Method: post
Path: https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}/referencesTo
Create deployments
Method: post
Path: https://{your_site_interface}/opa-hub/api/12.2.35/deployments
Delete a deployment
Method: delete
Path: https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}
Delete active deployment version
Method: delete
Path: https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}/activeVersion
Get a deployment
Method: get
Path: https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}
Get a projectDefinition
Method: get
Path: https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}/activeVersion/projectDefinition
Get a snapshot
Method: get
Path: https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}/activeVersion/snapshot
Get active deployment version
Method: get
Path: https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}/activeVersion
Get all deployments
Method: get
Path: https://{your_site_interface}/opa-hub/api/12.2.35/deployments
Get available locales
Method: get
Path: https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}/activeVersion/locales
Get object mappings
Method: get
Path: https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}/activeVersion/mappings
Get URL parameters
Method: get
Path: https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}/activeVersion/urlParameters
Update a deployment
Method: patch
Path: https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}
Update active deployment version
Method: patch
Path: https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}/activeVersion