टिप्पणियां: listByblog
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
सभी पोस्ट में, ब्लॉग के लिए टिप्पणियों को शायद फ़िल्टर करता है.
इसे अभी आज़माएं.
अनुरोध
एचटीटीपी अनुरोध
GET https://www.googleapis.com/blogger/v3/blogs/blogId/comments
पैरामीटर
पैरामीटर का नाम |
वैल्यू |
कंपनी का ब्यौरा |
ज़रूरी पैरामीटर |
blogId |
string |
टिप्पणियों को फ़ेच करने के लिए ब्लॉग का आईडी.
|
वैकल्पिक पैरामीटर |
endDate |
datetime |
टिप्पणी फ़ेच करने की नई तारीख, जो आरएफ़सी 3339 के फ़ॉर्मैट में दी गई तारीख और समय.
|
fetchBodies |
boolean |
क्या टिप्पणियों के मुख्य हिस्से को शामिल किया गया है.
|
maxResults |
unsigned integer |
नतीजे में शामिल की जाने वाली टिप्पणियों की ज़्यादा से ज़्यादा संख्या.
|
pageToken |
string |
अगर अनुरोध को पेज किया गया है, तो कंटिन्यूएशन टोकन.
|
startDate |
datetime |
टिप्पणी को फ़ेच करने की सबसे पहले की तारीख, जो आरएफ़सी 3339 के फ़ॉर्मैट में दी गई तारीख और समय.
|
अनुरोध का मुख्य भाग
इस तरीके के साथ अनुरोध का मुख्य हिस्सा न दें.
जवाब
सही तरीके से काम करने पर, यह तरीका इस स्ट्रक्चर के साथ रिस्पॉन्स का मुख्य हिस्सा दिखाता है:
{
"kind": "blogger#commentList",
"nextPageToken": string,
"prevPageToken": string,
"items": [
comments Resource
]
}
प्रॉपर्टी का नाम |
वैल्यू |
कंपनी का ब्यौरा |
ज़रूरी जानकारी |
kind |
string |
इस एंट्री का टाइप. हमेशा blogger#commentList |
|
nextPageToken |
string |
अगर पहले से कोई पेज मौजूद है, तो अगला पेज फ़ेच करने के लिए, पेज पर नंबर डालने का टोकन. |
|
prevPageToken |
string |
अगर पहले से पेज मौजूद है, तो पिछले पेज को फ़ेच करने के लिए, पेज पर नंबर डालने का टोकन. |
|
items[] |
list |
किसी पोस्ट पर की गई टिप्पणियों की सूची. |
|
इसे आज़माएं!
लाइव डेटा पर इस तरीके को कॉल करने और जवाब देखने के लिए, नीचे दिए गए एपीआई एक्सप्लोरर का इस्तेमाल करें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-06-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-06-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eRetrieves all comments for a specified blog, optionally filtered by date and other criteria.\u003c/p\u003e\n"],["\u003cp\u003eRequest parameters include \u003ccode\u003eblogId\u003c/code\u003e (required), and optional filters like \u003ccode\u003eendDate\u003c/code\u003e, \u003ccode\u003efetchBodies\u003c/code\u003e, \u003ccode\u003emaxResults\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, and \u003ccode\u003estartDate\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe response provides a list of comments, along with pagination tokens (\u003ccode\u003enextPageToken\u003c/code\u003e, \u003ccode\u003eprevPageToken\u003c/code\u003e) for navigating through results.\u003c/p\u003e\n"],["\u003cp\u003eThis method uses an HTTP GET request to the endpoint \u003ccode\u003ehttps://www.googleapis.com/blogger/v3/blogs/blogId/comments\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Comments: listByBlog\n\nRetrieves the comments for a blog, across all posts, possibly filtered.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET https://www.googleapis.com/blogger/v3/blogs/blogId/comments\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|--------------------|--------------------------------------------------------------------------|\n| **Required parameters** |||\n| `blogId` | `string` | ID of the blog to fetch comments from. |\n| **Optional parameters** |||\n| `endDate` | `datetime` | Latest date of comment to fetch, a date-time with RFC 3339 formatting. |\n| `fetchBodies` | `boolean` | Whether the body content of the comments is included. |\n| `maxResults` | `unsigned integer` | Maximum number of comments to include in the result. |\n| `pageToken` | `string` | Continuation token if request is paged. |\n| `startDate` | `datetime` | Earliest date of comment to fetch, a date-time with RFC 3339 formatting. |\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#commentList\",\n \"nextPageToken\": string,\n \"prevPageToken\": string,\n \"items\": [\n comments Resource\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------|----------|-------------------------------------------------------------|-------|\n| `kind` | `string` | The kind of this entry. Always `blogger#commentList` | |\n| `nextPageToken` | `string` | Pagination token to fetch the next page, if one exists. | |\n| `prevPageToken` | `string` | Pagination token to fetch the previous page, if one exists. | |\n| `items[]` | `list` | The List of Comments for a Post. | |\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response."]]