Tower uses a standard REST API, rooted at
/api/ on the server. The API is versioned for compatibility reasons,
api/v2/ is currently available, and
/api/v1/ is deprecated and will be removed in Ansible Tower 3.4. You can see information about what API versions are available by querying
You may have to specify the content/type on POST or PUT requests accordingly.
All URIs not ending with
"/" receive a 301 redirect.
Ansible Tower 3.4.0 API change: Formatting of extra_vars attached to Job Template records is preserved. Previously, YAML would be converted to JSON and returned as JSON. In 2.2.0 and newer, YAML is returned as YAML with formatting and comments preserved, and JSON is returned as JSON.