List config files via API (templates)
This method allows you to list all config files within a project template.
URL
/templates/<permalink>/config_files
- Replace
<permalink>
with the permalink of your template.
HTTP Method
GET
Supported Parameters
None
Example cURL Request
curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user adam@atechmedia.com:my-api-key \
https://atech.deployhq.com/templates/api-created/config_files
Example response
[
{
"identifier":"df8966fe-e161-4517-98e2-24f79102dd62",
"path":"database.yml",
"body":"development:\n adapter: mysql2",
"build":true,
"servers":[]
}
]