REST API Reference
Check our newAPI documentation! It includes informationon how to use the API, references for all API options, etc.
You can also use the--debug flag with any CLI command. It will print out theequivalentcurl commands and responses, e.g.:
$st2--debugactionlist...# -------- begin 140419231392336 request ----------curl-XGET-H'Connection: keep-alive'-H'User-Agent: python-requests/2.8.1'-H'Accept-Encoding: gzip, deflate'-H'Accept: */*'-H'X-Auth-Token: cf7a543c015d4a76ae0a7ca02073d69b'https://172.31.0.104:9101/actions# -------- begin 140419231392336 response ----------[{"description":"Run ad-hoc ansible command (module)","runner_type":...