Export an application process

This command exports an application process to a JSON or YAML file format.

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

Example 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"

Example response

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

Related CLI command: exportApplicationProcess.