पोस्ट
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
पोस्ट के रिसॉर्स में, ब्लॉग पोस्ट का एचटीएमएल कॉन्टेंट और पोस्ट का मेटाडेटा शामिल होता है.
इस संसाधन के लिए तरीकों की सूची देखने के लिए, इस पेज पर सबसे नीचे जाएं.
संसाधन के तौर पर दिखाए जाने वाले आइटम
{
"kind": "blogger#post",
"id": string,
"blog": {
"id": string
},
"published": datetime,
"updated": datetime,
"url": string,
"selfLink": string,
"title": string,
"titleLink": string,
"content": string,
"images": [
{
"url": string
}
],
"author": {
"id": string,
"displayName": string,
"url": string,
"image": {
"url": string
}
},
"replies": {
"totalItems": long,
"selfLink": string,
"items": [
comments Resource
]
},
"labels": [
string
],
"location": {
"name": string,
"lat": double,
"lng": double,
"span": string
},
"status": string
}
प्रॉपर्टी का नाम |
मान |
ब्यौरा |
नोट |
kind |
string |
इस इकाई का टाइप. हमेशा blogger#post . |
|
id |
string |
इस पोस्ट का आईडी. |
|
blog |
object |
इस पोस्ट वाले ब्लॉग का डेटा. |
|
blog.id |
string |
उस ब्लॉग का आईडी जिसमें यह पोस्ट मौजूद है. |
|
published |
datetime |
आरएफ़सी 3339 date-time इस पोस्ट को पब्लिश करने का समय. |
|
updated |
datetime |
आरएफ़सी 3339 date-time इस पोस्ट को आखिरी बार अपडेट किए जाने की तारीख. |
|
url |
string |
वह यूआरएल जहां यह पोस्ट दिखती है. |
|
selfLink |
string |
इस संसाधन को फ़ेच करने के लिए, Blogger API का यूआरएल. |
|
title |
string |
पोस्ट का टाइटल. |
|
content |
string |
पोस्ट का कॉन्टेंट. इसमें एचटीएमएल मार्कअप शामिल हो सकता है. |
|
author |
object |
इस पोस्ट का लेखक. |
|
author.id |
string |
पोस्ट बनाने वाले का आईडी. |
|
author.displayName |
string |
पोस्ट बनाने वाले का डिसप्ले नेम. |
|
author.url |
string |
पोस्ट बनाने वाले क्रिएटर के प्रोफ़ाइल पेज का यूआरएल. |
|
author.image |
object |
पोस्ट बनाने वाले का अवतार. |
|
author.image.url |
string |
पोस्ट बनाने वाले क्रिएटर के अवतार का यूआरएल. |
|
replies |
object |
इस पोस्ट पर की गई टिप्पणियों का कंटेनर. |
|
replies.totalItems |
long |
इस पोस्ट पर की गई टिप्पणियों की कुल संख्या. |
|
replies.selfLink |
string |
इस पोस्ट की टिप्पणियां पाने के लिए, Blogger API का यूआरएल. |
|
labels[] |
list |
इस पोस्ट पर टैग किए गए लेबल की सूची. |
|
replies.items[] |
list |
इस पोस्ट पर की गई टिप्पणियों की सूची. |
|
location |
object |
अगर इस पोस्ट को जियोटैग किया गया है, तो जगह की जानकारी. |
|
location.name |
string |
जगह का नाम. |
|
location.lat |
double |
जगह का अक्षांश. |
|
location.lng |
double |
जगह का देशांतर. |
|
location.span |
string |
जगह के व्यूपोर्ट का स्पैन. मैप की झलक रेंडर करते समय इसका इस्तेमाल किया जा सकता है. |
|
titleLink |
string |
टाइटल लिंक का यूआरएल, जो एटम के मिलते-जुलते लिंक से मिलता-जुलता है. |
|
images[] |
list |
पोस्ट के लिए इमेज दिखाएं. |
|
images[].url |
string |
|
|
status |
string |
पोस्ट की स्थिति. सिर्फ़ एडमिन-लेवल के अनुरोधों के लिए सेट किया जाता है |
|
तरीके
list तरीके का इस्तेमाल करके, किसी ब्लॉग की पोस्ट की सूची देखी जा सकती है. साथ ही, get तरीके का इस्तेमाल करके, किसी एक पोस्ट को देखा जा सकता है.
- list
- पोस्ट की सूची दिखाता है.
- get
- पोस्ट आईडी के हिसाब से एक पोस्ट को वापस लाता है.
- search
- यह क्वेरी में दिए गए शब्दों से मेल खाने वाली पोस्ट खोजता है.
- शामिल करें
- पोस्ट जोड़ता है.
- मिटाएं
- आईडी के हिसाब से पोस्ट मिटाता है.
- getByPath
- पथ के हिसाब से पोस्ट को वापस लाता है.
- पैच
- पोस्ट को अपडेट करता है. यह तरीका पैच सेमेटिक्स के साथ काम करता है.
- अपडेट करें
- पोस्ट को अपडेट करता है.
- पब्लिश करना
- ड्राफ़्ट की गई पोस्ट पब्लिश करना.
- पहले जैसा करें
- पब्लिश की गई या शेड्यूल की गई पोस्ट को ड्राफ़्ट में वापस लाएं. इससे, पोस्ट को सार्वजनिक तौर पर दिखने वाले कॉन्टेंट से हटा दिया जाता है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-05-15 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-05-15 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eA posts resource stores a blog post's HTML content and metadata, such as title, author, and publication date.\u003c/p\u003e\n"],["\u003cp\u003eThe resource representation includes details like post ID, blog ID, content, author information, comments, labels, and location.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage posts using various methods: list to retrieve multiple posts, get to retrieve a specific post by ID, and others for searching, inserting, deleting, updating, and publishing.\u003c/p\u003e\n"],["\u003cp\u003ePosts can include custom metadata and images, along with details about the post's location if it is geotagged.\u003c/p\u003e\n"]]],[],null,["# Posts\n\nA posts resource contain the HTML content of a blog post, along with post metadata.\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\n\u003cbr /\u003e\n\n```objective-c\n{\n \"kind\": \"blogger#post\",\n \"id\": string,\n \"blog\": {\n \"id\": string\n },\n \"published\": datetime,\n \"updated\": datetime,\n \"url\": string,\n \"selfLink\": string,\n \"title\": string,\n \"titleLink\": string,\n \"content\": string,\n \"images\": [\n {\n \"url\": string\n }\n ],\n \"author\": {\n \"id\": string,\n \"displayName\": string,\n \"url\": string,\n \"image\": {\n \"url\": string\n }\n },\n \"replies\": {\n \"totalItems\": long,\n \"selfLink\": string,\n \"items\": [\n comments Resource\n ]\n },\n \"labels\": [\n string\n ],\n \"location\": {\n \"name\": string,\n \"lat\": double,\n \"lng\": double,\n \"span\": string\n },\n \"status\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|----------------------|------------|----------------------------------------------------------------------------------------------|-------|\n| `kind` | `string` | The kind of this entity. Always `blogger#post`. | |\n| `id` | `string` | The ID of this post. | |\n| `blog` | `object` | Data about the blog containing this post. | |\n| blog.`id` | `string` | The ID of the blog that contains this post. | |\n| `published` | `datetime` | [RFC 3339](http://www.ietf.org/rfc/rfc3339.txt) `date-time` when this post was published. | |\n| `updated` | `datetime` | [RFC 3339](http://www.ietf.org/rfc/rfc3339.txt) `date-time` when this post was last updated. | |\n| `url` | `string` | The URL where this post is displayed. | |\n| `selfLink` | `string` | The Blogger API URL to fetch this resource from. | |\n| `title` | `string` | The title of the post. | |\n| `content` | `string` | The content of the post. Can contain HTML markup. | |\n| `author` | `object` | The author of this post. | |\n| author.`id` | `string` | The ID of the post creator. | |\n| author.`displayName` | `string` | The post creator's display name. | |\n| author.`url` | `string` | The URL of the post creator's profile page. | |\n| author.`image` | `object` | The post creator's avatar. | |\n| author.image.`url` | `string` | The post creator's avatar URL. | |\n| `replies` | `object` | The container for this post's comments. | |\n| replies.`totalItems` | `long` | The total number of comments on this post. | |\n| replies.`selfLink` | `string` | The Blogger API URL of to retrieve the comments for this post. | |\n| `labels[]` | `list` | The list of labels this post was tagged with. | |\n| replies.`items[]` | `list` | The list of comments for this post. | |\n| `location` | `object` | The location, if this post is geotagged. | |\n| location.`name` | `string` | Location name. | |\n| location.`lat` | `double` | Location's latitude. | |\n| location.`lng` | `double` | Location's longitude. | |\n| location.`span` | `string` | Location's viewport span. Can be used when rendering a map preview. | |\n| `titleLink` | `string` | The title link URL, similar to atom's related link. | |\n| `images[]` | `list` | Display image for the Post. | |\n| images[].`url` | `string` | | |\n| `status` | `string` | Status of the post. Only set for admin-level requests | |\n\nMethods\n-------\n\nYou can retrieve the list of posts for a blog using the [list](/blogger/docs/3.0/reference/posts/list) method, and retrieve an individual post using the [get](/blogger/docs/3.0/reference/posts/get) method.\n\n[list](/blogger/docs/3.0/reference/posts/list)\n: Retrieves a list of posts.\n\n[get](/blogger/docs/3.0/reference/posts/get)\n: Retrieves one post by post ID.\n\n[search](/blogger/docs/3.0/reference/posts/search)\n: Searches for a post that matches the given query terms.\n\n[insert](/blogger/docs/3.0/reference/posts/insert)\n: Adds a post.\n\n[delete](/blogger/docs/3.0/reference/posts/delete)\n: Deletes a post by ID.\n\n[getByPath](/blogger/docs/3.0/reference/posts/getByPath)\n: Retrieves a post by path.\n\n[patch](/blogger/docs/3.0/reference/posts/patch)\n: Updates a post. This method supports [patch semantics](/blogger/docs/3.0/performance).\n\n[update](/blogger/docs/3.0/reference/posts/update)\n: Updates a post.\n\n[publish](/blogger/docs/3.0/reference/posts/publish)\n: Publish a draft post.\n\n[revert](/blogger/docs/3.0/reference/posts/revert)\n: Revert a published or scheduled post to draft state, which removes the post from the publicly viewable content."]]