Viconf2 is a rewrite of Viconf, a template-oriented provisioning system.
This is WIP, and not at all intended for any usage yet.
POST:
endpoint: /api/v1/configuration/templates/
{
"name": "Name",
"up_contents": "Template Here"
"down_contents": "Template here"
}
GET: /api/v1/configuration/templates/<id>/fields/
PUT: /api/v1/configuration/templates/<id>/fields/
{
"resource_fieldset": [
{
"name": "variable",
"validator": "validator",
"label": "Some label"
},
{
"name": "variable2",
...
}
]
}
To be completed…