PageInfo
informacje o bieżącej stronie.
Operacje na listach, które obsługują podział na strony, zwracają tylko jedną „stronę” wyników. Ta wiadomość bufora protokołu opisuje zwróconą stronę.
Zapis JSON |
{
"totalResults": integer,
"resultPerPage": integer,
"startIndex": integer
} |
Pola |
totalResults |
integer
Łączna liczba wyników dostępnych na serwerze! Łączna liczba wyników w zbiorze wyników.
|
resultPerPage |
integer
Maksymalna liczba wyników zwracanych na jednej stronie. ! Liczba wyników uwzględnionych w odpowiedzi interfejsu API.
|
startIndex |
integer
Indeks pierwszego wyniku zwróconego na bieżącej stronie.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-12-17 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]