Export an application process

Request

GET https://{hostname}:{port}
    /cli/applicationProcess/export?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
application string true Name or ID of the application
applicationProcess string true Name of the process
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Command to export an application process to a JSON file

curl -k -u jsmith:passwd 
   
 -H "Accept: application/json" 
 -X GET "https://deployserver.example.com:8443/cli/applicationProcess/export
?application=JPetStore&applicationProcess=Deploy JPetStore"

Response

File written to: ./application-process-Deploy JPetStore.json

Related CLI command: exportApplicationProcess.