The documentation you're currently reading is for version 2.2.1. Click here to view documentation for the latest stable version.

REST API ReferenceΒΆ

Work in progress...

Meantime, using --debug key may help: used on any CLI command, it prints curl and outputs raw response:

$ st2 --debug action list
# -------- begin 140419231392336 request ----------
curl -X GET -H  'Connection: keep-alive' -H  'User-Agent: python-requests/2.8.1' -H  'Accept-Encoding: gzip, deflat
e' -H  'Accept: */*' -H  'X-Auth-Token: cf7a543c015d4a76ae0a7ca02073d69b'
# -------- begin 140419231392336 response ----------
[{"description": "Run ad-hoc ansible command (module)", "runner_type":