Early support for symbol themes.

This commit is contained in:
grossmj
2019-03-12 18:13:33 +07:00
parent bae3fb84b9
commit cf91e904f7
6 changed files with 62 additions and 16 deletions

View File

@ -85,6 +85,17 @@ class SymbolHandler:
controller.symbols.list()
response.set_status(204)
@Route.get(
r"/default_symbols",
description="List of default symbols",
status_codes={
200: "Default symbols list returned"
})
def list_default_symbols(request, response):
controller = Controller.instance()
response.json(controller.symbols.default_symbols())
# @Route.post(
# r"/symbol_theme",
# description="Create a new symbol theme",