{"id":1116279,"date":"2025-01-08T18:14:58","date_gmt":"2025-01-08T10:14:58","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1116279.html"},"modified":"2025-01-08T18:15:00","modified_gmt":"2025-01-08T10:15:00","slug":"%e5%a6%82%e4%bd%95%e7%94%a8python%e8%ae%a1%e7%ae%97%e5%87%ba%e4%b8%8d%e5%ae%9a%e7%a7%af%e5%88%86","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1116279.html","title":{"rendered":"\u5982\u4f55\u7528python\u8ba1\u7b97\u51fa\u4e0d\u5b9a\u79ef\u5206"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25080706\/93700db2-5027-4dd6-a3e0-e52083911645.webp\" alt=\"\u5982\u4f55\u7528python\u8ba1\u7b97\u51fa\u4e0d\u5b9a\u79ef\u5206\" \/><\/p>\n<p><p> <strong>\u5982\u4f55\u7528Python\u8ba1\u7b97\u51fa\u4e0d\u5b9a\u79ef\u5206<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528Python\u8ba1\u7b97\u4e0d\u5b9a\u79ef\u5206\u7684\u4e3b\u8981\u65b9\u6cd5\u6709\uff1a<strong>\u4f7f\u7528SymPy\u5e93\u8fdb\u884c\u7b26\u53f7\u8ba1\u7b97\u3001\u4f7f\u7528scipy\u5e93\u8fdb\u884c\u6570\u503c\u79ef\u5206\u3001\u7ed3\u5408lambda\u51fd\u6570\u4e0e\u5fae\u5206\u65b9\u7a0b\u6c42\u89e3<\/strong>\u3002\u5176\u4e2d\uff0cSymPy\u5e93\u662f\u6700\u5e38\u7528\u4e14\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u8f7b\u677e\u89e3\u51b3\u7b26\u53f7\u79ef\u5206\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u7b26\u53f7\u8ba1\u7b97\uff1a\u4f7f\u7528SymPy\u5e93<\/h3>\n<\/p>\n<p><p>SymPy\u662fPython\u7684\u4e00\u4e2a\u7b26\u53f7\u6570\u5b66\u5e93\uff0c\u80fd\u591f\u6267\u884c\u7b26\u53f7\u79ef\u5206\u3001\u5fae\u5206\u3001\u65b9\u7a0b\u6c42\u89e3\u7b49\u64cd\u4f5c\u3002\u4f7f\u7528SymPy\u8fdb\u884c\u4e0d\u5b9a\u79ef\u5206\u8ba1\u7b97\u975e\u5e38\u76f4\u89c2\u4e14\u5f3a\u5927\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5SymPy\u5e93<\/h4>\n<\/p>\n<p><p>\u5728\u4f7f\u7528SymPy\u5e93\u4e4b\u524d\uff0c\u9700\u8981\u5148\u5b89\u88c5\u5b83\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">pip install sympy<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u4f7f\u7528SymPy\u8fdb\u884c\u4e0d\u5b9a\u79ef\u5206<\/h4>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f7f\u7528SymPy\u8ba1\u7b97\u4e0d\u5b9a\u79ef\u5206\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sympy as sp<\/p>\n<h2><strong>\u5b9a\u4e49\u7b26\u53f7\u53d8\u91cf<\/strong><\/h2>\n<p>x = sp.symbols(&#39;x&#39;)<\/p>\n<h2><strong>\u5b9a\u4e49\u51fd\u6570<\/strong><\/h2>\n<p>f = sp.sin(x)<\/p>\n<h2><strong>\u8ba1\u7b97\u4e0d\u5b9a\u79ef\u5206<\/strong><\/h2>\n<p>integral = sp.integrate(f, x)<\/p>\n<p>print(integral)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u5b9a\u4e49\u4e86\u7b26\u53f7\u53d8\u91cfx\uff0c\u7136\u540e\u5b9a\u4e49\u4e86\u51fd\u6570f\u4e3asin(x)\u3002\u6700\u540e\uff0c\u4f7f\u7528<code>sp.integrate()<\/code>\u51fd\u6570\u8ba1\u7b97f\u76f8\u5bf9\u4e8ex\u7684\u4e0d\u5b9a\u79ef\u5206\uff0c\u5e76\u5c06\u7ed3\u679c\u8f93\u51fa\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u590d\u6742\u51fd\u6570\u7684\u4e0d\u5b9a\u79ef\u5206<\/h4>\n<\/p>\n<p><p>SymPy\u8fd8\u652f\u6301\u5bf9\u590d\u6742\u51fd\u6570\u8fdb\u884c\u4e0d\u5b9a\u79ef\u5206\u8ba1\u7b97\uff0c\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u590d\u6742\u51fd\u6570<\/p>\n<p>f = sp.exp(x) * sp.sin(x)<\/p>\n<h2><strong>\u8ba1\u7b97\u4e0d\u5b9a\u79ef\u5206<\/strong><\/h2>\n<p>integral = sp.integrate(f, x)<\/p>\n<p>print(integral)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u51fd\u6570f\u4e3a<code>exp(x) * sin(x)<\/code>\uff0cSymPy\u540c\u6837\u80fd\u591f\u51c6\u786e\u5730\u8ba1\u7b97\u5176\u4e0d\u5b9a\u79ef\u5206\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u6570\u503c\u79ef\u5206\uff1a\u4f7f\u7528scipy\u5e93<\/h3>\n<\/p>\n<p><p>\u867d\u7136SymPy\u5728\u7b26\u53f7\u79ef\u5206\u65b9\u9762\u975e\u5e38\u5f3a\u5927\uff0c\u4f46\u5728\u5904\u7406\u67d0\u4e9b\u590d\u6742\u51fd\u6570\u65f6\uff0c\u7b26\u53f7\u79ef\u5206\u53ef\u80fd\u4f1a\u53d8\u5f97\u56f0\u96be\u6216\u8017\u65f6\u3002\u8fd9\u65f6\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528scipy\u5e93\u8fdb\u884c\u6570\u503c\u79ef\u5206\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5scipy\u5e93<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5scipy\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">pip install scipy<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u4f7f\u7528scipy\u8fdb\u884c\u6570\u503c\u79ef\u5206<\/h4>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f7f\u7528scipy\u8fdb\u884c\u4e0d\u5b9a\u79ef\u5206\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>from scipy.integrate import quad<\/p>\n<h2><strong>\u5b9a\u4e49\u51fd\u6570<\/strong><\/h2>\n<p>def f(x):<\/p>\n<p>    return np.sin(x)<\/p>\n<h2><strong>\u8ba1\u7b97\u6570\u503c\u79ef\u5206<\/strong><\/h2>\n<p>integral, error = quad(f, 0, np.pi)<\/p>\n<p>print(integral)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u51fd\u6570f\uff0c\u7136\u540e\u4f7f\u7528<code>quad()<\/code>\u51fd\u6570\u8ba1\u7b97f\u5728\u533a\u95f4[0, \u03c0]\u4e0a\u7684\u79ef\u5206\uff0c\u5e76\u8f93\u51fa\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u7ed3\u5408lambda\u51fd\u6570\u4e0e\u5fae\u5206\u65b9\u7a0b\u6c42\u89e3<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u67d0\u4e9b\u7279\u5b9a\u95ee\u9898\uff0c\u53ef\u4ee5\u7ed3\u5408lambda\u51fd\u6570\u4e0e\u5fae\u5206\u65b9\u7a0b\u6c42\u89e3\u6765\u8ba1\u7b97\u4e0d\u5b9a\u79ef\u5206\u3002\u8fd9\u5728\u5904\u7406\u67d0\u4e9b\u7279\u6b8a\u51fd\u6570\u65f6\u53ef\u80fd\u4f1a\u66f4\u4e3a\u6709\u6548\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b9a\u4e49lambda\u51fd\u6570<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u53ef\u4ee5\u5b9a\u4e49\u4e00\u4e2alambda\u51fd\u6570\u6765\u8868\u793a\u88ab\u79ef\u51fd\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sympy as sp<\/p>\n<h2><strong>\u5b9a\u4e49\u7b26\u53f7\u53d8\u91cf<\/strong><\/h2>\n<p>x = sp.symbols(&#39;x&#39;)<\/p>\n<h2><strong>\u5b9a\u4e49lambda\u51fd\u6570<\/strong><\/h2>\n<p>f = lambda x: sp.sin(x)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u6c42\u89e3\u5fae\u5206\u65b9\u7a0b<\/h4>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u901a\u8fc7\u6c42\u89e3\u5fae\u5206\u65b9\u7a0b\u7684\u65b9\u5f0f\u6765\u8ba1\u7b97\u4e0d\u5b9a\u79ef\u5206\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5b9a\u4e49\u5fae\u5206\u65b9\u7a0b<\/p>\n<p>diff_eq = sp.Eq(sp.Derivative(&#39;F&#39;, x), f(x))<\/p>\n<h2><strong>\u6c42\u89e3\u5fae\u5206\u65b9\u7a0b<\/strong><\/h2>\n<p>F = sp.dsolve(diff_eq, &#39;F&#39;)<\/p>\n<p>print(F)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u5fae\u5206\u65b9\u7a0b\uff0c\u5e76\u4f7f\u7528<code>sp.dsolve()<\/code>\u51fd\u6570\u6c42\u89e3\u8be5\u5fae\u5206\u65b9\u7a0b\uff0c\u4ece\u800c\u5f97\u5230\u4e0d\u5b9a\u79ef\u5206\u7684\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><h4>1\u3001\u51fd\u6570\u7684\u8fde\u7eed\u6027\u548c\u53ef\u79ef\u6027<\/h4>\n<\/p>\n<p><p>\u5728\u8fdb\u884c\u4e0d\u5b9a\u79ef\u5206\u8ba1\u7b97\u65f6\uff0c\u9700\u8981\u786e\u4fdd\u51fd\u6570\u7684\u8fde\u7eed\u6027\u548c\u53ef\u79ef\u6027\u3002\u5982\u679c\u51fd\u6570\u5728\u79ef\u5206\u533a\u95f4\u5185\u5b58\u5728\u95f4\u65ad\u70b9\u6216\u4e0d\u53ef\u79ef\u70b9\uff0c\u79ef\u5206\u7ed3\u679c\u53ef\u80fd\u4f1a\u4e0d\u51c6\u786e\u6216\u65e0\u6cd5\u8ba1\u7b97\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u6570\u503c\u79ef\u5206\u7684\u8bef\u5dee<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528\u6570\u503c\u79ef\u5206\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u79ef\u5206\u7684\u8bef\u5dee\u3002\u53ef\u4ee5\u901a\u8fc7\u8c03\u6574\u79ef\u5206\u533a\u95f4\u6216\u63d0\u9ad8\u79ef\u5206\u7cbe\u5ea6\u6765\u51cf\u5c11\u8bef\u5dee\u3002\u4f8b\u5982\uff0c\u5728\u4f7f\u7528scipy\u5e93\u8fdb\u884c\u6570\u503c\u79ef\u5206\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u589e\u52a0\u79ef\u5206\u70b9\u6570\u6765\u63d0\u9ad8\u79ef\u5206\u7cbe\u5ea6\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u7b26\u53f7\u79ef\u5206\u7684\u590d\u6742\u5ea6<\/h4>\n<\/p>\n<p><p>\u5728\u5904\u7406\u590d\u6742\u51fd\u6570\u65f6\uff0c\u7b26\u53f7\u79ef\u5206\u53ef\u80fd\u4f1a\u53d8\u5f97\u975e\u5e38\u590d\u6742\u4e14\u8017\u65f6\u3002\u8fd9\u65f6\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u6570\u503c\u79ef\u5206\u6216\u7b80\u5316\u51fd\u6570\u8868\u8fbe\u5f0f\u6765\u51cf\u5c11\u8ba1\u7b97\u590d\u6742\u5ea6\u3002<\/p>\n<\/p>\n<p><h4>4\u3001\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5<\/h4>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5\u6765\u8ba1\u7b97\u4e0d\u5b9a\u79ef\u5206\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u5148\u4f7f\u7528\u7b26\u53f7\u79ef\u5206\u5f97\u5230\u521d\u6b65\u7ed3\u679c\uff0c\u7136\u540e\u4f7f\u7528\u6570\u503c\u79ef\u5206\u8fdb\u884c\u9a8c\u8bc1\u548c\u8865\u5145\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528Python\u8ba1\u7b97\u4e0d\u5b9a\u79ef\u5206\u7684\u65b9\u6cd5\u4e3b\u8981\u6709\uff1a<strong>\u4f7f\u7528SymPy\u5e93\u8fdb\u884c\u7b26\u53f7\u8ba1\u7b97\u3001\u4f7f\u7528scipy\u5e93\u8fdb\u884c\u6570\u503c\u79ef\u5206\u3001\u7ed3\u5408lambda\u51fd\u6570\u4e0e\u5fae\u5206\u65b9\u7a0b\u6c42\u89e3<\/strong>\u3002\u5176\u4e2d\uff0cSymPy\u5e93\u662f\u6700\u5e38\u7528\u4e14\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u8f7b\u677e\u89e3\u51b3\u7b26\u53f7\u79ef\u5206\u95ee\u9898\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u9700\u8981\u6839\u636e\u5177\u4f53\u95ee\u9898\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u5e76\u6ce8\u610f\u51fd\u6570\u7684\u8fde\u7eed\u6027\u548c\u53ef\u79ef\u6027\u3001\u6570\u503c\u79ef\u5206\u7684\u8bef\u5dee\u7b49\u95ee\u9898\u3002\u901a\u8fc7\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5\uff0c\u53ef\u4ee5\u63d0\u9ad8\u79ef\u5206\u8ba1\u7b97\u7684\u51c6\u786e\u6027\u548c\u6548\u7387\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u8fdb\u884c\u4e0d\u5b9a\u79ef\u5206\u7684\u8ba1\u7b97\uff1f<\/strong><br \/>Python\u4e2d\u53ef\u4ee5\u4f7f\u7528SymPy\u5e93\u6765\u8ba1\u7b97\u4e0d\u5b9a\u79ef\u5206\u3002\u9996\u5148\uff0c\u5b89\u88c5SymPy\u5e93\uff0c\u5e76\u5bfc\u5165\u5b83\u3002\u63a5\u7740\uff0c\u5b9a\u4e49\u4f60\u60f3\u8981\u79ef\u5206\u7684\u51fd\u6570\uff0c\u7136\u540e\u4f7f\u7528<code>integrate<\/code>\u51fd\u6570\u8fdb\u884c\u8ba1\u7b97\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">from sympy import symbols, integrate\nx = symbols(&#39;x&#39;)\nf = x**2\nresult = integrate(f, x)\nprint(result)  # \u8f93\u51fa: x**3\/3\n<\/code><\/pre>\n<p>\u8fd9\u6837\u4fbf\u53ef\u4ee5\u5f97\u5230\u4e0d\u5b9a\u79ef\u5206\u7684\u7ed3\u679c\u3002<\/p>\n<p><strong>Python\u4e2d\u7684\u4e0d\u5b9a\u79ef\u5206\u8ba1\u7b97\u662f\u5426\u51c6\u786e\uff1f<\/strong><br \/>\u4f7f\u7528SymPy\u5e93\u8fdb\u884c\u4e0d\u5b9a\u79ef\u5206\u7684\u8ba1\u7b97\u901a\u5e38\u975e\u5e38\u51c6\u786e\u3002SymPy\u662f\u4e00\u4e2a\u7b26\u53f7\u8ba1\u7b97\u5e93\uff0c\u80fd\u591f\u4ee5\u89e3\u6790\u7684\u65b9\u5f0f\u5904\u7406\u6570\u5b66\u8868\u8fbe\u5f0f\uff0c\u786e\u4fdd\u8ba1\u7b97\u7ed3\u679c\u7684\u7cbe\u786e\u6027\u3002\u4e0d\u8fc7\uff0c\u7528\u6237\u9700\u8981\u786e\u4fdd\u8f93\u5165\u7684\u51fd\u6570\u662f\u53ef\u4ee5\u8fdb\u884c\u4e0d\u5b9a\u79ef\u5206\u7684\uff0c\u56e0\u4e3a\u67d0\u4e9b\u590d\u6742\u51fd\u6570\u53ef\u80fd\u65e0\u6cd5\u89e3\u6790\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u8ba1\u7b97\u4e0d\u5b9a\u79ef\u5206\u662f\u5426\u9700\u8981\u4e86\u89e3\u5fae\u79ef\u5206\u77e5\u8bc6\uff1f<\/strong><br \/>\u867d\u7136\u4f7f\u7528Python\u8ba1\u7b97\u4e0d\u5b9a\u79ef\u5206\u7684\u5de5\u5177\u975e\u5e38\u53cb\u597d\uff0c\u4f46\u5177\u5907\u4e00\u5b9a\u7684\u5fae\u79ef\u5206\u77e5\u8bc6\u5c06\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7406\u89e3\u7ed3\u679c\u548c\u8fc7\u7a0b\u3002\u4e86\u89e3\u57fa\u672c\u7684\u79ef\u5206\u89c4\u5219\u548c\u6027\u8d28\u53ef\u4ee5\u8ba9\u4f60\u5728\u4f7f\u7528\u8ba1\u7b97\u5de5\u5177\u65f6\u505a\u51fa\u66f4\u660e\u667a\u7684\u9009\u62e9\uff0c\u5c24\u5176\u5728\u5904\u7406\u590d\u6742\u7684\u51fd\u6570\u65f6\uff0c\u80fd\u591f\u66f4\u51c6\u786e\u5730\u8fdb\u884c\u51fd\u6570\u7684\u5b9a\u4e49\u4e0e\u53d8\u6362\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5982\u4f55\u7528Python\u8ba1\u7b97\u51fa\u4e0d\u5b9a\u79ef\u5206 \u4f7f\u7528Python\u8ba1\u7b97\u4e0d\u5b9a\u79ef\u5206\u7684\u4e3b\u8981\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528SymPy\u5e93\u8fdb\u884c\u7b26\u53f7\u8ba1\u7b97\u3001\u4f7f\u7528 [&hellip;]","protected":false},"author":3,"featured_media":1116284,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1116279"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1116279"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1116279\/revisions"}],"predecessor-version":[{"id":1116287,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1116279\/revisions\/1116287"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1116284"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1116279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1116279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1116279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}