ज़रूरी है. वह खाता जिसके लिए डेटा सोर्स की सूची बनानी है. फ़ॉर्मैट: accounts/{account}
क्वेरी पैरामीटर
पैरामीटर
pageSize
integer
ज़रूरी नहीं. ज़्यादा से ज़्यादा कितने डेटा सोर्स दिखाने हैं. ऐसा हो सकता है कि सेवा इस वैल्यू से कम नतीजे दिखाए. ज़्यादा से ज़्यादा वैल्यू 1,000 हो सकती है. 1,000 से ज़्यादा वैल्यू को 1,000 पर सेट कर दिया जाएगा. अगर कोई वैल्यू नहीं दी जाती है, तो ज़्यादा से ज़्यादा डेटा सोर्स दिखाए जाएंगे.
pageToken
string
ज़रूरी नहीं. पेज टोकन, जो पिछले dataSources.list कॉल से मिला था. अगला पेज देखने के लिए, यह डालें.
पेजेशन करते समय, dataSources.list को दिए गए सभी अन्य पैरामीटर, उस कॉल से मेल खाने चाहिए जिसने पेज टोकन दिया था.
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
dataSources.list तरीके के लिए रिस्पॉन्स मैसेज.
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
[[["समझने में आसान है","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"]],["आखिरी बार 2025-01-23 (UTC) को अपडेट किया गया."],[[["Lists data source configurations for a given Merchant Center account."],["Uses the `GET` method and requires `parent` as a path parameter to specify the account."],["Accepts optional query parameters for pagination: `pageSize` and `pageToken`."],["Returns a list of `DataSource` objects and a `nextPageToken` for subsequent pages, if available."],["Requires authorization with the `https://www.googleapis.com/auth/content` scope."]]],["This document details how to list data sources for a given account using an HTTP GET request. The request URL follows a specific format: `https://merchantapi.googleapis.com/datasources/v1beta/{parent=accounts/*}/dataSources`, where `parent` is the required account identifier. Optional query parameters, `pageSize` (maximum 1000) and `pageToken`, control the number of results and pagination. The request body should be empty. The successful response includes an array of `dataSources` and an optional `nextPageToken` for subsequent pages. The `https://www.googleapis.com/auth/content` OAuth scope is required.\n"]]