List build known hosts via API
This method allows you to list all known hosts within a project.
URL
/project/<permalink>/build_known_hosts
- Replace
<permalink>
with the permalink of your project.
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/projects/my-new-project/build_known_hosts
Example response
[
{
"identifier":"7d76185d-63ed-49a3-b999-52b8a20d22ef",
"hostname":"codebasehq.com",
"fingerprint":"2e:db:b6:22:f7:bd:48:f6:da:72:bf:59:d7:75:d7:4e"
}
]