ออบเจ็กต์
SourcePushSync
ฟิลด์
sync_numberintegerจำเป็นtypestringจำเป็นค่าที่ใช้ได้:
initialincrementalstatusstringจำเป็นค่าที่ใช้ได้:
opencompletecomplete_incrementalfailedexpiredopened_atstring (date-time)จำเป็นexpires_atstring (date-time)จำเป็นclosed_atstring (date-time) | nullreasonstringerror_detailsstringpushedintegerจำเป็นจำนวนเอกสารที่ส่งในการซิงก์ (รวมถึงที่ไม่เปลี่ยนแปลง)
removedintegerจำเป็นจำนวนเอกสารที่เก็บเข้าคลังจากการตรวจเทียบแบบเต็ม
ใช้โดย
- POST
/v1/push/sources/{source_id}/syncsเปิดการซิงก์ - GET
/v1/push/sources/{source_id}/syncs/{sync_number}ดึงการซิงก์ - POST
/v1/push/sources/{source_id}/syncs/{sync_number}/closeปิดการซิงก์