Download the Configuration template
API developers can quickly design, build, and deploy secure and consistent APIs through CI/CD pipelines. To automate the API publish process, developers need to configure environment-specific details and other parameters in a template provided by API Cloud.
To download the Configuration template:
-
Download the proxy template using the following API call.
- API Call
Get https://cloud.api.trimble.com/core-console/1.0/publisher/api/template/[Template_Name](/content/how-to-guides/publishcicd/api-publish-cico-templates)
Example
GET https://cloud.api.trimble.com/core-console/1.0/publisher/api/template/AdvancedUser\_APITemplate
- Headers
This may be automatically added by your development tool. Postman and curl add this header to all requests.
- Authorization:Bearer {bearer token}
Include Trimble Identity OAuth Bearer token for your application (see get access token instructions for more information).
-
Save the template.
-
On your local machine, create a new directory and expand the downloaded ZIP file into it.
-
Unzip the files.
-
Edit the source files as necessary. For more details on editing the xml files in template, see Editing the ConfigurationTemplate