How to make REST API call to create and deploy snapshot using Postman
This article explains how to make a REST API call in the Configuration Manager for Jira app to create and deploy using Postman.
Instructions
Create a new snapshot. Open Postman and enter the below details:
Enter REST API under the POST method as mentioned in this link https://docs.botronsoft.com/cmj/api/rest/1.4/#snapshots_post
Enter the request under the Body tab. Request details can be found in this link https://docs.botronsoft.com/cmj/api/rest/1.4/#snapshots_post
Postman:Click Send.
The snapshot id is generated.Start the deployment operation.
Enter the REST API under POST method as mentioned in this link https://docs.botronsoft.com/cmj/api/rest/1.4/#deployments_post
Enter the content type value: application/json.Upload the snapshot and enter the zip file name under the Body tab.
Enter the REST API under the PUT method as mentioned in this link https://docs.botronsoft.com/cmj/api/rest/1.4/#deployments__id__content_put
First, deploy the snapshot in a staging environment and then only in Production.
Documentation of REST API Configuration Manager https://docs.botronsoft.com/cmj/api/rest/1.4/
How to use Postman tool https://www.guru99.com/postman-tutorial.html