(watch_id)
| 21866 | |
| 21867 | @app.route('/api/social/watch/<watch_id>', methods=['DELETE']) |
| 21868 | def api_social_watch_stop(watch_id): |
| 21869 | with SOCIAL_WATCHES_LOCK: |
| 21870 | watch = SOCIAL_WATCHES.get(watch_id) |
| 21871 | if not watch: |
| 21872 | return jsonify({"error": "watch non trovato"}), 404 |
| 21873 | watch["running"] = False |
| 21874 | watch["status"] = "stopped" |
| 21875 | return jsonify({"status": "stopped", "watch_id": watch_id}) |
| 21876 | |
| 21877 | @app.route('/api/search', methods=['POST']) |
| 21878 | def search(): |
nothing calls this directly
no outgoing calls
no test coverage detected