@bottle.post('/api/v3/report/import')
def post_report_import(database: Database):
    'Import a preconfigured report into the database.'
    report = dict(bottle.request.json)
    result = import_json_report(database, report)
    result['new_report_uuid'] = report['report_uuid']
    return result
Import a preconfigured report into the database.
@bottle.post('/api/v3/report/import')
def post_report_import(database: Database):
    
    report = dict(bottle.request.json)
    result = import_json_report(database, report)
    result['new_report_uuid'] = report['report_uuid']
    return result