PageInfo
मौजूदा पेज के बारे में जानकारी.
पेजिंग की सुविधा वाले लिस्ट ऑपरेशन, नतीजों का सिर्फ़ एक "पेज" दिखाते हैं. इस प्रोटोकॉल बफ़र मैसेज में, दिखाए गए पेज के बारे में जानकारी होती है.
JSON के काेड में दिखाना |
{
"totalResults": integer,
"resultPerPage": integer,
"startIndex": integer
} |
फ़ील्ड |
totalResults |
integer
बैकएंड पर उपलब्ध नतीजों की कुल संख्या ! नतीजों के सेट में मौजूद नतीजों की कुल संख्या.
|
resultPerPage |
integer
एक पेज पर दिखाए जाने वाले नतीजों की ज़्यादा से ज़्यादा संख्या. ! एपीआई के जवाब में शामिल नतीजों की संख्या.
|
startIndex |
integer
मौजूदा पेज में दिखाए गए पहले नतीजे का इंडेक्स.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]