Bắt buộc. Tài khoản cần liệt kê nguồn dữ liệu. Định dạng accounts/{account}
Tham số truy vấn
Thông số
pageSize
integer
Không bắt buộc. Số lượng nguồn dữ liệu tối đa cần trả về. Dịch vụ có thể trả về ít hơn giá trị này. Giá trị tối đa là 1000; các giá trị trên 1000 sẽ được chuyển đổi thành 1000. Nếu không chỉ định, hệ thống sẽ trả về số lượng nguồn dữ liệu tối đa.
pageToken
string
Không bắt buộc. Mã thông báo trang, nhận được từ lệnh gọi dataSources.list trước đó. Cung cấp giá trị này để truy xuất trang tiếp theo.
Khi phân trang, tất cả các tham số khác được cung cấp cho dataSources.list phải khớp với lệnh gọi đã cung cấp mã thông báo trang.
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Thông báo phản hồi cho phương thức dataSources.list.
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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"]]