Abiquo 4.6.3 now provides JSON templates for Action plans. This feature defines the data attributes for actions in JSON format to make it easier to create action plans with the API.
The UI also uses this feature and you can customize or translate the UI labels, for example, to change the label for “quantity” set the value of “jsonschema.property.quantity” in the label files.
The new ActionPlanEntryTemplates data object contains the JSON schema and the required link relations for all action types. For example, for the RESIZE_DISK entry type (after it is unescaped and formatted) the template is as follows:
And an example action plan entry to resize a disk is as follows:
For API documentation of the method to retrieve the template, see: https://wiki.abiquo.com/api/latest/ActionPlansResource.html#list-action-plan-entry-templates