()
| 19346 | |
| 19347 | @app.route('/api/ghunt/install', methods=['POST']) |
| 19348 | def ghunt_install(): |
| 19349 | denied = require_sensitive_request("ghunt_install", limit=2, window=600) |
| 19350 | if denied: |
| 19351 | return denied |
| 19352 | result = core.ghunt_install() |
| 19353 | code = 200 if result.get("ok") else 500 |
| 19354 | return jsonify(result), code |
| 19355 | |
| 19356 | @app.route('/api/ghunt/status', methods=['POST']) |
| 19357 | def ghunt_status(): |
nothing calls this directly
no test coverage detected