Header

List servers

This method allow you to list servers within a project template.

URL

/templates/<permalink>/servers
  • 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/servers

Example response

[
  {
    "id":832879,
    "identifier":"be63c97f-e941-4f62-8582-116dddd601e6",
    "name":"FTP server",
    "protocol_type":"ftp",
    "server_path":"pubic_html",
    "last_revision":null,
    "preferred_branch":null,
    "branch":null,
    "notify_email":"never",
    "server_group_identifier":null,
    "auto_deploy":false,
    "hostname":"files.000webhost.com",
    "username":"deployhqtest",
    "port":"21",
    "passive":false,
    "force_hidden_files":false
  }
]

Proudly powered by Katapult. Running on 100% renewable energy.