Deployment
Create Deployment
POST
https://api.gmetri.com/sdk/deployment/create
Create deployment for the project.
Headers
Authorization*
String
Token <apiToken>
Request Body
orgSlug*
String
Unique slug of the organization
projUuid*
String
Unique identifier of the project(UUID format)
deploymentSlug
String
Unique slug of the deployment
Get Deployment
POST
https://api.gmetri.com/sdk/deployment/get
Get deployment by id
Headers
Authorization*
String
Token <apiToken>
Request Body
projUuid*
String
Unique identifier of the project(UUID format)
deploymentId*
Number
Unique id of the deployment
Get All Deployment
POST
https://api.gmetri.com/sdk/deployment/getAll
Get all deployment by project uuid
Headers
Authorization*
String
Token <apiToken>
Request Body
projUuid*
String
Update Deployment
POST
https://api.gmetri.com/sdk/deployment/update
Update deployment details by deployment.id
Headers
Authorization*
String
Request Body
orgSlug*
String
deploymentId*
Number
Unique id of the deployment
slug
String
New deployment slug
settings
Object
RecordNode<RT.deployment>
viewerGroupId
Number
Unique id of the Viewer group this deployment belongs to
live
Boolean
set true will make deployment live and false will make it idle/inactive
Delete Deployment
POST
https://api.gmetri.com/sdk/deployment/delete
Delete deployment by id
Headers
Authorization*
String
Token <apiToken>
Request Body
projUuid*
String
deploymentId*
Number
Unique id of the deployment
Last updated