সম্পদের তালিকার মাধ্যমে পৃষ্ঠা
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
আপনি maxResults
ক্ষেত্র সেট করে একটি তালিকা অনুরোধের প্রতিক্রিয়ায় সার্ভার ফেরত দেওয়া সর্বাধিক সংখ্যক সংস্থান নিয়ন্ত্রণ করতে পারেন। তদুপরি, কিছু সংগ্রহের জন্য (যেমন ইভেন্ট) পুনরুদ্ধার করা এন্ট্রির সংখ্যার একটি কঠিন সীমা রয়েছে যা সার্ভার কখনই অতিক্রম করবে না। ইভেন্টের মোট সংখ্যা এই সর্বোচ্চ অতিক্রম করলে, সার্ভার ফলাফলের একটি পৃষ্ঠা প্রদান করে।
মনে রাখবেন যে maxResults
এক পৃষ্ঠায় ফলাফলের সংখ্যার গ্যারান্টি দেয় না। অসম্পূর্ণ ফলাফল ফলাফলে একটি অ-খালি nextPageToken
ক্ষেত্র দ্বারা সনাক্ত করা যেতে পারে। পরবর্তী পৃষ্ঠাটি পুনরুদ্ধার করার জন্য, পূর্বের মতোই একই অনুরোধ সম্পাদন করুন এবং পূর্ববর্তী পৃষ্ঠা থেকে nextPageToken
এর মান সহ একটি pageToken
ক্ষেত্র যুক্ত করুন। সমস্ত ফলাফল পুনরুদ্ধার না হওয়া পর্যন্ত নিম্নলিখিত পৃষ্ঠাগুলিতে একটি নতুন nextPageToken
প্রদান করা হয়।
উদাহরণ স্বরূপ, এখানে একটি পৃষ্ঠা তালিকায় ফলাফলের পরবর্তী পৃষ্ঠাটি পুনরুদ্ধার করার জন্য ক্যোয়ারী অনুসরণ করা হয়েছে:
GET /calendars/primary/events?maxResults=10&singleEvents=true
//Result contains
"nextPageToken":"CiAKGjBpNDd2Nmp2Zml2cXRwYjBpOXA",
পরবর্তী ক্যোয়ারী nextPageToken
থেকে মান নেয় এবং pageToken
মান হিসাবে জমা দেয়:
GET /calendars/primary/events?maxResults=10&singleEvents=true&pageToken=CiAKGjBpNDd2Nmp2Zml2cXRwYjBpOXA
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Page through lists of resources\n\nYou can control the maximum number of resources the server returns in the\nresponse to a list request by setting the `maxResults` field. Furthermore,\nfor some collections (such as Events) there is a hard limit on the number of\nretrieved entries that the server will never exceed. If the total number of\nevents exceeds this maximum, the server returns one page of results.\n\nRemember that `maxResults` does not guarantee the number of results on one page.\nIncomplete results can be detected by a non-empty `nextPageToken` field in\nthe result. In order to retrieve the next page, perform the exact same request\nas previously and append a `pageToken` field with the value of\n`nextPageToken` from the previous page. A new `nextPageToken` is provided\non the following pages until all the results are retrieved.\n\nFor example, here is a query followed by the query for retrieving the\nnext page of results in a paginated list: \n\n GET /calendars/primary/events?maxResults=10&singleEvents=true\n\n //Result contains\n\n \"nextPageToken\":\"CiAKGjBpNDd2Nmp2Zml2cXRwYjBpOXA\",\n\nThe subsequent query takes the value from `nextPageToken` and\nsubmits it as the value for `pageToken`: \n\n GET /calendars/primary/events?maxResults=10&singleEvents=true&pageToken=CiAKGjBpNDd2Nmp2Zml2cXRwYjBpOXA"]]