add template folder CRUD

* create template folder
* rename template folder
* get list of template folders for service (not nested/presented in any
  particular way)
* delete template folder

Also removed `lazy=dynamic` from the `template_folder.templates`
relationship. lazy=dynamic returns a query object (which you can then
filter further). We just want to return the entire fetched list, at
least for now.
This commit is contained in:
Leo Hemsted
2018-10-30 16:26:25 +00:00
parent f0c61c8f29
commit fbe34041d6
9 changed files with 338 additions and 4 deletions

View File

@@ -11,6 +11,14 @@ uuid = {
"link": "link to our error documentation not yet implemented"
}
nullable_uuid = {
"type": ["string", "null"],
"format": "validate_uuid",
"validationMessage": "is not a valid UUID",
"code": "1001", # yet to be implemented
"link": "link to our error documentation not yet implemented"
}
personalisation = {
"type": "object",