Header

List SSH commands

This method allows you to list all SSH commands within a project template.

URL

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

Example response

[
  {
    "identifier":"a5104e70-db2c-475b-b54c-ead63c3e5388",
    "cback":"after_changes",
    "position":1,
    "description":"Test",
    "command":"echo test;",
    "halt_on_error":false,
    "servers":[],
    "timing":"all",
    "timeout":300
  }
]

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