Method: inventory.partners.feeds.status.list
擷取並傳回由指定集結網站先前上傳的多個商家、服務或供應情形動態饋給的 Status
。
HTTP 要求
GET https://mapsbooking.googleapis.com/v1alpha/inventory/{name=partners/*/feeds/*}/status
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
name |
string
此為動態饋給資源名稱,格式如下
partners/{partner_id}/feeds/merchants
partners/{partner_id}/feeds/services
partners/{partner_id}/feeds/availability
|
查詢參數
參數 |
pageSize |
integer
傳回的項目數量上限。
|
pageToken |
string
先前的 List 要求 (如果有的話) 傳回的 nextPageToken 值。
|
stateRestrict |
enum (State )
選用的限制條件,可根據動態饋給狀態篩選結果。
|
timeRangeRestrict |
object (TimeRange )
選用的限制條件,可根據範圍上限或下限篩選結果。若沒有設定 startTime,系統會將這個時間預設為 Unix 時間一開始時;如果未設定 endTime,系統會將該時間預設為現在。
|
回應主體
要求擷取由集結網站平台上傳的多個動態饋給的 Status
。
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"status": [
{
object (FeedStatus )
}
],
"nextPageToken": string
} |
欄位 |
status[] |
object (FeedStatus )
已上傳的動態饋給狀態清單,依時間前後反向排序。傳回項目的數量上限取決於要求中的 pageSize 欄位。
|
nextPageToken |
string
用於擷取下一頁結果的符記。如果此欄位留白,清單中不會有其他結果。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/mapsbooking
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-22 (世界標準時間)。
[null,null,["上次更新時間:2024-11-22 (世界標準時間)。"],[[["Retrieves the status of multiple merchant, service, or availability feeds uploaded by an aggregator."],["Allows filtering results by feed state and a specified time range."],["Uses a GET request with path and query parameters to specify the feed resource and filtering options."],["Returns a list of feed statuses with a token for pagination if more results are available."],["Requires the `https://www.googleapis.com/auth/mapsbooking` OAuth scope for authorization."]]],[]]