REST API 

This is the detailed command structure for communicating with Repstance Services, it sends an HTTP/HTTPS request in the “JSON Format” to the services and adheres to the established protocols for the JSON format. List of the available Repstance commands and their specification is provided in chapters: DATABASE CONFIGURATION COMMANDS,  PROCESS CONFIGURATION COMMANDS, PROCESS CONTROL COMMANDS

 The following example demonstrates how to use REST API to call “status” command: 

$curl --header "Content-Type: application/json" \ --request POST \ --data '{"command": "status"}' http://localhost:8796/control/process
 
On this page