Method: inventory.partners.feeds.status.list
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ดึงข้อมูล Status
ของฟีดผู้ขาย บริการ หรือความพร้อมให้บริการที่อัปโหลดไว้ก่อนหน้านี้หลายรายการโดยผู้รวบรวมข้อมูลที่กำหนด แล้วแสดงผล
คำขอ HTTP
GET https://mapsbooking.googleapis.com/v1alpha/inventory/{name=partners/*/feeds/*}/status
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ชื่อทรัพยากรฟีด ซึ่งมีรูปแบบเป็น
partners/{partner_id}/feeds/merchants
partners/{partner_id}/feeds/services
partners/{partner_id}/feeds/availability
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
pageSize |
integer
จำนวนรายการสูงสุดที่จะแสดง
|
pageToken |
string
ค่า 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
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-24 UTC
[null,null,["อัปเดตล่าสุด 2025-07-24 UTC"],[[["\u003cp\u003eRetrieves the status of multiple merchant, service, or availability feeds uploaded by an aggregator.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering results by feed state and a specified time range.\u003c/p\u003e\n"],["\u003cp\u003eUses a GET request with path and query parameters to specify the feed resource and filtering options.\u003c/p\u003e\n"],["\u003cp\u003eReturns a list of feed statuses with a token for pagination if more results are available.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/mapsbooking\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: inventory.partners.feeds.status.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListStatusResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nRetrieves the [Status](/maps-booking/reference/maps-booking-api/rest/v1alpha/FeedStatus) of multiple previously uploaded merchant, service, or availability feeds by the specified aggregator, and returns them.\n\n### HTTP request\n\n`GET https://mapsbooking.googleapis.com/v1alpha/inventory/{name=partners/*/feeds/*}/status`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The feed resource name, which has the format of - `partners/{partner_id}/feeds/merchants` - `partners/{partner_id}/feeds/services` - `partners/{partner_id}/feeds/availability` |\n\n### Query parameters\n\n| Parameters ||\n|-------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `page``Size` | `integer` The maximum number of items to return. |\n| `page``Token` | `string` The nextPageToken value returned from a previous List request, if any. |\n| `state``Restrict` | `enum (`[State](/maps-booking/reference/maps-booking-api/rest/v1alpha/State)`)` Optional restrict to filter results by feed state. |\n| `time``Range``Restrict` | `object (`[TimeRange](/maps-booking/reference/maps-booking-api/rest/v1alpha/TimeRange)`)` Optional restrict to filter results by upper and lower bound. If startTime is unset, it will default to beginning of unix time. If endTime is unset, it will default to now. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe request to retrieve the [Status](/maps-booking/reference/maps-booking-api/rest/v1alpha/FeedStatus) for multiple feeds uploaded by the aggregator's platform.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"status\": [ { object (/maps-booking/reference/maps-booking-api/rest/v1alpha/FeedStatus) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `status[]` | `object (`[FeedStatus](/maps-booking/reference/maps-booking-api/rest/v1alpha/FeedStatus)`)` Reverse chronological list of statuses for uploaded feeds. The maximum number of items returned is based on the pageSize field in the request. |\n| `next``Page``Token` | `string` Token to retrieve the next page of results. There are no more results in the list if empty. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/mapsbooking`"]]