หน้า: แพตช์
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ต้องมีการให้สิทธิ์
อัปเดตหน้าเว็บ วิธีนี้รองรับความหมายของแพตช์
ลองใช้เลย
ส่งคำขอ
คำขอ HTTP
PATCH https://www.googleapis.com/blogger/v3/blogs/blogId/pages/pageId
พารามิเตอร์
ชื่อพารามิเตอร์ |
ค่า |
คำอธิบาย |
พารามิเตอร์ที่จำเป็น |
blogId |
string |
รหัสของบล็อก
|
pageId |
string |
รหัสของหน้า
|
การให้สิทธิ์
คำขอนี้ต้องมีการให้สิทธิ์ด้วยขอบเขตต่อไปนี้อย่างน้อย 1 รายการ (อ่านเพิ่มเติมเกี่ยวกับการรับรองและการให้สิทธิ์)
ขอบเขต |
https://www.googleapis.com/auth/blogger |
เนื้อหาของคำขอ
ในเนื้อหาคําขอ ให้ระบุทรัพยากรหน้าเว็บ
ลองใช้งาน
ใช้โปรแกรมสำรวจ API ด้านล่างเพื่อเรียกใช้เมธอดนี้กับข้อมูลจริงและดูการตอบกลับ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-23 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-11-23 UTC"],[[["\u003cp\u003eUpdate a blog page using the PATCH method with patch semantics.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/blogger\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eSpecify the blog ID (\u003ccode\u003eblogId\u003c/code\u003e) and the page ID (\u003ccode\u003epageId\u003c/code\u003e) as required parameters.\u003c/p\u003e\n"],["\u003cp\u003eSupply a \u003ccode\u003ePages\u003c/code\u003e resource in the request body to define the updates.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns the updated \u003ccode\u003ePages\u003c/code\u003e resource.\u003c/p\u003e\n"]]],[],null,["# Pages: patch\n\n**Requires [authorization](#auth)**\n\nUpdate a page. This method supports patch semantics.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nPATCH https://www.googleapis.com/blogger/v3/blogs/blogId/pages/pageId\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|---------------------|\n| **Required parameters** |||\n| `blogId` | `string` | The ID of the Blog. |\n| `pageId` | `string` | The ID of the Page. |\n\n### Authorization\n\nThis request requires authorization with at least one of the following scopes ([read more about authentication and authorization](/blogger/docs/3.0/using#auth)).\n\n| Scope |\n|-------------------------------------------|\n| `https://www.googleapis.com/auth/blogger` |\n\n### Request body\n\nIn the request body, supply a [Pages resource](/blogger/docs/3.0/reference/pages#resource).\n\nResponse\n--------\n\nIf successful, this method returns a [Pages resource](/blogger/docs/3.0/reference/pages#resource) in the response body.\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response."]]