Request
GET https://{hostname}:{port}
/cli/componentTemplate/export?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter |
Type |
Required |
Description |
componentTemplate |
string |
true |
Name or ID of the component template |
Command to export component template to a JSON file
curl -k -u jsmith:passwd
-H "Accept: application/json"
-X GET "https://deployserver.example.com:8443/cli/componentTemplate/export
?componentTemplate=JPetStoreTemplate&componentProcess=Deploy JPetStore Comp"
Response
File written to: ./component-process-Deploy JPetStore Comp.yml