MCPcopy Create free account
hub / github.com/CScorza/IntelOSINT / api_social_watch_stop

Function api_social_watch_stop

IntelOSINT.py:21868–21875  ·  view source on GitHub ↗
(watch_id)

Source from the content-addressed store, hash-verified

21866
21867@app.route('/api/social/watch/<watch_id>', methods=['DELETE'])
21868def 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'])
21878def search():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected