Add endpoint to set broadcast service channel

This commit is contained in:
David McDonald
2021-02-04 13:20:42 +00:00
parent 5d62647b9d
commit 3b5d86c854
4 changed files with 121 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
service_broadcast_settings_schema = {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Set a services broadcast settings",
"type": "object",
"title": "Set a services broadcast settings",
"properties": {
"broadcast_channel": {"enum": ["test", "severe"]}
},
"required": ["broadcast_channel"]
}