{"id":7687,"date":"2026-08-19T00:39:39","date_gmt":"2026-08-18T16:39:39","guid":{"rendered":"https:\/\/i007.cc\/wordpress\/?p=7687"},"modified":"2026-08-19T00:39:39","modified_gmt":"2026-08-18T16:39:39","slug":"crossplane-composition-%e9%80%9a%e4%bf%97%e7%90%86%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/i007.cc\/wordpress\/archives\/7687","title":{"rendered":"Crossplane Composition \u901a\u4fd7\u7406\u89e3"},"content":{"rendered":"<div>\n<div>\n<blockquote>\n<div>\n<div><strong>Composition = \u9ad8\u5c42\u62bd\u8c61 API \u7684\u5b9e\u73b0\u6a21\u677f<\/strong>Crossplane<\/div>\n<\/div>\n<\/blockquote>\n<\/div>\n<div>\n<ul>\n<li><strong>XRD\uff08CompositeResourceDefinition\uff09\uff1a\u5b9a\u4e49\u5bf9\u5916 API \u957f\u4ec0\u4e48\u6837\uff08schema\u3001\u5b57\u6bb5\uff09<\/strong>\uff0c\u76f8\u5f53\u4e8e\u63a5\u53e3\u5b9a\u4e49\u3002<\/li>\n<li><strong>Composition\uff1a\u63a5\u53e3\u7684\u5b9e\u73b0\uff0c\u63cf\u8ff0\u521b\u5efa\u8fd9\u4e2a\u9ad8\u5c42\u8d44\u6e90\u65f6\uff0c\u5230\u5e95\u8981\u751f\u6210\u54ea\u4e9b\u5e95\u5c42 Managed Resource\uff08MR\uff0c\u4e91\u8d44\u6e90 CRD\uff09\uff0c\u5b57\u6bb5\u600e\u4e48\u6620\u5c04\u3001\u600e\u4e48\u6253\u8865\u4e01 (patch)<\/strong>Crossplane\u3002<\/li>\n<\/ul>\n<\/div>\n<div>\n<div>\u7c7b\u6bd4\uff1a<\/div>\n<\/div>\n<div>\n<ul>\n<li>XRD\uff1a\u5b9a\u4e49 <code>kind: XPostgres<\/code>\uff0c\u5bf9\u5916\u53ea\u66b4\u9732 <code>storageGB\u3001instanceClass<\/code> \u4e24\u4e2a\u7b80\u5355\u53c2\u6570\uff0c<strong>\u53ea\u5b9a\u4e49\u5951\u7ea6\uff0c\u4e0d\u5199\u600e\u4e48\u521b\u5efa<\/strong>\u3002<\/li>\n<li>Composition\uff1a\u5199\u6a21\u677f\uff1a\u521b\u5efa 1 \u4e2a RDS \u5b9e\u4f8b + 1 \u4e2a\u5b89\u5168\u7ec4 + 1 \u4e2a DB \u5b50\u7f51\u7ec4\uff1b\u628a XR \u7684<code>storageGB<\/code>\u8d4b\u503c\u7ed9 RDS \u7684\u5b58\u50a8\u5b57\u6bb5\uff1b\u7ed9\u8d44\u6e90\u6253\u7edf\u4e00\u6807\u7b7e\uff1b\u5904\u7406\u5b57\u6bb5\u62f7\u8d1d\u3001\u72b6\u6001\u56de\u5199\u3002<\/li>\n<\/ul>\n<\/div>\n<div>\n<blockquote>\n<div>\n<div>\u7528\u6237\u53ea\u9700\u8981\u63d0\u4ea4\u4e00\u4e2a\u7b80\u5355\u7684<code>XPostgres<\/code>\uff08XR\/ Claim\uff09\uff0cCrossplane \u63a7\u5236\u5668\u8bfb\u53d6\u7ed1\u5b9a\u7684 Composition\uff0c\u81ea\u52a8\u6279\u91cf\u751f\u6210\u4e00\u5806\u5e95\u5c42\u4e91\u8d44\u6e90\uff0c\u7edf\u4e00\u751f\u547d\u5468\u671f\uff1a\u521b\u5efa\u3001\u66f4\u65b0\u3001\u5220\u9664\u5168\u90e8\u8054\u52a8Crossplane\u3002<\/div>\n<\/div>\n<\/blockquote>\n<\/div>\n<div>\n<h2>\u6838\u5fc3\u4e09\u5bf9\u8c61\u5173\u7cfb<\/h2>\n<\/div>\n<div>\n<ol>\n<li><strong>XRD<\/strong>\uff1a\u5b9a\u4e49\u65b0\u7684 K8s API\uff08CRD\uff09\uff0c\u5bf9\u5916\u66b4\u9732\u53c2\u6570\u3001\u6821\u9a8c\u89c4\u5219\uff1b\u96c6\u7fa4\u8303\u56f4 \/ \u547d\u540d\u7a7a\u95f4\uff0c\u5b9a\u4e49 Claim \u662f\u5426\u53ef\u7528Crossplane\u3002<\/li>\n<li><strong>Composition<\/strong>\uff1a<code>apiextensions.crossplane.io\/v1<\/code>\uff0c\u7ed1\u5b9a\u4e00\u4e2a XRD\uff08<code>compositeTypeRef<\/code>\uff09\uff0c\u63cf\u8ff0<strong>\u8981\u751f\u6210\u54ea\u4e9b\u8d44\u6e90\u3001\u5b57\u6bb5\u5982\u4f55\u8f6c\u6362<\/strong>\u3002<strong>\u4e00\u4e2a XRD \u53ef\u4ee5\u7ed1\u5b9a\u591a\u4e2a Composition<\/strong>\uff0c\u5b9e\u73b0\u591a\u540e\u7aef\uff1a\u6bd4\u5982\u540c\u6837<code>XPostgres<\/code>\uff0cprod \u8d70 AWS RDS\uff0cdev \u8d70 GCP CloudSQL\uff0c\u5bf9\u4f7f\u7528\u8005\u5b8c\u5168\u900f\u660e\u3002<\/li>\n<li><strong>XR \/ Claim(XRC)<\/strong>\uff1a\u4f7f\u7528\u8005\u63d0\u4ea4\u5b9e\u4f8b\u3002\n<div>\n<ul>\n<li>XR\uff1a\u96c6\u7fa4\u7ea7\u522b\uff1b<\/li>\n<li>Claim\uff1a\u547d\u540d\u7a7a\u95f4\u7ea7\u522b\uff0c\u7ed9\u4e1a\u52a1\u5f00\u53d1\u8005\u4f7f\u7528\uff0c\u4ee3\u7406\u751f\u6210 XR\u3002<\/li>\n<\/ul>\n<\/div>\n<\/li>\n<\/ol>\n<\/div>\n<div>\n<div><strong>\u6570\u636e\u6d41\uff1a<\/strong><\/div>\n<\/div>\n<div>\n<div>\n<div dir=\"ltr\">\n<div>\n<div>\n<div>\n<div>plaintext<\/div>\n<div><\/div>\n<\/div>\n<div>\n<div><\/div>\n<div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">User \u2192 Claim(\u547d\u540d\u7a7a\u95f4) \u2192 XR(\u96c6\u7fa4) \u2192 Composition\u6a21\u677f \u2192 \u751f\u6210\u591a\u4e2aManagedResource(\u4e91\u8d44\u6e90CR) \u2192 Provider Controller\u8c03\u7528\u4e91API\u521b\u5efa\u771f\u5b9e\u8d44\u6e90<\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div>\u4fee\u6539 Claim \u2192 XR \u66f4\u65b0 \u2192 Composition reconcile \u2192 \u5e95\u5c42 MR \u81ea\u52a8\u66f4\u65b0\uff1b\u5220\u9664 Claim \u2192 \u6240\u6709\u5e95\u5c42\u8d44\u6e90\u4e00\u8d77\u5220\u9664\uff08\u53d7 deletionPolicy \u63a7\u5236\uff09GitHub\u3002<\/div>\n<\/div>\n<div>\n<h2>Composition \u4e24\u79cd\u6a21\u5f0f<\/h2>\n<\/div>\n<div>\n<h3>1. Resources \u6a21\u5f0f\uff08\u4f20\u7edf YAML+patch\uff0cv1 \u8001\u6a21\u5f0f\uff09<\/h3>\n<\/div>\n<div>\n<div><code>spec.resources[]<\/code>\uff0c\u6bcf\u4e2a resource \u5199<code>base<\/code>\uff08\u8d44\u6e90\u6a21\u677f\uff09\uff0c\u518d\u5199<code>patches<\/code>\u505a\u5b57\u6bb5\u6620\u5c04\uff1a\u4ece XR \u7684 spec \u62f7\u8d1d\u5230\u5e95\u5c42 MR \u7684 spec\uff0c\u4e5f\u53ef\u4ee5\u628a MR \u7684 status \u56de\u5199\u5230 XR \u7684 statusCrossplane\u3002<\/div>\n<\/div>\n<div>\n<div>\u6781\u7b80\u9aa8\u67b6\u793a\u4f8b\uff1a<\/div>\n<\/div>\n<div>\n<div>\n<div dir=\"ltr\">\n<div>\n<div>\n<div>\n<div>yaml<\/div>\n<div><\/div>\n<\/div>\n<div>\n<div><\/div>\n<div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">apiVersion: apiextensions.crossplane.io\/v1\r\nkind: Composition\r\nmetadata:\r\n  name: aws-postgres\r\nspec:\r\n  compositeTypeRef:   #\u7ed1\u5b9aXRD\u5b9a\u4e49\u7684API\r\n    apiVersion: db.platform.io\/v1alpha1\r\n    kind: XPostgres\r\n  resources:\r\n    - name: rds\r\n      base:\r\n        apiVersion: database.aws.upbound.io\/v1beta1\r\n        kind: Instance\r\n        spec:\r\n          forProvider:\r\n            engine: postgres\r\n            allocatedStorage: 10\r\n      patches:\r\n        #\u628aXR.spec.parameters.storageGB\u8986\u76d6\u5230\u5e95\u5c42RDS\r\n        - fromFieldPath: spec.parameters.storageGB\r\n          toFieldPath: spec.forProvider.allocatedStorage\r\n    - name: sg\r\n      base:\r\n        apiVersion: ec2.aws.upbound.io\/v1beta1\r\n        kind: SecurityGroup<\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div>\u7f3a\u70b9\uff1a\u53ea\u6709\u58f0\u660e\u5f0f patch\uff0c\u6ca1\u6709 if\u2011else\u3001\u5faa\u73af\uff0c\u590d\u6742\u903b\u8f91\u5f88\u96be\u5199\uff0cYAML \u8865\u4e01\u7206\u70b8\u3002<\/div>\n<\/div>\n<div>\n<h3>2. Pipeline \u6a21\u5f0f\uff08Composition Functions\uff0c\u73b0\u4ee3\u63a8\u8350\uff09<\/h3>\n<\/div>\n<div>\n<div><code>spec.mode: Pipeline<\/code>\uff0c\u6267\u884c\u51fd\u6570\u6d41\u6c34\u7ebf\uff0c\u4e0d\u518d\u5199<code>spec.resources<\/code>\uff0c\u7528 gRPC \u51fd\u6570\u505a\u8d44\u6e90\u6e32\u67d3\u3001\u6761\u4ef6\u5224\u65ad\u3001\u5faa\u73af\u3001\u590d\u6742\u8f6c\u6362\u3001\u6821\u9a8c\u3002<\/p>\n<div><\/div>\n<p>\u6700\u5e38\u7528\u5b98\u65b9\u51fd\u6570\uff1a<code>function\u2011patch\u2011and\u2011transform<\/code>\uff0c\u5728\u51fd\u6570\u5185\u90e8\u5199 resources+patch\u3002\u8fd8\u53ef\u4ee5\u7528 python\/kcl\/go \u81ea\u5b9a\u4e49 Function\u3002<\/div>\n<\/div>\n<div>\n<div>\n<div dir=\"ltr\">\n<div>\n<div>\n<div>\n<div>yaml<\/div>\n<div><\/div>\n<\/div>\n<div>\n<div><\/div>\n<div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">spec:\r\n  compositeTypeRef:\r\n    apiVersion: db.platform.io\/v1alpha1\r\n    kind: XPostgres\r\n  mode: Pipeline\r\n  pipeline:\r\n  - step: render\r\n    functionRef:\r\n      name: function-patch-and-transform\r\n    input:\r\n      apiVersion: pt.fn.crossplane.io\/v1beta1\r\n      kind: Resources\r\n      resources:\r\n        #\u8fd9\u91cc\u5199resources\u4e0epatches\uff0c\u548c\u8001\u6a21\u5f0f\u51e0\u4e4e\u4e00\u6837<\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<blockquote>\n<div>\n<div>production\u2011grade \u7684 Crossplane \u5e73\u53f0\uff0c\u5168\u90e8\u7528 Pipeline+Function \u6a21\u5f0f\uff0c\u65b9\u4fbf\u505a\u590d\u6742\u4e1a\u52a1\u903b\u8f91\u3001\u591a\u73af\u5883\u5dee\u5f02\u5316\u3001\u5faa\u73af\u751f\u6210\u591a\u4e2a\u540c\u7c7b\u578b\u8d44\u6e90\u3002<\/div>\n<\/div>\n<\/blockquote>\n<\/div>\n<div>\n<h2>Patch \u662f\u4ec0\u4e48\uff1f<\/h2>\n<\/div>\n<div>\n<div>Patch \u662f Composition \u91cc\u7684\u6838\u5fc3\u673a\u5236\uff1a<\/div>\n<\/div>\n<div>\n<ul>\n<li><code>fromFieldPath<\/code>\uff1a\u6765\u6e90\u8def\u5f84\uff0c\u6765\u81ea XR\uff08\u7528\u6237\u8f93\u5165\uff09\u6216\u8005\u5df2\u751f\u6210\u7684\u5b50\u8d44\u6e90 status\uff1b<\/li>\n<li><code>toFieldPath<\/code>\uff1a\u76ee\u6807\u8def\u5f84\uff0c\u5e95\u5c42 ManagedResource \u5b57\u6bb5\uff1b\n<div><\/div>\n<p>\u652f\u6301\u5b57\u7b26\u4e32\u62fc\u63a5\u3001\u6761\u4ef6\u3001\u9ed8\u8ba4\u503c\uff0c\u5b9e\u73b0\u53c2\u6570\u900f\u4f20\u3001\u5143\u6570\u636e\u590d\u5236\u3001\u72b6\u6001\u56de\u586b\uff08\u628a RDS \u7684 endpoint \u56de\u586b\u5230 XR \u7684 status \u5bf9\u5916\u66b4\u9732\uff09Crossplane\u3002<\/li>\n<\/ul>\n<\/div>\n<div>\n<h2>\u5173\u952e\u80fd\u529b\u4e0e\u5751\u70b9<\/h2>\n<\/div>\n<div>\n<h3>\u2705\u80fd\u529b<\/h3>\n<\/div>\n<div>\n<ol>\n<li><strong>\u5c01\u88c5\u590d\u6742\u5ea6<\/strong>\uff1a\u4e1a\u52a1\u5f00\u53d1\u8005\u53ea\u9700\u8981\u9ad8\u5c42 API\uff0c\u4e0d\u7528\u61c2\u4e91\u5382\u5546\u51e0\u5341\u4e2a\u53c2\u6570\u3002\u5e73\u53f0\u56e2\u961f\u7ef4\u62a4 Composition\uff0c\u7edf\u4e00\u7ba1\u63a7\u5408\u89c4\u6807\u7b7e\u3001\u5b89\u5168\u7b56\u7565\u3002<\/li>\n<li><strong>\u591a\u5b9e\u73b0\u540c\u4e00 API<\/strong>\uff1a\u540c\u4e00\u4e2a XRD\uff0c\u591a\u4e2a Composition\uff0c\u5b9e\u73b0\u591a\u4e91\u3001\u73af\u5883\u5dee\u5f02\u5316\u3002<\/li>\n<li><strong>\u7edf\u4e00\u751f\u547d\u5468\u671f<\/strong>\uff1a\u5220\u4e00\u4e2a Claim\uff0c\u6240\u6709\u5b50\u8d44\u6e90\u8054\u52a8\u5220\u9664\u3002\u53ef\u4ee5\u7528<code>Usage<\/code>\u8d44\u6e90\u63a7\u5236\u5220\u9664\u987a\u5e8f\uff08\u5148\u5220\u4f9d\u8d56\uff0c\u518d\u5220\u4e3b\u8d44\u6e90\uff09Crossplane\u3002<\/li>\n<li><strong>\u72b6\u6001\u805a\u5408<\/strong>\uff1a\u628a\u591a\u4e2a\u5e95\u5c42\u8d44\u6e90 status \u805a\u5408\u5230 XR \u7684 status\uff0c\u4f7f\u7528\u8005\u53ea\u770b\u4e00\u4e2a\u5bf9\u8c61\u72b6\u6001\u3002<\/li>\n<\/ol>\n<\/div>\n<div>\n<h3>\u26a0\ufe0f\u5e38\u89c1\u5751<\/h3>\n<\/div>\n<div>\n<ol>\n<li><strong>Composition \u53ea\u505a\u6a21\u677f\uff0c\u4e0d\u5b58\u50a8\u72b6\u6001<\/strong>\uff1b\u6240\u6709\u5b9e\u9645\u72b6\u6001\u4fdd\u5b58\u5728 XR\u3001\u5b50 ManagedResource \u5bf9\u8c61\u3002\u63a7\u5236\u5668\u5faa\u73af reconcile\uff0c\u4efb\u4f55\u504f\u79bb\u6a21\u677f\u90fd\u4f1a\u88ab\u4fee\u590d\uff08\u6f02\u79fb\u81ea\u6108\uff09\u3002<\/li>\n<li><strong>Resources \u6a21\u5f0f\u65e0\u6cd5\u5faa\u73af\u751f\u6210\u4e0d\u5b9a\u6570\u91cf\u8d44\u6e90<\/strong>\uff08\u6bd4\u5982\u52a8\u6001 N \u4e2a\u5b50\u7f51\uff09\uff0c\u8fd9\u79cd\u573a\u666f\u5fc5\u987b\u4e0a Composition Function\u3002<\/li>\n<li><strong>\u591a Composition \u5339\u914d\u7b56\u7565<\/strong>\uff1a\u53ef\u4ee5\u7ed9 XR \u6253 label \u9009\u62e9\u5339\u914d\u54ea\u4e00\u4e2a Composition\uff0c\u5b9e\u73b0\u540c\u4e00\u4e2a XR \u6839\u636e\u6807\u7b7e\u9009\u62e9\u4e0d\u540c\u540e\u7aef\u3002<\/li>\n<li><code>deletionPolicy: Orphan<\/code>\uff1a\u5220\u9664 XR\/Claim \u65f6\uff0c\u4fdd\u7559\u4e91\u4e0a\u771f\u5b9e\u8d44\u6e90\uff0c<strong>\u751f\u4ea7\u52a1\u5fc5\u8c28\u614e<\/strong>\u3002<\/li>\n<li>Patch \u8def\u5f84\u5199\u9519\u4e0d\u4f1a\u62a5\u9519\uff0c\u53ea\u4f1a\u5b57\u6bb5\u4e0d\u751f\u6548\uff0c\u6392\u969c\u770b crossplane pod \u65e5\u5fd7\u3002<\/li>\n<\/ol>\n<\/div>\n<div>\n<h2>\u548c Helm \u5bf9\u6bd4\uff08\u5f88\u5bb9\u6613\u6df7\u6dc6\uff09<\/h2>\n<\/div>\n<div>\n<ul>\n<li>Helm\uff1a\u6e32\u67d3\u51fa\u4e00\u5806 K8s \u8d44\u6e90\uff0c\u4ea4\u7ed9 k8s api\uff1b<strong>\u4e0d\u77e5\u9053\u4e91\u8d44\u6e90\uff0c\u6ca1\u6709 reconcile \u5faa\u73af<\/strong>\u3002<\/li>\n<li>Composition\uff1a\u6a21\u677f\u751f\u6210 ManagedResource CRD \u5bf9\u8c61\uff1bCrossplane Provider \u6301\u7eed reconcile \u4e91\u4e0a\u771f\u5b9e\u8d44\u6e90\uff0c\u6301\u7eed\u72b6\u6001\u5bf9\u9f50\uff1b\u53ef\u4ee5\u62bd\u8c61\u51fa\u5168\u65b0\u7684\u81ea\u5b9a\u4e49 API\uff08XRD\uff09\u7ed9\u5916\u90e8\u8c03\u7528\uff0c\u9002\u5408\u505a\u4f01\u4e1a\u5185\u90e8 IaaS\/PaaS \u63a7\u5236\u5e73\u9762GitHub\u3002<\/li>\n<\/ul>\n<\/div>\n<div>\n<blockquote>\n<div>\n<div>Helm \u9762\u5411 K8s \u5e94\u7528\uff1bCrossplane Composition \u9762\u5411<strong>\u57fa\u7840\u8bbe\u65bd\u63a7\u5236\u5e73\u9762\u62bd\u8c61<\/strong>\u3002<\/div>\n<\/div>\n<\/blockquote>\n<\/div>\n<div>\n<h2>\u4e00\u53e5\u8bdd\u603b\u7ed3<\/h2>\n<\/div>\n<div>\n<div><strong>XRD \u5b9a\u4e49 \u201c\u5bf9\u5916\u957f\u4ec0\u4e48\u6837\u201d\uff0cComposition \u5b9a\u4e49 \u201c\u5185\u90e8\u600e\u4e48\u5b9e\u73b0\u201d\u3002\u7528\u6237\u63d0\u4ea4\u9ad8\u5c42 Claim\uff0cComposition \u8d1f\u8d23\u5c55\u5f00\u6210\u4e00\u5806\u5e95\u5c42\u4e91\u8d44\u6e90\uff0c\u5e76\u4e14\u6301\u7eed\u7ef4\u62a4\u5b83\u4eec\u751f\u547d\u5468\u671f\u3002<\/strong><\/div>\n<\/div>\n<div>\n<div>\u5982\u679c\u4f60\u9700\u8981\uff0c\u6211\u53ef\u4ee5\u7ed9\u4e00\u4e2a\u6781\u7b80\u5b8c\u6574\u793a\u4f8b\uff1aXRD + Composition + Claim \u5b8c\u6574\u53ef\u8fd0\u884c yaml\u3002<\/div>\n<\/div>\n<\/div>\n<div>\n<div>\n<div>\n<div>\n<div>\n<div>\n<div>\n<div>\n<div>\n<div>\n<div>\n<div>\n<div>\n<div>\n<div>\n<div><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Composition = \u9ad8\u5c42\u62bd\u8c61 A<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[24],"tags":[],"class_list":["post-7687","post","type-post","status-publish","format-standard","hentry","category-value_docs"],"_links":{"self":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts\/7687","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/comments?post=7687"}],"version-history":[{"count":1,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts\/7687\/revisions"}],"predecessor-version":[{"id":7688,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts\/7687\/revisions\/7688"}],"wp:attachment":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/media?parent=7687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/categories?post=7687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/tags?post=7687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}