{ "timestamp": "2025-07-31T11:12:51.867517", "old_api": { "api/routers/tweet.py": { "exists": true, "routes": [ { "method": "POST", "path": "/topics" }, { "method": "POST", "path": "/content" }, { "method": "POST", "path": "/content-with-prompt" }, { "method": "POST", "path": "/judge" }, { "method": "POST", "path": "/pipeline" } ], "file_size": 13122, "line_count": 393 }, "api/routers/poster.py": { "exists": true, "routes": [ { "method": "GET", "path": "/test/templates" }, { "method": "GET", "path": "/templates" }, { "method": "GET", "path": "/templates/{template_id}" }, { "method": "POST", "path": "/generate" }, { "method": "POST", "path": "/image-usage" } ], "file_size": 5325, "line_count": 166 }, "api/routers/document.py": { "exists": true, "routes": [ { "method": "POST", "path": "/process" }, { "method": "POST", "path": "/batch-process" }, { "method": "POST", "path": "/extract-text" }, { "method": "POST", "path": "/parse-text" }, { "method": "POST", "path": "/transform" }, { "method": "GET", "path": "/supported-formats" }, { "method": "GET", "path": "/statistics" }, { "method": "POST", "path": "/upload-and-process" }, { "method": "POST", "path": "/upload-batch-process" } ], "file_size": 11105, "line_count": 338 } }, "new_api": { "api_v2/routers/content.py": { "exists": true, "routes": [ { "method": "POST", "path": "/topics" }, { "method": "POST", "path": "/generate" }, { "method": "POST", "path": "/judge" }, { "method": "GET", "path": "/pipeline/stats" } ], "file_size": 6201, "line_count": 214 }, "api_v2/routers/poster.py": { "exists": true, "routes": [ { "method": "POST", "path": "/generate" }, { "method": "POST", "path": "/vibrant" }, { "method": "GET", "path": "/templates" }, { "method": "GET", "path": "/pipeline/stats" } ], "file_size": 6575, "line_count": 220 }, "api_v2/routers/document.py": { "exists": true, "routes": [ { "method": "POST", "path": "/process" }, { "method": "POST", "path": "/extract" }, { "method": "POST", "path": "/integrate" }, { "method": "POST", "path": "/transform" }, { "method": "GET", "path": "/formats" }, { "method": "GET", "path": "/pipeline/stats" } ], "file_size": 10237, "line_count": 329 }, "api_v2/routers/crawling.py": { "exists": true, "routes": [ { "method": "POST", "path": "/xhs/search" }, { "method": "POST", "path": "/xhs/batch_search" }, { "method": "POST", "path": "/keywords/analyze" }, { "method": "POST", "path": "/content/analyze" }, { "method": "POST", "path": "/search_and_analyze" }, { "method": "GET", "path": "/pipeline/stats" } ], "file_size": 12545, "line_count": 403 } }, "interface_mapping": { "content_generation": { "old": "api/routers/tweet.py", "new": "api_v2/routers/content.py", "mapping_quality": "high" }, "poster_generation": { "old": "api/routers/poster.py", "new": "api_v2/routers/poster.py", "mapping_quality": "high" }, "document_processing": { "old": "api/routers/document.py", "new": "api_v2/routers/document.py", "mapping_quality": "high" }, "crawling_analysis": { "old": null, "new": "api_v2/routers/crawling.py", "mapping_quality": "new_feature" } }, "compatibility_analysis": { "total_interfaces": 3, "compatible_interfaces": 3, "compatibility_rate": 1.0, "new_features": 1 } }