PageInfo
ข้อมูลเกี่ยวกับหน้าปัจจุบัน
การดำเนินการกับรายการที่รองรับการแบ่งหน้าจะแสดงผลลัพธ์เพียง "หน้า" เดียวเท่านั้น ข้อความบัฟเฟอร์โปรโตคอลนี้จะอธิบายหน้าที่แสดงผล
การแสดง JSON |
{
"totalResults": integer,
"resultPerPage": integer,
"startIndex": integer
} |
ช่อง |
totalResults |
integer
จํานวนผลลัพธ์ทั้งหมดที่มีในแบ็กเอนด์ จํานวนผลลัพธ์ทั้งหมดในชุดผลลัพธ์
|
resultPerPage |
integer
จำนวนผลลัพธ์สูงสุดที่แสดงในหน้าเดียว ! จํานวนผลลัพธ์ที่รวมอยู่ในการตอบกลับของ API
|
startIndex |
integer
ดัชนีของผลการค้นหารายการแรกที่แสดงในหน้าปัจจุบัน
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-12-17 UTC
[null,null,["อัปเดตล่าสุด 2024-12-17 UTC"],[[["This documentation details the structure of a JSON response for paginated API results."],["The response includes the total number of results, the number of results per page, and the starting index of the current page."],["This information is used to navigate through large datasets by displaying results in manageable chunks."]]],["The document defines the structure of a page of results returned from an API. It uses a JSON representation with three fields: `totalResults` indicates the total number of results available; `resultPerPage` specifies the maximum results returned per page; and `startIndex` denotes the index of the first result on the current page. These fields allow clients to navigate through large result sets by requesting specific pages.\n"]]