As of Friday October 16th, access to restricted content on this site now requires you to log in with your Genesys account. If you don't have an account, you can request one at these locations: Request MyPartner Portal Account or Request My Support Account.
Jump to: navigation, search

Query Deployment History

Method

GET

Syntax

 
/grs/v1/tenant/{tenantId}/package/{packageId}/deploy

Request Body

N/A

Response Body

Up to 8.5.300

 
"deployments":[   
{   
    "deploymentId" : 34234,
    "packageVersion" : 1,
    "snapshotName":"Snap 01",
    "target", "GRECluster",
    "deployedBy", "username",
    "comments":"Deploy to QA servers",
    "deployScheduleDateTime": 34243432432,
    "status" : "SUCCESS"
}
]

From 8.5.301

 
[
   {
      "deploymentId": 34234,
      "packageVersion": 1,
      "snapshotName": "Snap 01",
      "target": "GRECluster",
      "deployedBy": "username",
      "deployedFrom": "GRAT_INSTANCE_1",
      "comments": "Deploy to QA servers",
      "deployScheduledDateTime": 1453228140000,
      "status": "SUCCESS"
   }
]

From 8.5.303

 
[
  {
  "deploymentId": 1493228481864,
  "packageVersion": 0,
  "snapshotName":  LATEST,
  "target": "GRE_850",
  "deployedBy": "demo",
  "deployedFrom": null,
  "comments": "Undeploy to QA servers",
  "deployScheduledDateTime": 1493228481851,
  "status": "PENDING",
  "operation": “UNDEPLOYED”
}
]

HTTP Status Codes

  • 200 OK—Response body provided
  • 401 Unauthorized—APIToken not valid
  • 403 Forbidden—User does not have permission for the specified tenant.
  • 404 Not Found—could not find specified package ID.

Notes

Status

  • SUCCESS—deployment was successful
  • FAILED—deployment failed
  • PARTIAL—deployment was partially successful
  • PENDING—deployment is still processing
  • SCHEDULED—deployment is scheduled

Operation

  • DEPLOYED—deployment was successful
  • UNDEPLOYED—undeployment was successful
This page was last edited on May 16, 2017, at 08:21.

Feedback

Comment on this article:

blog comments powered by Disqus