Manage decorations
Itential Automation Gateway (IAG) aggregates all of your Ansible modules, roles, playbooks, and scripts. Along with this attribute is the ability to decorate or enhance each module, role, playbook, and script. With decoration, you have the flexibility to edit JSON schemas for identifying and modifying metadata such as input parameters, descriptions, or types. Decoration is currently stored in the database.
Use the following set of APIs to export, import, and remove JSON schemas.
Export
Retrieve the schema from a module, role, playbook, or script. The response from this call can be saved and used as direct input for importing a schema to another Automation Gateway server.
API
Sample response
Import
Add or update the schema for a module, role, playbook, or script.
API
Sample request
Sample response
Removal
Delete the user decorated schema for a module, role, playbook, or script.
This call only removes a user decorated schema. It does not apply to the certified schemas provided by Itential for roles and modules, nor to a module’s native schema that is automatically created at discovery time by the AG server.