Parameter | Type | Explanation | Example value |
---|---|---|---|
Deployment * | BODY | Deployment Data in Json |
|
Request
curl -X POST \ https://peer-core.gravitant.net/dash/api/deployments/v4/technical-services/dash_aws/deployments \ -H 'Authorization: Token zkkh_KmDI2Ib3-6i9eFzdm72zG32UtG4oQqkn63iDUeA5QoMC9RcAxU1Vy5sVFEG' \ -H 'Content-Type: application/json' \ -H 'cache-control: no-cache' \ -d '{ "creation_date": "2020-07-26T05:06:10.949Z", "deploymentid": "endpointID_1", "duration": 2345171, "name": "AWS", "provider": "AWS", "Details": { "CreationTime": "2020-07-27T13:30:39.181Z" }, "technical_service_name": "MCMP-DevOps-Intelligence/serviceName", "technicalserviceoverride": true }'
Field | Data Type | Explanation | Example Value |
---|---|---|---|
DeploymentID* | string | Object ID | 5d69de78674bf10001ed4ce1 |
Name | string | Name of deployment | 225-mcmp-aws-lamp-job |
Provider* | string | Provider name | AWS |
Status* | string | The deployment status | Deployed, deployed, DEPLOYED, Failed, failed, FAILED |
Duration* | int64 | Time required to run deployment in microseconds | 1005720 |
CreationDate* | string | Date and time of deployment | 2019-10-12T07:20:50.52Z |
ProviderHref | string | Endpoint Url | https://ec2-164-8-1.us-west-2.compute.amazonaws.com/api/v4/job_templates/16/jobs/?id=225 |
Details | map[string]interface{} | Additional details of a template(raw json file contents) | Raw JSON |
technical_service_name* | string | Technical serviceName is an abstraction for deployments group | MCMP-DevOps-Intelligence/devProject1 |
serviceoverride | boolean | Override flag for the service | true |
isProduction | boolean | If deployment is Production | true |