You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/bazarr/api/system/health.py

14 lines
265 B

# coding=utf-8
from flask import jsonify
from flask_restful import Resource
from ..utils import authenticate
from utils import get_health_issues
class SystemHealth(Resource):
@authenticate
def get(self):
return jsonify(data=get_health_issues())