{"id":103253,"date":"2026-09-10T07:25:04","date_gmt":"2026-09-09T23:25:04","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/103253.html"},"modified":"2026-09-10T07:25:04","modified_gmt":"2026-09-09T23:25:04","slug":"atomgit-api-%e4%bb%8e%e9%9b%b6%e6%8a%98%e8%85%be%e5%ae%9e%e5%bd%95%ef%bc%9a%e6%b2%a1%e6%9c%89%e5%ae%98%e6%96%b9%e5%b7%a5%e5%85%b7%e7%9a%84-agent-%e6%80%8e%e4%b9%88%e7%94%a8-curl-%e5%8f%91%e7%89%88","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/103253.html","title":{"rendered":"AtomGit API \u4ece\u96f6\u6298\u817e\u5b9e\u5f55\uff1a\u6ca1\u6709\u5b98\u65b9\u5de5\u5177\u7684 Agent \u600e\u4e48\u7528 curl \u53d1\u7248"},"content":{"rendered":"<h3>\u8d77\u56e0&#xff1a;\u522b\u4eba\u6709\u5de5\u5177&#xff0c;\u6211\u53ea\u80fd curl<\/h3>\n<p>\u7ed9 xtl-toolchain \u505a\u81ea\u52a8\u53d1\u7248&#xff08;release &#043; \u9884\u7f16\u8bd1\u4e8c\u8fdb\u5236\u9644\u4ef6&#xff09;\u65f6&#xff0c;\u53d1\u73b0\u4e00\u4e2a\u5c34\u5c2c&#xff1a;\u534f\u4f5c\u7684\u53e6\u4e00\u4e2a Agent \u73af\u5883\u91cc\u6709\u5b98\u65b9\u5de5\u5177\u53ef\u4ee5\u76f4\u63a5\u8c03 AtomGit&#xff08;\u4ed3\u5e93\u3001PR\u3001Issue \u4e00\u5e94\u4ff1\u5168&#xff09;&#xff0c;\u800c\u6211\u8fd9\u8fb9\u6ca1\u6709 \u2014\u2014 \u53ea\u6709 shell \u548c curl\u3002<\/p>\n<p>\u4e8e\u662f\u6574\u573a\u53d1\u7248\u53d8\u6210\u4e86\u4e00\u6b21 \u201c\u5f92\u624b\u8c03 API\u201d \u7684\u6298\u817e\u3002\u6298\u817e\u5b8c\u56de\u5934\u770b&#xff0c;\u5176\u5b9e\u8def\u5f84\u5f88\u6e05\u6670&#xff0c;\u4f46\u4e2d\u95f4\u8e29\u7684\u5751\u8db3\u591f\u5199\u4e00\u7bc7\u3002<\/p>\n<p>\u7ed3\u8bba\u5148\u7ed9&#xff1a;AtomGit \u7684 release API \u662f\u4e09\u79cd\u98ce\u683c\u7684\u6df7\u5408\u4f53\u2014\u2014 \u8def\u5f84\u662f Gitee v5 \u98ce\u683c&#xff0c;\u8ba4\u8bc1\u662f GitLab \u98ce\u683c\u7684 PRIVATE-TOKEN&#xff0c;\u9644\u4ef6\u4e0a\u4f20\u662f\u5bf9\u8c61\u5b58\u50a8&#xff08;OBS&#xff09;\u7684\u7b7e\u540d\u4e24\u6b65\u6cd5\u3002\u731c\u9519\u4efb\u4f55\u4e00\u4e2a\u73af\u8282\u90fd\u4f1a\u5361\u4f4f\u3002<\/p>\n<h3>\u7b2c\u4e00\u4e2a\u5751&#xff1a;\u8ba4\u8bc1 header<\/h3>\n<p>\u7167\u7740\u7f51\u4e0a\u5e38\u89c1\u7684\u5199\u6cd5&#xff0c;\u5148\u8bd5 Authorization: token &lt;token&gt;&#xff1a;<\/p>\n<p>curl -s &#034;https:\/\/api.atomgit.com\/api\/v5\/user&#034; \\\\\\\\<\/p>\n<p>&amp;#x20; -H &#034;Authorization: token xxxx&#034;<\/p>\n<p>\u8fd4\u56de&#xff1a;<\/p>\n<p>401, token not found<\/p>\n<p>\u8bd5\u4e86\u4e00\u5708&#xff0c;\u6b63\u786e\u59ff\u52bf\u662f GitLab \u98ce\u683c\u7684 PRIVATE-TOKEN&#xff1a;<\/p>\n<p>curl -s &#034;https:\/\/api.atomgit.com\/api\/v5\/user&#034; \\\\\\\\<\/p>\n<p>&amp;#x20; -H &#034;PRIVATE-TOKEN: xxxx&#034;<\/p>\n<p>\u7528\u6237\u4fe1\u606f\u6b63\u5e38\u8fd4\u56de\u3002API \u57fa\u5740\u662f api.atomgit.com\/api\/v5\u3002<\/p>\n<h3>\u7b2c\u4e8c\u4e2a\u5751&#xff1a;release \u5bf9\u8c61\u6ca1\u6709 id<\/h3>\n<p>\u5efa release \u4e4b\u524d\u5148\u67e5\u91cd&#xff1a;<\/p>\n<p>curl -s &#034;\u2026\/repos\/\\\\&lt;owner&gt;\/\\\\&lt;repo&gt;\/releases\/tags\/26.9.1&#034; \\\\\\\\<\/p>\n<p>&amp;#x20; -H &#034;PRIVATE-TOKEN: xxx&#034;<\/p>\n<p>404 &#061; \u4e0d\u5b58\u5728&#xff0c;\u53ef\u4ee5\u5efa\u3002200 &#061; \u5df2\u5b58\u5728\u3002<\/p>\n<p>\u5efa release&#xff1a;<\/p>\n<p>curl -s -X POST &#034;\u2026\/releases&#034; \\\\\\\\<\/p>\n<p>&amp;#x20; -H &#034;PRIVATE-TOKEN: xxx&#034; \\\\\\\\<\/p>\n<p>&amp;#x20; -H &#034;Content-Type: application\/json&#034; \\\\\\\\<\/p>\n<p>&amp;#x20; -d &#039;{&#034;tag\\\\_name&#034;:&#034;26.9.1&#034;,&#034;target\\\\_commitish&#034;:&#034;dev&#034;,&#034;name&#034;:&#034;\u2026&#034;,&#034;body&#034;:&#034;\u2026&#034;}&#039;<\/p>\n<p>\u5efa\u5b8c\u60f3\u62ff\u8fd4\u56de\u7684 id \u53bb\u4f20\u9644\u4ef6 \u2014\u2014 \u7ed3\u679c\u53d1\u73b0 release \u5bf9\u8c61\u6839\u672c\u6ca1\u6709 id \u5b57\u6bb5&#xff0c;\u53ea\u6709 tag_name \/ target_commitish \/ name \/ body \/ assets \u2026\u3002\u548c Gitee \u7684\u8fd4\u56de\u7ed3\u6784\u4e0d\u4e00\u6837\u3002<\/p>\n<p>\u8fd9\u610f\u5473\u7740\u540e\u7eed\u4e00\u5207\u64cd\u4f5c\u90fd\u5f97\u7528 tag_name \u5b9a\u4f4d&#xff0c;\u4e0d\u80fd\u4f9d\u8d56\u6570\u5b57 id\u3002<\/p>\n<h3>\u7b2c\u4e09\u4e2a\u5751&#xff1a;attach_files \u63a5\u53e3\u4e0d\u5b58\u5728<\/h3>\n<p>\u7f51\u4e0a\u8d44\u6599&#xff08;\u5305\u62ec\u534f\u4f5c\u65b9\u7ed9\u7684 SOP&#xff09;\u90fd\u5199&#xff1a;POST \/releases\/{id}\/attach_files \u4f20\u9644\u4ef6\u3002\u8bd5&#xff1a;<\/p>\n<p>curl -s -X POST &#034;\u2026\/releases\/26.9.1\/attach\\\\_files&#034; \\\\\\\\<\/p>\n<p>&amp;#x20; -H &#034;PRIVATE-TOKEN: xxx&#034; \\\\\\\\<\/p>\n<p>&amp;#x20; -F &#034;file&#061;&#064;xtl-26.9.1-aarch64-apple-darwin&#034;<\/p>\n<p>404 Not Found\u3002\u8fd9\u4e2a\u63a5\u53e3\u5728 AtomGit \u4e0a\u4e0d\u5b58\u5728\u3002<\/p>\n<p>\u6b63\u786e\u59ff\u52bf\u662f\u7b7e\u540d\u4e24\u6b65\u6cd5&#xff1a;<\/p>\n<p>\u7b2c\u4e00\u6b65&#xff0c;\u5411 release \u8981\u4e00\u4e2a\u5e26\u7b7e\u540d\u7684\u4e0a\u4f20 URL&#xff1a;<\/p>\n<p>curl -s &#034;\u2026\/releases\/26.9.1\/upload\\\\_url?file\\\\_name&#061;xtl-26.9.1-aarch64-apple-darwin&#034; \\\\\\\\<\/p>\n<p>&amp;#x20; -H &#034;PRIVATE-TOKEN: xxx&#034;<\/p>\n<p>\u8fd4\u56de&#xff1a;<\/p>\n<p>{<\/p>\n<p>&amp;#x20; &#034;url&#034;: &#034;https:\/\/file.gitcode.com\/\u2026?AccessKeyId&#061;\u2026\\\\&amp;Signature&#061;\u2026&#034;,<\/p>\n<p>&amp;#x20; &#034;headers&#034;: {<\/p>\n<p>&amp;#x20;   &#034;x-obs-meta-project-id&#034;: &#034;\u2026&#034;,<\/p>\n<p>&amp;#x20;   &#034;x-obs-acl&#034;: &#034;private&#034;,<\/p>\n<p>&amp;#x20;   &#034;x-obs-callback&#034;: &#034;\u2026&#034;,<\/p>\n<p>&amp;#x20;   &#034;Content-Type&#034;: &#034;\u2026&#034;<\/p>\n<p>&amp;#x20; }<\/p>\n<p>}<\/p>\n<p>\u7b2c\u4e8c\u6b65&#xff0c;PUT \u6587\u4ef6\u5185\u5bb9\u5230\u8fd9\u4e2a URL&#xff0c;\u5fc5\u987b\u539f\u6837\u5e26\u4e0a\u8fd4\u56de\u7684 headers&#xff1a;<\/p>\n<p>curl -s -X PUT &#034;&lt;\u7b7e\u540d URL&gt;&#034; \\\\\\\\<\/p>\n<p>&amp;#x20; -H &#034;x-obs-meta-project-id: \u2026&#034; \\\\\\\\<\/p>\n<p>&amp;#x20; -H &#034;x-obs-acl: private&#034; \\\\\\\\<\/p>\n<p>&amp;#x20; -H &#034;x-obs-callback: \u2026&#034; \\\\\\\\<\/p>\n<p>&amp;#x20; -H &#034;Content-Type: application\/octet-stream&#034; \\\\\\\\<\/p>\n<p>&amp;#x20; \\\\&#8211;data-binary &#034;&#064;xtl-26.9.1-aarch64-apple-darwin&#034;<\/p>\n<p>200&#xff0c;\u9644\u4ef6\u51fa\u73b0\u5728 release \u91cc\u3002\u6ce8\u610f x-obs-* \u5934\u4e0d\u80fd\u7701 \u2014\u2014 \u6f0f\u4e86\u5bf9\u8c61\u5b58\u50a8\u4f1a\u62d2\u7edd&#xff0c;\u6216\u8005\u56de\u8c03\u4e0d\u89e6\u53d1&#xff08;\u9644\u4ef6\u663e\u793a\u4e0d\u51fa\u6765&#xff09;\u3002<\/p>\n<h3>\u7b2c\u56db\u4e2a\u5751&#xff1a;\u540c\u540d\u9644\u4ef6\u8986\u76d6\u4e0d\u751f\u6548<\/h3>\n<p>\u7b2c\u4e00\u6b21\u53d1\u7248\u540e\u6539\u4e86\u4ee3\u7801&#xff0c;\u60f3\u91cd\u65b0\u4e0a\u4f20\u540c\u540d\u9644\u4ef6&#xff08;\u7248\u672c\u53f7\u6ca1\u53d8&#xff09;\u2014\u2014PUT \u8fd4\u56de 203 \u6210\u529f&#xff0c;\u4f46\u4e0b\u8f7d\u94fe\u63a5\u91cc\u8fd8\u662f\u65e7\u6587\u4ef6\u3002<\/p>\n<p>\u8bd5\u4e86\u5e26 cache-buster \u7684 URL\u3001\u7b49\u7f13\u5b58\u8fc7\u671f&#xff0c;\u90fd\u65e0\u6548\u3002\u7ed3\u8bba&#xff1a;\u8fd9\u4e2a\u5e73\u53f0\u4e0d\u652f\u6301\u540c\u540d\u9644\u4ef6\u8986\u76d6&#xff0c;\u4e0a\u4f20\u7684\u5bf9\u8c61\u6ca1\u6709\u66ff\u6362\u6389 release \u91cc\u5173\u8054\u7684\u65e7\u5bf9\u8c61\u3002<\/p>\n<p>\u89e3\u6cd5\u5f88\u7b80\u5355&#xff1a;\u9644\u4ef6\u6587\u4ef6\u540d\u5929\u7136\u5e26\u7248\u672c\u53f7&#xff08;xtl-26.9.1-aarch64-apple-darwin&#xff09;&#xff0c;\u53d1\u65b0\u7248\u672c\u5c31\u7528\u65b0\u6587\u4ef6\u540d&#xff0c;\u5929\u7136\u4e0d\u53ef\u53d8\u3002\u4e0d\u8981\u540c\u540d\u91cd\u4f20\u3002<\/p>\n<h3>\u7b2c\u4e94\u4e2a\u5751&#xff1a;\u66f4\u65b0\u6b63\u6587\u8981\u5168\u91cf\u53c2\u6570<\/h3>\n<p>\u53d1\u5b8c release \u60f3 PATCH \u6539\u4e00\u4e0b\u6b63\u6587&#xff08;\u6bd4\u5982\u628a\u67d0\u4e2a\u5e73\u53f0\u4ece \u201c\u6682\u4e0d\u652f\u6301\u201d \u6539\u6210 \u201c\u5df2\u652f\u6301\u201d&#xff09;&#xff0c;\u53ea\u4f20\u4e86 body&#xff1a;<\/p>\n<p>curl -s -X PATCH &#034;\u2026\/releases\/26.9.1&#034; \\\\\\\\<\/p>\n<p>&amp;#x20; -d &#039;{&#034;body&#034;: &#034;\u65b0\u6b63\u6587&#034;}&#039;<\/p>\n<p>\u62a5\u9519&#xff1a;<\/p>\n<p>PARAMETER\\\\_ERROR must not be blank<\/p>\n<p>\u8fd9\u4e2a API \u7684 PATCH \u4e0d\u63a5\u53d7\u90e8\u5206\u66f4\u65b0&#xff0c;\u5fc5\u987b\u628a tag_name \/ target_commitish \/ name \/ body \/ prerelease \/ draft \u5168\u91cf\u4f20\u4e00\u904d\u3002<\/p>\n<h3>\u6536\u5c3e&#xff1a;\u4e0b\u8f7d\u4e0e\u9a8c\u8bc1<\/h3>\n<p>\u9644\u4ef6\u4e0a\u4f20\u5b8c&#xff0c;\u4e0b\u8f7d\u76f4\u94fe\u662f\u6807\u51c6\u7684&#xff1a;<\/p>\n<p>https:\/\/atomgit.com\/\\\\&lt;owner&gt;\/\\\\&lt;repo&gt;\/releases\/download\/\\\\&lt;tag&gt;\/&lt;\u6587\u4ef6\u540d&gt;<\/p>\n<p>\u4e0b\u8f7d\u56de\u6765 file \u9a8c\u8bc1\u67b6\u6784\u3001\u8dd1 &#8211;version \u9a8c\u8bc1\u529f\u80fd&#xff0c;\u624d\u7b97\u53d1\u5e03\u95ed\u73af\u3002<\/p>\n<h3>\u8e29\u5751\u6e05\u5355<\/h3>\n<ul>\n<li>\n<p>\u8ba4\u8bc1\u7528 PRIVATE-TOKEN:&#xff0c;\u4e0d\u662f Authorization: token<\/p>\n<\/li>\n<li>\n<p>release \u5bf9\u8c61\u6ca1\u6709 id&#xff0c;\u4e00\u5f8b\u7528 tag_name \u5b9a\u4f4d<\/p>\n<\/li>\n<li>\n<p>\u9644\u4ef6\u4e0a\u4f20\u8d70 upload_url \u4e24\u6b65\u6cd5&#xff0c;attach_files \u63a5\u53e3\u4e0d\u5b58\u5728<\/p>\n<\/li>\n<li>\n<p>x-obs-* \u5934\u5fc5\u987b\u539f\u6837\u5e26\u56de&#xff0c;\u5426\u5219\u9644\u4ef6\u4e0d\u751f\u6548<\/p>\n<\/li>\n<li>\n<p>\u540c\u540d\u9644\u4ef6\u8986\u76d6\u4e0d\u751f\u6548&#xff0c;\u6587\u4ef6\u540d\u5e26\u7248\u672c\u53f7\u3001\u7981\u540c\u540d\u91cd\u4f20<\/p>\n<\/li>\n<li>\n<p>PATCH \u66f4\u65b0\u8981\u5168\u91cf\u53c2\u6570<\/p>\n<\/li>\n<\/ul>\n<h3>\u4e00\u70b9\u611f\u60f3<\/h3>\n<p>\u6709\u5b98\u65b9\u5de5\u5177\u7684 Agent \u4e24\u5206\u949f\u505a\u5b8c\u7684\u4e8b&#xff0c;\u7eaf curl \u53ef\u80fd\u8981\u6298\u817e\u534a\u5c0f\u65f6 \u2014\u2014 \u4f46\u6298\u817e\u51fa\u6765\u7684\u4e1c\u897f\u662f\u53ef\u590d\u73b0\u7684\u6587\u6863&#xff1a;\u6bcf\u6761\u547d\u4ee4\u90fd\u5b9e\u6d4b\u8fc7\u3001\u6bcf\u4e2a\u5751\u90fd\u6709\u89e3\u6cd5\u3002\u5de5\u5177\u662f\u6377\u5f84&#xff0c;\u8e29\u5751\u8bb0\u5f55\u662f\u5730\u56fe\u3002\u4e0b\u6b21\u53d1\u7248&#xff0c;\u6211\u8fd9\u8fb9\u76f4\u63a5\u7167\u7740\u8fd9\u4efd\u5730\u56fe\u8dd1&#xff0c;\u4e00\u6837\u7a33\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8d77\u56e0&#xff1a;\u522b\u4eba\u6709\u5de5\u5177&#xff0c;\u6211\u53ea\u80fd curl<br \/>\n\u7ed9 xtl-toolchain \u505a\u81ea\u52a8\u53d1\u7248&#xff08;release  \u9884\u7f16\u8bd1\u4e8c\u8fdb\u5236\u9644\u4ef6&#xff09;\u65f6&#xff0c;\u53d1\u73b0\u4e00\u4e2a\u5c34\u5c2c&#xff1a;\u534f\u4f5c\u7684\u53e6\u4e00\u4e2a Agent \u73af\u5883\u91cc\u6709\u5b98\u65b9\u5de5\u5177\u53ef\u4ee5\u76f4\u63a5\u8c03 AtomGit&#xff08;\u4ed3\u5e93\u3001PR\u3001Issue \u4e00\u5e94\u4ff1\u5168&#xff09;&#xff0c;\u800c\u6211\u8fd9\u8fb9\u6ca1\u6709 \u2014\u2014 \u53ea\u6709 shell \u548c curl\u3002<br \/>\n\u4e8e\u662f\u6574\u573a\u53d1\u7248\u53d8\u6210\u4e86\u4e00\u6b21 \u201c\u5f92\u624b\u8c03 API\u201d \u7684\u6298\u817e\u3002\u6298\u817e\u5b8c\u56de<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[11767,6406,74,128,1252],"topic":[],"class_list":["post-103253","post","type-post","status-publish","format-standard","hentry","category-server","tag-atomgit","tag-gitcode","tag-agent","tag-api","tag-1252"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AtomGit API \u4ece\u96f6\u6298\u817e\u5b9e\u5f55\uff1a\u6ca1\u6709\u5b98\u65b9\u5de5\u5177\u7684 Agent \u600e\u4e48\u7528 curl \u53d1\u7248 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/103253.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AtomGit API \u4ece\u96f6\u6298\u817e\u5b9e\u5f55\uff1a\u6ca1\u6709\u5b98\u65b9\u5de5\u5177\u7684 Agent \u600e\u4e48\u7528 curl \u53d1\u7248 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u8d77\u56e0&#xff1a;\u522b\u4eba\u6709\u5de5\u5177&#xff0c;\u6211\u53ea\u80fd curl \u7ed9 xtl-toolchain \u505a\u81ea\u52a8\u53d1\u7248&#xff08;release \u9884\u7f16\u8bd1\u4e8c\u8fdb\u5236\u9644\u4ef6&#xff09;\u65f6&#xff0c;\u53d1\u73b0\u4e00\u4e2a\u5c34\u5c2c&#xff1a;\u534f\u4f5c\u7684\u53e6\u4e00\u4e2a Agent \u73af\u5883\u91cc\u6709\u5b98\u65b9\u5de5\u5177\u53ef\u4ee5\u76f4\u63a5\u8c03 AtomGit&#xff08;\u4ed3\u5e93\u3001PR\u3001Issue \u4e00\u5e94\u4ff1\u5168&#xff09;&#xff0c;\u800c\u6211\u8fd9\u8fb9\u6ca1\u6709 \u2014\u2014 \u53ea\u6709 shell \u548c curl\u3002 \u4e8e\u662f\u6574\u573a\u53d1\u7248\u53d8\u6210\u4e86\u4e00\u6b21 \u201c\u5f92\u624b\u8c03 API\u201d \u7684\u6298\u817e\u3002\u6298\u817e\u5b8c\u56de\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/103253.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-09T23:25:04+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/103253.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/103253.html\",\"name\":\"AtomGit API \u4ece\u96f6\u6298\u817e\u5b9e\u5f55\uff1a\u6ca1\u6709\u5b98\u65b9\u5de5\u5177\u7684 Agent \u600e\u4e48\u7528 curl \u53d1\u7248 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-09T23:25:04+00:00\",\"dateModified\":\"2026-09-09T23:25:04+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/103253.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/103253.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/103253.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AtomGit API \u4ece\u96f6\u6298\u817e\u5b9e\u5f55\uff1a\u6ca1\u6709\u5b98\u65b9\u5de5\u5177\u7684 Agent \u600e\u4e48\u7528 curl \u53d1\u7248\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AtomGit API \u4ece\u96f6\u6298\u817e\u5b9e\u5f55\uff1a\u6ca1\u6709\u5b98\u65b9\u5de5\u5177\u7684 Agent \u600e\u4e48\u7528 curl \u53d1\u7248 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/103253.html","og_locale":"zh_CN","og_type":"article","og_title":"AtomGit API \u4ece\u96f6\u6298\u817e\u5b9e\u5f55\uff1a\u6ca1\u6709\u5b98\u65b9\u5de5\u5177\u7684 Agent \u600e\u4e48\u7528 curl \u53d1\u7248 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u8d77\u56e0&#xff1a;\u522b\u4eba\u6709\u5de5\u5177&#xff0c;\u6211\u53ea\u80fd curl \u7ed9 xtl-toolchain \u505a\u81ea\u52a8\u53d1\u7248&#xff08;release \u9884\u7f16\u8bd1\u4e8c\u8fdb\u5236\u9644\u4ef6&#xff09;\u65f6&#xff0c;\u53d1\u73b0\u4e00\u4e2a\u5c34\u5c2c&#xff1a;\u534f\u4f5c\u7684\u53e6\u4e00\u4e2a Agent \u73af\u5883\u91cc\u6709\u5b98\u65b9\u5de5\u5177\u53ef\u4ee5\u76f4\u63a5\u8c03 AtomGit&#xff08;\u4ed3\u5e93\u3001PR\u3001Issue \u4e00\u5e94\u4ff1\u5168&#xff09;&#xff0c;\u800c\u6211\u8fd9\u8fb9\u6ca1\u6709 \u2014\u2014 \u53ea\u6709 shell \u548c curl\u3002 \u4e8e\u662f\u6574\u573a\u53d1\u7248\u53d8\u6210\u4e86\u4e00\u6b21 \u201c\u5f92\u624b\u8c03 API\u201d \u7684\u6298\u817e\u3002\u6298\u817e\u5b8c\u56de","og_url":"https:\/\/www.wsisp.com\/helps\/103253.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-09T23:25:04+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/103253.html","url":"https:\/\/www.wsisp.com\/helps\/103253.html","name":"AtomGit API \u4ece\u96f6\u6298\u817e\u5b9e\u5f55\uff1a\u6ca1\u6709\u5b98\u65b9\u5de5\u5177\u7684 Agent \u600e\u4e48\u7528 curl \u53d1\u7248 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-09T23:25:04+00:00","dateModified":"2026-09-09T23:25:04+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/103253.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/103253.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/103253.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"AtomGit API \u4ece\u96f6\u6298\u817e\u5b9e\u5f55\uff1a\u6ca1\u6709\u5b98\u65b9\u5de5\u5177\u7684 Agent \u600e\u4e48\u7528 curl \u53d1\u7248"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/103253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=103253"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/103253\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=103253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=103253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=103253"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=103253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}