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.
Comments or questions about this documentation? Contact us for support!