Stop

You can stop application archives that are running on an engine by REST method by submitting a cURL expression to the Silver Fabric Broker. You must know the Engine-Id, Engine-Instance, and the full application ArchiveName.

curl -u UserName:Password
     -X POST 
     -H "Accept:application/json" 
     -H "Content-type: multipart/form-data" \ 
     -v "http://<YourSFBroker.com>:<port>/livecluster/rest/v1/sf/e
ngines/{engine-id}/{engine-instance}/archives/{appname}/{archive-id}/stop"

Version- (optional) The version form-data field (-F) lets you specify the version to be started or stopped. If not specified, the version number is obtained from the deployed application that has the same application name.

Refer to the Start method for a description on how to obtain the values of {engine-id}, {engine-instance}, and {appname}.

The following is cURL example that stops an Archive:

curl -u admin:admin
     -X POST -H "Accept:application/json"
     -H "Content-Type:multipart/form-data" http://lin64vm205.qa.datasynapse.com:8080/livecluster/rest/v1/sf/engines/5103224222683646426/3/archives/tibco.bw.sample.binding.soap.http.BookStore.application/tibco.bw.sample.binding.soap.http.BookStore.application/stop