Deployment
Create Deployment
POST
https://api.gmetri.com/sdk/deployment/create
Create deployment for the project.
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Token <apiToken> |
Request Body
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
Authorization* | String | Token <apiToken> |
Request Body
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
Authorization* | String | Token <apiToken> |
Request Body
Name | Type | Description |
---|---|---|
projUuid* | String |
Update Deployment
POST
https://api.gmetri.com/sdk/deployment/update
Update deployment details by deployment.id
Headers
Name | Type | Description |
---|---|---|
Authorization* | String |
Request Body
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
Authorization* | String | Token <apiToken> |
Request Body
Name | Type | Description |
---|---|---|
projUuid* | String | |
deploymentId* | Number | Unique id of the deployment |
Last updated