{"id":6785,"date":"2025-05-15T20:43:20","date_gmt":"2025-05-15T12:43:20","guid":{"rendered":"https:\/\/t.n-years.com\/?p=6785"},"modified":"2025-05-15T20:43:20","modified_gmt":"2025-05-15T12:43:20","slug":"top-n-%e5%b4%a9%e6%ba%83%e6%80%8e%e4%b9%88%e5%ae%9e%e7%8e%b0%e7%9a%84","status":"publish","type":"post","link":"https:\/\/t.n-years.com\/?p=6785","title":{"rendered":"Top N \u5d29\u6e83\u600e\u4e48\u5b9e\u73b0\u7684"},"content":{"rendered":"<h3>Top N \u5d29\u6e83\u7edf\u8ba1\u5b9e\u73b0\u65b9\u6848<\/h3>\n<p>\u5728\u5d29\u6e83\u76d1\u63a7\u7cfb\u7edf\u4e2d\uff0c&quot;Top N \u5d29\u6e83&quot; \u662f\u6307\u6309\u5f71\u54cd\u7528\u6237\u6570\u6216\u53d1\u751f\u9891\u7387\u6392\u5e8f\u7684\u6700\u4e25\u91cd\u7684 N \u4e2a\u5d29\u6e83\u7c7b\u578b\u3002\u5b9e\u73b0\u8fd9\u4e00\u529f\u80fd\u9700\u8981\u7ed3\u5408\u6570\u636e\u91c7\u96c6\u3001\u5b58\u50a8\u3001\u8ba1\u7b97\u548c\u5c55\u793a\u56db\u4e2a\u6838\u5fc3\u73af\u8282\u3002<\/p>\n<h3><strong>\u4e00\u3001\u6570\u636e\u91c7\u96c6\u5c42<\/strong><\/h3>\n<h4><strong>1. \u5ba2\u6237\u7aef\u5d29\u6e83\u6355\u83b7<\/strong><\/h4>\n<ul>\n<li>\n<p><strong>\u6355\u83b7\u673a\u5236<\/strong>\uff1a<\/p>\n<ul>\n<li>Android\uff1a\u901a\u8fc7 <code>Thread.setDefaultUncaughtExceptionHandler<\/code> \u6355\u83b7\u672a\u5904\u7406\u5f02\u5e38\u3002<\/li>\n<li>iOS\uff1a\u6ce8\u518c <code>NSSetUncaughtExceptionHandler<\/code> \u548c <code>signal<\/code> \u5904\u7406\u4fe1\u53f7\uff08\u5982 <code>SIGSEGV<\/code>\uff09\u3002<\/li>\n<li>Web\uff1a\u4f7f\u7528 <code>window.onerror<\/code> \u548c <code>unhandledrejection<\/code> \u4e8b\u4ef6\u76d1\u542c JS \u9519\u8bef\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u5173\u952e\u6570\u636e\u63d0\u53d6<\/strong>\uff1a<\/p>\n<pre><code class=\"language-java\">\/\/ Android \u5d29\u6e83\u6355\u83b7\u793a\u4f8b\npublic class CrashHandler implements Thread.UncaughtExceptionHandler {\n  @Override\n  public void uncaughtException(Thread thread, Throwable ex) {\n      String stackTrace = getStackTrace(ex); \/\/ \u5806\u6808\u4fe1\u606f\n      String exceptionType = ex.getClass().getName(); \/\/ \u5f02\u5e38\u7c7b\u578b\n      String message = ex.getMessage(); \/\/ \u9519\u8bef\u6d88\u606f\n      \/\/ \u6536\u96c6\u8bbe\u5907\u4fe1\u606f\u3001\u7528\u6237\u64cd\u4f5c\u4e0a\u4e0b\u6587\u7b49\n      uploadCrashReport(stackTrace, exceptionType, message, deviceInfo, userContext);\n  }\n}<\/code><\/pre>\n<\/li>\n<\/ul>\n<h4><strong>2. \u5d29\u6e83\u5206\u7ec4\u4e0e\u6307\u7eb9\u751f\u6210<\/strong><\/h4>\n<ul>\n<li><strong>\u95ee\u9898<\/strong>\uff1a\u76f8\u540c\u7c7b\u578b\u7684\u5d29\u6e83\u53ef\u80fd\u56e0\u884c\u53f7\u6216\u53c2\u6570\u4e0d\u540c\u5bfc\u81f4\u5806\u6808\u4e0d\u5b8c\u5168\u76f8\u540c\u3002<\/li>\n<li>\n<p><strong>\u89e3\u51b3\u65b9\u6848<\/strong>\uff1a\u751f\u6210\u5d29\u6e83&quot;\u6307\u7eb9&quot;\uff08Fingerprint\uff09\uff1a<\/p>\n<ul>\n<li>\u63d0\u53d6\u5806\u6808\u4e2d\u5173\u952e\u65b9\u6cd5\uff08\u5982\u5e94\u7528\u4ee3\u7801\u4e2d\u7684\u9876\u5c42\u65b9\u6cd5\uff09\u3002<\/li>\n<li>\u5ffd\u7565\u53d8\u5316\u7684\u53c2\u6570\u548c\u884c\u53f7\uff0c\u53ea\u4fdd\u7559\u7c7b\u540d\u548c\u65b9\u6cd5\u540d\u3002<\/li>\n<li>\u4f7f\u7528\u54c8\u5e0c\u7b97\u6cd5\uff08\u5982 MurmurHash\uff09\u751f\u6210\u6307\u7eb9\u3002<\/li>\n<\/ul>\n<pre><code class=\"language-python\"># \u6307\u7eb9\u751f\u6210\u793a\u4f8b\uff08\u7b80\u5316\u7248\uff09\ndef generate_fingerprint(stack_trace_lines):\n  # \u63d0\u53d6\u5e94\u7528\u4ee3\u7801\u7684\u5173\u952e\u5e27\uff08\u5ffd\u7565\u7cfb\u7edf\u5e93\uff09\n  app_frames = [line for line in stack_trace_lines if \"com.example.app\" in line]\n  # \u63d0\u53d6\u7c7b\u540d\u548c\u65b9\u6cd5\u540d\uff08\u5ffd\u7565\u884c\u53f7\u548c\u53c2\u6570\uff09\n  key_methods = [re.search(r'(\\w+\\.java):\\d+', frame).group(1) for frame in app_frames]\n  # \u751f\u6210\u54c8\u5e0c\u6307\u7eb9\n  fingerprint = hashlib.md5(''.join(key_methods).encode()).hexdigest()\n  return fingerprint<\/code><\/pre>\n<\/li>\n<\/ul>\n<h3><strong>\u4e8c\u3001\u6570\u636e\u5b58\u50a8\u5c42<\/strong><\/h3>\n<h4><strong>1. \u539f\u59cb\u5d29\u6e83\u6570\u636e\u5b58\u50a8<\/strong><\/h4>\n<ul>\n<li><strong>\u5b58\u50a8\u7cfb\u7edf<\/strong>\uff1a\u5206\u5e03\u5f0f\u65e5\u5fd7\u5b58\u50a8\uff08\u5982 Elasticsearch\u3001Apache Kafka + HDFS\uff09\u3002<\/li>\n<li><strong>\u5b58\u50a8\u7ed3\u6784<\/strong>\uff1a\n<pre><code class=\"language-json\">{\n\"crash_id\": \"uuid-12345\",\n\"fingerprint\": \"5f3a2b7c9d0e1f2a3b4c5d6e7f89012\",\n\"type\": \"NullPointerException\",\n\"message\": \"Attempt to invoke method on null object\",\n\"stack_trace\": [\"at com.example.app.MainActivity.onCreate(...)\", ...],\n\"device_id\": \"device-9876\",\n\"user_id\": \"user-1234\",\n\"app_version\": \"2.5.0\",\n\"timestamp\": \"2025-05-15T10:30:45Z\"\n}<\/code><\/pre>\n<\/li>\n<\/ul>\n<h4><strong>2. \u805a\u5408\u7edf\u8ba1\u6570\u636e\u5b58\u50a8<\/strong><\/h4>\n<ul>\n<li><strong>\u5b58\u50a8\u7cfb\u7edf<\/strong>\uff1a\u65f6\u5e8f\u6570\u636e\u5e93\uff08\u5982 InfluxDB\u3001TimescaleDB\uff09\u6216\u5206\u5e03\u5f0f\u952e\u503c\u5b58\u50a8\uff08\u5982 Redis\u3001Cassandra\uff09\u3002<\/li>\n<li>\n<p><strong>\u7edf\u8ba1\u7ef4\u5ea6<\/strong>\uff1a<\/p>\n<ul>\n<li><strong>\u6309\u6307\u7eb9\u5206\u7ec4<\/strong>\uff1a\u7edf\u8ba1\u6bcf\u4e2a\u5d29\u6e83\u6307\u7eb9\u7684\u53d1\u751f\u6b21\u6570\u3001\u5f71\u54cd\u7528\u6237\u6570\u3001\u7248\u672c\u5206\u5e03\u7b49\u3002<\/li>\n<li><strong>\u6309\u65f6\u95f4\u7a97\u53e3<\/strong>\uff1a\u5b9e\u65f6\u7edf\u8ba1\uff08\u6bcf\u5206\u949f\uff09\u3001\u77ed\u671f\u8d8b\u52bf\uff08\u6bcf\u5c0f\u65f6\uff09\u3001\u957f\u671f\u8d8b\u52bf\uff08\u6bcf\u5929\uff09\u3002<\/li>\n<\/ul>\n<pre><code class=\"language-python\"># Redis \u4e2d\u5b58\u50a8\u7edf\u8ba1\u6570\u636e\u793a\u4f8b\ndef update_crash_stats(fingerprint, user_id, app_version):\n  # 1. \u589e\u52a0\u5d29\u6e83\u8ba1\u6570\n  redis_client.incr(f\"crash:{fingerprint}:count\")\n\n  # 2. \u4f7f\u7528 Set \u53bb\u91cd\u5b58\u50a8\u53d7\u5f71\u54cd\u7528\u6237\n  redis_client.sadd(f\"crash:{fingerprint}:users\", user_id)\n\n  # 3. \u8bb0\u5f55\u7248\u672c\u5206\u5e03\n  redis_client.hincrby(f\"crash:{fingerprint}:versions\", app_version, 1)\n\n  # 4. \u8bb0\u5f55\u6700\u8fd1\u53d1\u751f\u65f6\u95f4\n  redis_client.zadd(f\"crash:{fingerprint}:timestamps\", {datetime.now().timestamp(): uuid.uuid4()})<\/code><\/pre>\n<\/li>\n<\/ul>\n<h3><strong>\u4e09\u3001\u8ba1\u7b97\u5c42<\/strong><\/h3>\n<h4><strong>1. \u5b9e\u65f6\u8ba1\u7b97\u6846\u67b6<\/strong><\/h4>\n<ul>\n<li><strong>\u6280\u672f\u9009\u578b<\/strong>\uff1aApache Flink\u3001Kafka Streams \u6216 Spark Streaming\u3002<\/li>\n<li>\n<p><strong>\u8ba1\u7b97\u903b\u8f91<\/strong>\uff1a<\/p>\n<ul>\n<li><strong>\u6ed1\u52a8\u7a97\u53e3\u805a\u5408<\/strong>\uff1a\u7edf\u8ba1\u6700\u8fd1 1 \u5c0f\u65f6\/24 \u5c0f\u65f6\u5185\u7684\u5d29\u6e83\u6b21\u6570\u3002<\/li>\n<li><strong>\u7528\u6237\u53bb\u91cd<\/strong>\uff1a\u4f7f\u7528\u5e03\u9686\u8fc7\u6ee4\u5668\u6216 HyperLogLog \u4f30\u7b97\u5f71\u54cd\u7528\u6237\u6570\u3002<\/li>\n<li><strong>\u6743\u91cd\u8ba1\u7b97<\/strong>\uff1a\u7efc\u5408\u8003\u8651\u5d29\u6e83\u9891\u7387\u3001\u5f71\u54cd\u7528\u6237\u6570\u548c\u4e25\u91cd\u7a0b\u5ea6\uff08\u5982\u542f\u52a8\u5d29\u6e83\u6743\u91cd\u66f4\u9ad8\uff09\u3002<\/li>\n<\/ul>\n<pre><code class=\"language-java\">\/\/ Flink \u5b9e\u65f6\u8ba1\u7b97\u793a\u4f8b\uff08Java\uff09\nDataStream<CrashEvent> crashEvents = env.addSource(kafkaSource);\n\n\/\/ \u6309\u6307\u7eb9\u5206\u7ec4\uff0c\u7edf\u8ba1\u6bcf\u5c0f\u65f6\u5d29\u6e83\u6b21\u6570\nDataStream<Tuple2<String, Long>> topCrashCounts = crashEvents\n  .keyBy(CrashEvent::getFingerprint)\n  .window(TumblingProcessingTimeWindows.of(Time.hours(1)))\n  .aggregate(new CrashCountAggregate());\n\n\/\/ \u8ba1\u7b97 Top N \u5d29\u6e83\ntopCrashCounts\n  .windowAll(TumblingProcessingTimeWindows.of(Time.minutes(5)))\n  .apply(new TopNCrashFunction(10)); \/\/ \u53d6 Top 10<\/code><\/pre>\n<\/li>\n<\/ul>\n<h4><strong>2. \u79bb\u7ebf\u8ba1\u7b97<\/strong><\/h4>\n<ul>\n<li><strong>\u573a\u666f<\/strong>\uff1a\u5386\u53f2\u6570\u636e\u5206\u6790\u3001\u8d8b\u52bf\u8ba1\u7b97\u3001\u6df1\u5ea6\u805a\u5408\u3002<\/li>\n<li><strong>\u6280\u672f\u9009\u578b<\/strong>\uff1aApache Spark\u3001Hive\u3002<\/li>\n<li><strong>\u8ba1\u7b97\u4efb\u52a1<\/strong>\uff1a\n<ul>\n<li>\u6bcf\u65e5\u5168\u91cf\u7edf\u8ba1\u5d29\u6e83\u5206\u5e03\u3002<\/li>\n<li>\u8ba1\u7b97\u5d29\u6e83\u4fee\u590d\u7387\uff08\u5982\u67d0\u4e2a\u7248\u672c\u4fee\u590d\u540e\u5d29\u6e83\u7387\u4e0b\u964d\uff09\u3002<\/li>\n<li>\u5173\u8054\u7528\u6237\u884c\u4e3a\u6570\u636e\uff08\u5982\u5d29\u6e83\u524d\u64cd\u4f5c\u8def\u5f84\uff09\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3><strong>\u56db\u3001\u5c55\u793a\u5c42<\/strong><\/h3>\n<h4><strong>1. \u524d\u7aef\u5c55\u793a\u7ec4\u4ef6<\/strong><\/h4>\n<ul>\n<li>\n<p><strong>\u6838\u5fc3\u6307\u6807<\/strong>\uff1a<\/p>\n<ul>\n<li>\u5d29\u6e83\u6b21\u6570\u3001\u5f71\u54cd\u7528\u6237\u6570\u3001\u5f71\u54cd\u7387\uff08\u53d7\u5f71\u54cd\u7528\u6237\u5360\u6d3b\u8dc3\u7528\u6237\u6bd4\u4f8b\uff09\u3002<\/li>\n<li>\u8d8b\u52bf\u56fe\uff1a\u6309\u65f6\u95f4\u5c55\u793a\u5d29\u6e83\u6b21\u6570\u53d8\u5316\u3002<\/li>\n<li>\u7248\u672c\u5206\u5e03\uff1a\u5404\u7248\u672c\u7684\u5d29\u6e83\u5360\u6bd4\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u4ea4\u4e92\u8bbe\u8ba1<\/strong>\uff1a<\/p>\n<ul>\n<li>\u4e0b\u94bb\u529f\u80fd\uff1a\u70b9\u51fb\u67d0\u4e2a\u5d29\u6e83\u53ef\u67e5\u770b\u8be6\u60c5\uff08\u5806\u6808\u3001\u7528\u6237\u5217\u8868\u3001\u8bbe\u5907\u5206\u5e03\uff09\u3002<\/li>\n<li>\u7b5b\u9009\u6761\u4ef6\uff1a\u6309\u7248\u672c\u3001\u8bbe\u5907\u3001\u65f6\u95f4\u8303\u56f4\u8fc7\u6ee4\u3002<\/li>\n<li>\u5bfc\u51fa\u529f\u80fd\uff1a\u652f\u6301\u5bfc\u51fa\u5d29\u6e83\u6570\u636e\u7528\u4e8e\u8fdb\u4e00\u6b65\u5206\u6790\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4><strong>2. API \u63a5\u53e3\u8bbe\u8ba1<\/strong><\/h4>\n<pre><code class=\"language-python\"># Flask API \u793a\u4f8b\uff08Python\uff09\n@app.route(&#039;\/api\/top_crashes&#039;, methods=[&#039;GET&#039;])\ndef get_top_crashes():\n    # \u53c2\u6570\u89e3\u6790\n    limit = request.args.get(&#039;limit&#039;, 10, type=int)\n    time_range = request.args.get(&#039;time_range&#039;, &#039;24h&#039;)\n    app_version = request.args.get(&#039;version&#039;)\n\n    # \u67e5\u8be2 Top N \u5d29\u6e83\n    top_crashes = redis_client.zrevrangebyscore(\n        f&quot;crash:rank:{time_range}&quot;, \n        &quot;+inf&quot;, &quot;-inf&quot;, \n        start=0, num=limit, \n        withscores=True\n    )\n\n    # \u6784\u5efa\u54cd\u5e94\n    result = []\n    for fingerprint, count in top_crashes:\n        crash_info = get_crash_details(fingerprint)\n        result.append({\n            &quot;fingerprint&quot;: fingerprint,\n            &quot;count&quot;: count,\n            &quot;user_count&quot;: redis_client.scard(f&quot;crash:{fingerprint}:users&quot;),\n            &quot;versions&quot;: redis_client.hgetall(f&quot;crash:{fingerprint}:versions&quot;),\n            &quot;first_occurrence&quot;: redis_client.zrange(f&quot;crash:{fingerprint}:timestamps&quot;, 0, 0),\n            &quot;last_occurrence&quot;: redis_client.zrange(f&quot;crash:{fingerprint}:timestamps&quot;, -1, -1),\n            &quot;sample_stacktrace&quot;: crash_info.get(&quot;stack_trace&quot;)\n        })\n\n    return jsonify(result)<\/code><\/pre>\n<h3><strong>\u4e94\u3001\u6027\u80fd\u4f18\u5316<\/strong><\/h3>\n<ol>\n<li>\n<p><strong>\u7f13\u5b58\u673a\u5236<\/strong>\uff1a<\/p>\n<ul>\n<li>\u5bf9\u9ad8\u9891\u8bbf\u95ee\u7684 Top N \u7ed3\u679c\u4f7f\u7528 Redis \u7f13\u5b58\uff08\u5982 5 \u5206\u949f\u5237\u65b0\u4e00\u6b21\uff09\u3002<\/li>\n<li>\u4f7f\u7528 LRU \u7f13\u5b58\u5b58\u50a8\u70ed\u95e8\u5d29\u6e83\u8be6\u60c5\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u5f02\u6b65\u5904\u7406<\/strong>\uff1a<\/p>\n<ul>\n<li>\u5d29\u6e83\u4e0a\u62a5\u91c7\u7528\u5f02\u6b65\u961f\u5217\uff08\u5982 Kafka\uff09\uff0c\u907f\u514d\u963b\u585e\u4e3b\u7ebf\u7a0b\u3002<\/li>\n<li>\u805a\u5408\u8ba1\u7b97\u4efb\u52a1\u5728\u540e\u53f0\u5b9a\u65f6\u6267\u884c\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u5206\u5c42\u5b58\u50a8<\/strong>\uff1a<\/p>\n<ul>\n<li>\u8fd1\u671f\u6570\u636e\uff087\u5929\u5185\uff09\u5b58\u50a8\u5728\u9ad8\u6027\u80fd\u6570\u636e\u5e93\uff08\u5982 Elasticsearch\uff09\u3002<\/li>\n<li>\u5386\u53f2\u6570\u636e\u5f52\u6863\u5230\u4f4e\u6210\u672c\u5b58\u50a8\uff08\u5982 S3\uff09\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3><strong>\u516d\u3001\u5b9e\u9645\u5e94\u7528\u6548\u679c<\/strong><\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/via.placeholder.com\/800x400?text=Top+N+Crash+Dashboard\" alt=\"Top N \u5d29\u6e83\u5c55\u793a\u793a\u4f8b\" \/><\/p>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u67b6\u6784\uff0c\u53ef\u5b9e\u73b0\uff1a<\/p>\n<ul>\n<li><strong>\u5b9e\u65f6\u76d1\u63a7<\/strong>\uff1a5\u5206\u949f\u5185\u53d1\u73b0\u65b0\u51fa\u73b0\u7684\u9ad8\u9891\u5d29\u6e83\u3002<\/li>\n<li><strong>\u7cbe\u51c6\u5b9a\u4f4d<\/strong>\uff1a\u901a\u8fc7\u6307\u7eb9\u805a\u5408\uff0c\u5c06\u540c\u4e00\u7c7b\u5d29\u6e83\u5173\u8054\u5728\u4e00\u8d77\u3002<\/li>\n<li><strong>\u6570\u636e\u9a71\u52a8\u51b3\u7b56<\/strong>\uff1a\u4f18\u5148\u4fee\u590d\u5f71\u54cd\u7528\u6237\u6700\u591a\u7684\u5d29\u6e83\u3002<\/li>\n<\/ul>\n<p>\u5b9e\u9645\u90e8\u7f72\u65f6\uff0c\u53ef\u6839\u636e\u4e1a\u52a1\u89c4\u6a21\u9009\u62e9\u5408\u9002\u7684\u6280\u672f\u6808\uff08\u5982\u4e2d\u5c0f\u578b\u5e94\u7528\u53ef\u7b80\u5316\u4e3a ELK \u5806\u6808 + Redis\uff0c\u5927\u578b\u4f01\u4e1a\u53ef\u91c7\u7528 Flink + \u5206\u5e03\u5f0f\u5b58\u50a8\uff09\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Top N \u5d29\u6e83\u7edf\u8ba1\u5b9e\u73b0\u65b9\u6848 \u5728\u5d29\u6e83\u76d1\u63a7\u7cfb\u7edf\u4e2d\uff0c&quot;Top N \u5d29\u6e83&quot; \u662f\u6307\u6309\u5f71\u54cd\u7528\u6237\u6570\u6216\u53d1&#8230; <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/t.n-years.com\/?p=6785\">\u9605\u8bfb\u66f4\u591a<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-6785","post","type-post","status-publish","format-standard","hentry","category-5"],"_links":{"self":[{"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/posts\/6785","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/t.n-years.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6785"}],"version-history":[{"count":1,"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/posts\/6785\/revisions"}],"predecessor-version":[{"id":6786,"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/posts\/6785\/revisions\/6786"}],"wp:attachment":[{"href":"https:\/\/t.n-years.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/t.n-years.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6785"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/t.n-years.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}