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}| Parameter | Type | Required | Description |
|---|---|---|---|
| application | string | true | Name or ID of the application |
| applicationProcess | string | true | Name of the process |
| Parameter | Type | Required | Description |
|---|---|---|---|
| Accept |
|
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.jsonRelated CLI command: exportApplicationProcess.