{"id":11,"date":"2026-03-21T22:47:13","date_gmt":"2026-03-21T14:47:13","guid":{"rendered":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/automation-gmail-pubsub\/"},"modified":"2026-03-21T23:08:51","modified_gmt":"2026-03-21T15:08:51","slug":"automation-gmail-pubsub","status":"publish","type":"post","link":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/automation-gmail-pubsub\/","title":{"rendered":"Gmail PubSub"},"content":{"rendered":"<h1>Gmail PubSub<\/h1>\n<h1>Gmail Pub\/Sub -&gt; OpenClaw<\/h1>\n<p>\u76ee\u6807\uff1aGmail watch -&gt; Pub\/Sub \u63a8\u9001 -&gt; <code>gog gmail watch serve<\/code> -&gt; OpenClaw webhook\u3002<\/p>\n<h2>\u524d\u7f6e\u6761\u4ef6<\/h2>\n<ul>\n<li>\u5df2\u5b89\u88c5\u5e76\u767b\u5f55 <code>gcloud<\/code>\uff08<a href=\"https:\/\/docs.cloud.google.com\/sdk\/docs\/install-sdk\">\u5b89\u88c5\u6307\u5357<\/a>\uff09\u3002<\/li>\n<li>\u5df2\u5b89\u88c5 <code>gog<\/code> (gogcli) \u5e76\u4e3a Gmail \u8d26\u6237\u6388\u6743\uff08<a href=\"https:\/\/gogcli.sh\/\">gogcli.sh<\/a>\uff09\u3002<\/li>\n<li>\u5df2\u542f\u7528 OpenClaw hooks\uff08\u53c2\u89c1 <a href=\"\/automation\/webhook\">Webhooks<\/a>\uff09\u3002<\/li>\n<li>\u5df2\u767b\u5f55 <code>tailscale<\/code>\uff08<a href=\"https:\/\/tailscale.com\/\">tailscale.com<\/a>\uff09\u3002\u652f\u6301\u7684\u8bbe\u7f6e\u4f7f\u7528 Tailscale Funnel \u4f5c\u4e3a\u516c\u5171 HTTPS \u7aef\u70b9\u3002<br \/>\n  \u5176\u4ed6\u96a7\u9053\u670d\u52a1\u4e5f\u53ef\u4ee5\u4f7f\u7528\uff0c\u4f46\u9700\u8981\u81ea\u884c\u914d\u7f6e\/\u4e0d\u53d7\u652f\u6301\uff0c\u9700\u8981\u624b\u52a8\u63a5\u5165\u3002<br \/>\n  \u76ee\u524d\uff0c\u6211\u4eec\u652f\u6301\u7684\u662f Tailscale\u3002<\/li>\n<\/ul>\n<p>\u793a\u4f8b hook \u914d\u7f6e\uff08\u542f\u7528 Gmail \u9884\u8bbe\u6620\u5c04\uff09\uff1a<\/p>\n<p>&#8220;`json5  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\n{<br \/>\n  hooks: {<br \/>\n    enabled: true,<br \/>\n    token: &#8220;OPENCLAW_HOOK_TOKEN&#8221;,<br \/>\n    path: &#8220;\/hooks&#8221;,<br \/>\n    presets: [&#8220;gmail&#8221;],<br \/>\n  },<br \/>\n}<\/p>\n<pre><code>\n\u8981\u5c06 Gmail \u6458\u8981\u6295\u9012\u5230\u804a\u5929\u754c\u9762\uff0c\u8bf7\u7528\u8bbe\u7f6e\u4e86 `deliver` \u4ee5\u53ca\u53ef\u9009\u7684 `channel`\/`to` \u7684\u6620\u5c04\u8986\u76d6\u9884\u8bbe\uff1a\n\n```json5  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\n{\n  hooks: {\n    enabled: true,\n    token: &quot;OPENCLAW_HOOK_TOKEN&quot;,\n    presets: [&quot;gmail&quot;],\n    mappings: [\n      {\n        match: { path: &quot;gmail&quot; },\n        action: &quot;agent&quot;,\n        wakeMode: &quot;now&quot;,\n        name: &quot;Gmail&quot;,\n        sessionKey: &quot;hook:gmail:{{messages[0].id}}&quot;,\n        messageTemplate: &quot;New email from {{messages[0].from}}nSubject: {{messages[0].subject}}n{{messages[0].snippet}}n{{messages[0].body}}&quot;,\n        model: &quot;openai\/gpt-5.2-mini&quot;,\n        deliver: true,\n        channel: &quot;last&quot;,\n        \/\/ to: &quot;+15551234567&quot;\n      },\n    ],\n  },\n}\n<\/code><\/pre>\n<p>\u5982\u679c\u4f60\u60f3\u4f7f\u7528\u56fa\u5b9a\u6e20\u9053\uff0c\u8bf7\u8bbe\u7f6e <code>channel<\/code> + <code>to<\/code>\u3002\u5426\u5219 <code>channel: \"last\"<\/code> \u4f1a\u4f7f\u7528\u4e0a\u6b21\u7684\u6295\u9012\u8def\u7531\uff08\u9ed8\u8ba4\u56de\u9000\u5230 WhatsApp\uff09\u3002<\/p>\n<p>\u8981\u4e3a Gmail \u8fd0\u884c\u5f3a\u5236\u4f7f\u7528\u66f4\u4fbf\u5b9c\u7684\u6a21\u578b\uff0c\u8bf7\u5728\u6620\u5c04\u4e2d\u8bbe\u7f6e <code>model<\/code>\uff08<code>provider\/model<\/code> \u6216\u522b\u540d\uff09\u3002\u5982\u679c\u4f60\u5f3a\u5236\u542f\u7528\u4e86 <code>agents.defaults.models<\/code>\uff0c\u8bf7\u5c06\u5176\u5305\u542b\u5728\u5185\u3002<\/p>\n<p>\u8981\u4e13\u95e8\u4e3a Gmail hooks \u8bbe\u7f6e\u9ed8\u8ba4\u6a21\u578b\u548c\u601d\u8003\u7ea7\u522b\uff0c\u8bf7\u5728\u914d\u7f6e\u4e2d\u6dfb\u52a0 <code>hooks.gmail.model<\/code> \/ <code>hooks.gmail.thinking<\/code>\uff1a<\/p>\n<p>&#8220;`json5  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\n{<br \/>\n  hooks: {<br \/>\n    gmail: {<br \/>\n      model: &#8220;openrouter\/meta-llama\/llama-3.3-70b-instruct:free&#8221;,<br \/>\n      thinking: &#8220;off&#8221;,<br \/>\n    },<br \/>\n  },<br \/>\n}<\/p>\n<pre><code>\n\u6ce8\u610f\u4e8b\u9879\uff1a\n\n* \u6620\u5c04\u4e2d\u7684\u6bcf\u4e2a hook \u7684 `model`\/`thinking` \u4ecd\u4f1a\u8986\u76d6\u8fd9\u4e9b\u9ed8\u8ba4\u503c\u3002\n* \u56de\u9000\u987a\u5e8f\uff1a`hooks.gmail.model` \u2192 `agents.defaults.model.fallbacks` \u2192 \u4e3b\u6a21\u578b\uff08\u8ba4\u8bc1\/\u901f\u7387\u9650\u5236\/\u8d85\u65f6\uff09\u3002\n* \u5982\u679c\u8bbe\u7f6e\u4e86 `agents.defaults.models`\uff0cGmail \u6a21\u578b\u5fc5\u987b\u5728\u5141\u8bb8\u5217\u8868\u4e2d\u3002\n* Gmail hook \u5185\u5bb9\u9ed8\u8ba4\u4f7f\u7528\u5916\u90e8\u5185\u5bb9\u5b89\u5168\u8fb9\u754c\u5305\u88c5\u3002\n  \u8981\u7981\u7528\uff08\u5371\u9669\uff09\uff0c\u8bf7\u8bbe\u7f6e `hooks.gmail.allowUnsafeExternalContent: true`\u3002\n\n\u8981\u8fdb\u4e00\u6b65\u81ea\u5b9a\u4e49\u8d1f\u8f7d\u5904\u7406\uff0c\u8bf7\u6dfb\u52a0 `hooks.mappings` \u6216\u5728 `hooks.transformsDir` \u4e0b\u6dfb\u52a0 JS\/TS \u8f6c\u6362\u6a21\u5757\uff08\u53c2\u89c1 [Webhooks](\/automation\/webhook)\uff09\u3002\n\n## \u5411\u5bfc\uff08\u63a8\u8350\uff09\n\n\u4f7f\u7528 OpenClaw \u52a9\u624b\u5c06\u6240\u6709\u5185\u5bb9\u63a5\u5165\u5728\u4e00\u8d77\uff08\u5728 macOS \u4e0a\u901a\u8fc7 brew \u5b89\u88c5\u4f9d\u8d56\uff09\uff1a\n\n```bash  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\nopenclaw webhooks gmail setup \n  --account openclaw@gmail.com\n<\/code><\/pre>\n<p>\u9ed8\u8ba4\u8bbe\u7f6e\uff1a<\/p>\n<ul>\n<li>\u4f7f\u7528 Tailscale Funnel \u4f5c\u4e3a\u516c\u5171\u63a8\u9001\u7aef\u70b9\u3002<\/li>\n<li>\u4e3a <code>openclaw webhooks gmail run<\/code> \u5199\u5165 <code>hooks.gmail<\/code> \u914d\u7f6e\u3002<\/li>\n<li>\u542f\u7528 Gmail hook \u9884\u8bbe\uff08<code>hooks.presets: [\"gmail\"]<\/code>\uff09\u3002<\/li>\n<\/ul>\n<p>\u8def\u5f84\u8bf4\u660e\uff1a\u5f53\u542f\u7528 <code>tailscale.mode<\/code> \u65f6\uff0cOpenClaw \u4f1a\u81ea\u52a8\u5c06 <code>hooks.gmail.serve.path<\/code> \u8bbe\u7f6e\u4e3a <code>\/<\/code>\uff0c\u5e76\u5c06\u516c\u5171\u8def\u5f84\u4fdd\u6301\u5728 <code>hooks.gmail.tailscale.path<\/code>\uff08\u9ed8\u8ba4 <code>\/gmail-pubsub<\/code>\uff09\uff0c\u56e0\u4e3a Tailscale \u5728\u4ee3\u7406\u4e4b\u524d\u4f1a\u5265\u79bb\u8bbe\u7f6e\u7684\u8def\u5f84\u524d\u7f00\u3002<br \/>\n\u5982\u679c\u4f60\u9700\u8981\u540e\u7aef\u63a5\u6536\u5e26\u524d\u7f00\u7684\u8def\u5f84\uff0c\u8bf7\u5c06 <code>hooks.gmail.tailscale.target<\/code>\uff08\u6216 <code>--tailscale-target<\/code>\uff09\u8bbe\u7f6e\u4e3a\u5b8c\u6574 URL\uff0c\u5982 <code>http:\/\/127.0.0.1:8788\/gmail-pubsub<\/code>\uff0c\u5e76\u5339\u914d <code>hooks.gmail.serve.path<\/code>\u3002<\/p>\n<p>\u60f3\u8981\u81ea\u5b9a\u4e49\u7aef\u70b9\uff1f\u4f7f\u7528 <code>--push-endpoint &lt;url&gt;<\/code> \u6216 <code>--tailscale off<\/code>\u3002<\/p>\n<p>\u5e73\u53f0\u8bf4\u660e\uff1a\u5728 macOS \u4e0a\uff0c\u5411\u5bfc\u901a\u8fc7 Homebrew \u5b89\u88c5 <code>gcloud<\/code>\u3001<code>gogcli<\/code> \u548c <code>tailscale<\/code>\uff1b\u5728 Linux \u4e0a\u8bf7\u5148\u624b\u52a8\u5b89\u88c5\u5b83\u4eec\u3002<\/p>\n<p>Gateway \u7f51\u5173\u81ea\u52a8\u542f\u52a8\uff08\u63a8\u8350\uff09\uff1a<\/p>\n<ul>\n<li>\u5f53 <code>hooks.enabled=true<\/code> \u4e14\u8bbe\u7f6e\u4e86 <code>hooks.gmail.account<\/code> \u65f6\uff0cGateway \u7f51\u5173\u4f1a\u5728\u542f\u52a8\u65f6\u8fd0\u884c <code>gog gmail watch serve<\/code> \u5e76\u81ea\u52a8\u7eed\u671f watch\u3002<\/li>\n<li>\u8bbe\u7f6e <code>OPENCLAW_SKIP_GMAIL_WATCHER=1<\/code> \u53ef\u9000\u51fa\uff08\u5982\u679c\u4f60\u81ea\u5df1\u8fd0\u884c\u5b88\u62a4\u8fdb\u7a0b\u5219\u5f88\u6709\u7528\uff09\u3002<\/li>\n<li>\u4e0d\u8981\u540c\u65f6\u8fd0\u884c\u624b\u52a8\u5b88\u62a4\u8fdb\u7a0b\uff0c\u5426\u5219\u4f1a\u9047\u5230 <code>listen tcp 127.0.0.1:8788: bind: address already in use<\/code>\u3002<\/li>\n<\/ul>\n<p>\u624b\u52a8\u5b88\u62a4\u8fdb\u7a0b\uff08\u542f\u52a8 <code>gog gmail watch serve<\/code> + \u81ea\u52a8\u7eed\u671f\uff09\uff1a<\/p>\n<p>&#8220;`bash  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\nopenclaw webhooks gmail run<\/p>\n<pre><code>\n## \u4e00\u6b21\u6027\u8bbe\u7f6e\n\n1. \u9009\u62e9**\u62e5\u6709 `gog` \u4f7f\u7528\u7684 OAuth \u5ba2\u6237\u7aef**\u7684 GCP \u9879\u76ee\u3002\n\n```bash  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\ngcloud auth login\ngcloud config set project &lt;project-id&gt;\n<\/code><\/pre>\n<p>\u6ce8\u610f\uff1aGmail watch \u8981\u6c42 Pub\/Sub \u4e3b\u9898\u4e0e OAuth \u5ba2\u6237\u7aef\u4f4d\u4e8e\u540c\u4e00\u9879\u76ee\u4e2d\u3002<\/p>\n<ol start=\"2\">\n<li>\u542f\u7528 API\uff1a<\/li>\n<\/ol>\n<p>&#8220;`bash  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\ngcloud services enable gmail.googleapis.com pubsub.googleapis.com<\/p>\n<pre><code>\n3. \u521b\u5efa\u4e3b\u9898\uff1a\n\n```bash  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\ngcloud pubsub topics create gog-gmail-watch\n<\/code><\/pre>\n<ol start=\"4\">\n<li>\u5141\u8bb8 Gmail push \u53d1\u5e03\uff1a<\/li>\n<\/ol>\n<p>&#8220;`bash  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\ngcloud pubsub topics add-iam-policy-binding gog-gmail-watch<br \/>\n  &#8211;member=serviceAccount:gmail-api-push@system.gserviceaccount.com<br \/>\n  &#8211;role=roles\/pubsub.publisher<\/p>\n<pre><code>\n## \u542f\u52a8 watch\n\n```bash  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\ngog gmail watch start \n  --account openclaw@gmail.com \n  --label INBOX \n  --topic projects\/&lt;project-id&gt;\/topics\/gog-gmail-watch\n<\/code><\/pre>\n<p>\u4fdd\u5b58\u8f93\u51fa\u4e2d\u7684 <code>history_id<\/code>\uff08\u7528\u4e8e\u8c03\u8bd5\uff09\u3002<\/p>\n<h2>\u8fd0\u884c\u63a8\u9001\u5904\u7406\u7a0b\u5e8f<\/h2>\n<p>\u672c\u5730\u793a\u4f8b\uff08\u5171\u4eab token \u8ba4\u8bc1\uff09\uff1a<\/p>\n<p>&#8220;`bash  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\ngog gmail watch serve<br \/>\n  &#8211;account openclaw@gmail.com<br \/>\n  &#8211;bind 127.0.0.1<br \/>\n  &#8211;port 8788<br \/>\n  &#8211;path \/gmail-pubsub<br \/>\n  &#8211;token<br \/>\n  &#8211;hook-url http:\/\/127.0.0.1:18789\/hooks\/gmail<br \/>\n  &#8211;hook-token OPENCLAW_HOOK_TOKEN<br \/>\n  &#8211;include-body<br \/>\n  &#8211;max-bytes 20000<\/p>\n<pre><code>\n\u6ce8\u610f\u4e8b\u9879\uff1a\n\n* `--token` \u4fdd\u62a4\u63a8\u9001\u7aef\u70b9\uff08`x-gog-token` \u6216 `?token=`\uff09\u3002\n* `--hook-url` \u6307\u5411 OpenClaw `\/hooks\/gmail`\uff08\u5df2\u6620\u5c04\uff1b\u9694\u79bb\u8fd0\u884c + \u6458\u8981\u53d1\u9001\u5230\u4e3b\u7ebf\u7a0b\uff09\u3002\n* `--include-body` \u548c `--max-bytes` \u63a7\u5236\u53d1\u9001\u5230 OpenClaw \u7684\u6b63\u6587\u7247\u6bb5\u3002\n\n\u63a8\u8350\uff1a`openclaw webhooks gmail run` \u5c01\u88c5\u4e86\u76f8\u540c\u7684\u6d41\u7a0b\u5e76\u81ea\u52a8\u7eed\u671f watch\u3002\n\n## \u66b4\u9732\u5904\u7406\u7a0b\u5e8f\uff08\u9ad8\u7ea7\uff0c\u4e0d\u53d7\u652f\u6301\uff09\n\n\u5982\u679c\u4f60\u9700\u8981\u975e Tailscale \u96a7\u9053\uff0c\u8bf7\u624b\u52a8\u63a5\u5165\u5e76\u5728\u63a8\u9001\u8ba2\u9605\u4e2d\u4f7f\u7528\u516c\u5171 URL\uff08\u4e0d\u53d7\u652f\u6301\uff0c\u65e0\u4fdd\u62a4\u63aa\u65bd\uff09\uff1a\n\n```bash  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\ncloudflared tunnel --url http:\/\/127.0.0.1:8788 --no-autoupdate\n<\/code><\/pre>\n<p>\u4f7f\u7528\u751f\u6210\u7684 URL \u4f5c\u4e3a\u63a8\u9001\u7aef\u70b9\uff1a<\/p>\n<p>&#8220;`bash  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\ngcloud pubsub subscriptions create gog-gmail-watch-push<br \/>\n  &#8211;topic gog-gmail-watch<br \/>\n  &#8211;push-endpoint &#8220;https:\/\/\/gmail-pubsub?token=&#8221;<\/p>\n<pre><code>\n\u751f\u4ea7\u73af\u5883\uff1a\u4f7f\u7528\u7a33\u5b9a\u7684 HTTPS \u7aef\u70b9\u5e76\u914d\u7f6e Pub\/Sub OIDC JWT\uff0c\u7136\u540e\u8fd0\u884c\uff1a\n\n```bash  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\ngog gmail watch serve --verify-oidc --oidc-email &lt;svc@...&gt;\n<\/code><\/pre>\n<h2>\u6d4b\u8bd5<\/h2>\n<p>\u5411\u88ab\u76d1\u89c6\u7684\u6536\u4ef6\u7bb1\u53d1\u9001\u4e00\u6761\u6d88\u606f\uff1a<\/p>\n<p>&#8220;`bash  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\ngog gmail send<br \/>\n  &#8211;account openclaw@gmail.com<br \/>\n  &#8211;to openclaw@gmail.com<br \/>\n  &#8211;subject &#8220;watch test&#8221;<br \/>\n  &#8211;body &#8220;ping&#8221;<\/p>\n<pre><code>\n\u68c0\u67e5 watch \u72b6\u6001\u548c\u5386\u53f2\u8bb0\u5f55\uff1a\n\n```bash  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\ngog gmail watch status --account openclaw@gmail.com\ngog gmail history --account openclaw@gmail.com --since &lt;historyId&gt;\n<\/code><\/pre>\n<h2>\u6545\u969c\u6392\u9664<\/h2>\n<ul>\n<li><code>Invalid topicName<\/code>\uff1a\u9879\u76ee\u4e0d\u5339\u914d\uff08\u4e3b\u9898\u4e0d\u5728 OAuth \u5ba2\u6237\u7aef\u9879\u76ee\u4e2d\uff09\u3002<\/li>\n<li><code>User not authorized<\/code>\uff1a\u4e3b\u9898\u7f3a\u5c11 <code>roles\/pubsub.publisher<\/code>\u3002<\/li>\n<li>\u7a7a\u6d88\u606f\uff1aGmail push \u4ec5\u63d0\u4f9b <code>historyId<\/code>\uff1b\u901a\u8fc7 <code>gog gmail history<\/code> \u83b7\u53d6\u3002<\/li>\n<\/ul>\n<h2>\u6e05\u7406<\/h2>\n<p><code>bash  theme={\"theme\":{\"light\":\"min-light\",\"dark\":\"min-dark\"}}<br \/>\ngog gmail watch stop --account openclaw@gmail.com<br \/>\ngcloud pubsub subscriptions delete gog-gmail-watch-push<br \/>\ngcloud pubsub topics delete gog-gmail-watch<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gmail PubSub Gmail Pub\/Sub -&gt; OpenClaw \u76ee\u6807\uff1aGmail watc [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-11","post","type-post","status-publish","format-standard","hentry","category-docs"],"_links":{"self":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":1,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":306,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/11\/revisions\/306"}],"wp:attachment":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}