PostUserInfos: তালিকা
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
অনুমোদন প্রয়োজন
পোস্ট এবং পোস্ট ব্যবহারকারীর তথ্য জোড়ার একটি তালিকা পুনরুদ্ধার করে, সম্ভবত ফিল্টার করা। পোস্ট ব্যবহারকারীর তথ্যে পোস্ট সম্পর্কে প্রতি-ব্যবহারকারীর তথ্য রয়েছে, যেমন অ্যাক্সেসের অধিকার, ব্যবহারকারীর জন্য নির্দিষ্ট। এখনই চেষ্টা করে দেখুন ।
অনুরোধ
HTTP অনুরোধ
GET https://www.googleapis.com/blogger/v3/users/userId/blogs/blogId/posts
পরামিতি
পরামিতি নাম | মান | বর্ণনা |
---|
প্রয়োজনীয় পরামিতি |
blogId | string | ব্লগের আইডি থেকে পোস্ট আনার জন্য। |
userId | string | প্রতি-ব্যবহারকারীর তথ্য আনার জন্য ব্যবহারকারীর আইডি। হয় 'স্ব' শব্দটি (উদ্ধৃতি চিহ্ন ছাড়া) অথবা ব্যবহারকারীর প্রোফাইল শনাক্তকারী। |
ঐচ্ছিক পরামিতি |
endDate | datetime | আনার জন্য সর্বশেষ পোস্টের তারিখ, RFC 3339 ফর্ম্যাটিং সহ একটি তারিখ-সময়৷ |
fetchBodies | boolean | পোস্টের মূল বিষয়বস্তু অন্তর্ভুক্ত করতে হবে কিনা। ডিফল্ট false . (ডিফল্ট: false ) |
labels | string | অনুসন্ধান করার জন্য লেবেলগুলির কমা দ্বারা পৃথক করা তালিকা৷ |
maxResults | unsigned integer | আনার জন্য সর্বাধিক সংখ্যক পোস্ট। |
orderBy | string | বাছাই ক্রম অনুসন্ধান ফলাফল প্রয়োগ করা হয়েছে. ডিফল্ট published হয়.
গ্রহণযোগ্য মান হল:- "
published ": পোস্টটি প্রকাশিত হওয়ার তারিখ অনুসারে অর্ডার করুন - "
updated ": পোস্টটি সর্বশেষ আপডেট হওয়ার তারিখের মধ্যে অর্ডার করুন
|
pageToken | string | ধারাবাহিকতা টোকেন, যা বৃহৎ ফলাফল সেটের মাধ্যমে পৃষ্ঠা করতে ব্যবহৃত হয়। ফলাফলের পরবর্তী পৃষ্ঠা পেতে, পূর্ববর্তী প্রতিক্রিয়া থেকে এই প্যারামিটারটিকে "nextPageToken" এর মান নির্ধারণ করুন। |
startDate | datetime | আনার জন্য প্রথম পোস্টের তারিখ, RFC 3339 ফর্ম্যাটিং সহ একটি তারিখ-সময়৷ |
status | string |
গ্রহণযোগ্য মান হল:- "
draft ": খসড়া পোস্ট - "
live ": প্রকাশিত পোস্ট - "
scheduled ": ভবিষ্যতে প্রকাশ করার জন্য নির্ধারিত পোস্ট।
|
view | string |
গ্রহণযোগ্য মান হল:- "
ADMIN ": অ্যাডমিন স্তরের বিশদ - "
AUTHOR ": লেখক স্তরের বিশদ - "
READER ": পাঠক স্তরের বিশদ
|
অনুমোদন
এই অনুরোধের জন্য নিম্নলিখিত স্কোপের মধ্যে অন্তত একটির অনুমোদন প্রয়োজন ( প্রমাণিকরণ এবং অনুমোদন সম্পর্কে আরও পড়ুন )।
ব্যাপ্তি |
---|
https://www.googleapis.com/auth/blogger |
https://www.googleapis.com/auth/blogger.readonly |
শরীরের অনুরোধ
এই পদ্ধতির সাথে একটি অনুরোধ সংস্থা সরবরাহ করবেন না।
প্রতিক্রিয়া
সফল হলে, এই পদ্ধতিটি নিম্নলিখিত কাঠামো সহ একটি প্রতিক্রিয়া বডি প্রদান করে:
{
"kind": "blogger#postUserInfosList",
"nextPageToken": string,
"items": [
postUserInfos Resource
]
}
সম্পত্তির নাম | মান | বর্ণনা | নোট |
---|
kind | string | এই ধরনের সত্তা. সর্বদা blogger#postList | |
nextPageToken | string | পরের পৃষ্ঠাটি আনতে পৃষ্ঠা সংখ্যা টোকেন, যদি একটি বিদ্যমান থাকে। | |
items[] | list | এই ব্লগের জন্য পোস্টের জন্য ব্যবহারকারীর তথ্য সহ পোস্টের তালিকা। | |
এটা চেষ্টা করুন!
লাইভ ডেটাতে এই পদ্ধতিতে কল করতে এবং প্রতিক্রিয়া দেখতে নীচের APIs এক্সপ্লোরার ব্যবহার করুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-11-30 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-11-30 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eRetrieves a list of posts and user-specific information for those posts from a specified blog.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering of posts by date, labels, status, and other criteria.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with specific scopes for access.\u003c/p\u003e\n"],["\u003cp\u003eReturns paginated results with post and user information.\u003c/p\u003e\n"],["\u003cp\u003eCan be tested using the provided API Explorer.\u003c/p\u003e\n"]]],[],null,["# PostUserInfos: list\n\n**Requires [authorization](#auth)**\n\nRetrieves a list of post and post user info pairs, possibly filtered. The post user info contains per-user information about the post, such as access rights, specific to the user.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET https://www.googleapis.com/blogger/v3/users/userId/blogs/blogId/posts\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Required parameters** |||\n| `blogId` | `string` | ID of the blog to fetch posts from. |\n| `userId` | `string` | ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier. |\n| **Optional parameters** |||\n| `endDate` | `datetime` | Latest post date to fetch, a date-time with RFC 3339 formatting. |\n| `fetchBodies` | `boolean` | Whether to include the post's body content. Default is `false`. (Default: `false`) |\n| `labels` | `string` | Comma-separated list of labels to search for. |\n| `maxResults` | `unsigned integer` | Maximum number of posts to fetch. |\n| `orderBy` | `string` | Sort order applied to search results. Default is `published`. \u003cbr /\u003e \u003cbr /\u003e Acceptable values are: - \"`published`\": Order by the date the post was published - \"`updated`\": Order by the date the post was last updated |\n| `pageToken` | `string` | The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of \"nextPageToken\" from the previous response. |\n| `startDate` | `datetime` | Earliest post date to fetch, a date-time with RFC 3339 formatting. |\n| `status` | `string` | Acceptable values are: - \"`draft`\": Draft posts - \"`live`\": Published posts - \"`scheduled`\": Posts that are scheduled to publish in future. |\n| `view` | `string` | Acceptable values are: - \"`ADMIN`\": Admin level detail - \"`AUTHOR`\": Author level detail - \"`READER`\": Reader level detail |\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| `https://www.googleapis.com/auth/blogger.readonly` |\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```objective-c\n{\n \"kind\": \"blogger#postUserInfosList\",\n \"nextPageToken\": string,\n \"items\": [\n postUserInfos Resource\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------|----------|----------------------------------------------------------------------|-------|\n| `kind` | `string` | The kind of this entity. Always `blogger#postList` | |\n| `nextPageToken` | `string` | Pagination token to fetch the next page, if one exists. | |\n| `items[]` | `list` | The list of Posts with User information for the post, for this Blog. | |\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response."]]