Google Business Profile एपीआई में
एपीआई का नया तरीका है. इसकी मदद से, एक ही एपीआई अनुरोध में कई `डेली मेट्रिक` फ़ेच की जा सकती हैं.
सेवा बंद होने का शेड्यूल देखें. साथ ही, v4 reportInsights API वाले तरीके से Google Business Profile की परफ़ॉर्मेंस एपीआई में माइग्रेट करने के बारे में निर्देश देखें.
Method: accounts.locations.verifications.list
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
बनाने के समय के हिसाब से क्रम में किसी जगह की पुष्टि की सूची बनाएं.
एचटीटीपी अनुरोध
GET https://mybusiness.googleapis.com/v4/{parent=accounts/*/locations/*}/verifications
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
पुष्टि करने के अनुरोध वाली जगह का संसाधन.
|
क्वेरी पैरामीटर
पैरामीटर |
pageSize |
integer
हर पेज में पुष्टि की संख्या कितनी होनी चाहिए. अगर यह नीति सेट नहीं है, तो सभी दिखाएं.
|
pageToken |
string
अगर इसके बारे में बताया गया हो, तो पुष्टि का अगला पेज दिखाता है.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
JSON के काेड में दिखाना |
{
"verifications": [
{
object (Verification )
}
],
"nextPageToken": string
} |
फ़ील्ड |
verifications[] |
object (Verification )
पुष्टि की सूची.
|
nextPageToken |
string
अगर पुष्टि की संख्या, अनुरोध किए गए पेज साइज़ से ज़्यादा हो जाती है, तो इस फ़ील्ड में टोकन अपने-आप भर जाएगा. इसका मकसद, बाद वाले कॉल पर पुष्टि का अगला पेज फ़ेच करना है. अगर कोई और एट्रिब्यूट नहीं है, तो जवाब में यह फ़ील्ड मौजूद नहीं होगा.
|
अनुमति पाने के लिंक
इनमें से किसी एक OAuth स्कोप की ज़रूरत होती है:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
ज़्यादा जानकारी के लिए, OAuth 2.0 की खास जानकारी देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-10-14 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-10-14 (UTC) को अपडेट किया गया."],[[["Lists location verifications, ordered by creation time, using a GET request."],["Allows for pagination with `pageSize` and `pageToken` query parameters."],["The response includes a list of verifications and a token for retrieving subsequent pages, if applicable."],["Requires specific OAuth scopes for authorization, such as `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage`."]]],["This describes retrieving location verifications via a `GET` request to `https://mybusiness.googleapis.com/v4/{parent=accounts/*/locations/*}/verifications`. Key actions include: specifying the `parent` path parameter for the location and using optional `pageSize` and `pageToken` query parameters for pagination. The request body must be empty. The response contains a list of `verifications` and an optional `nextPageToken` for further pages. Authorization requires OAuth scopes `plus.business.manage` or `business.manage`.\n"]]