หน้านี้แสดงตัวอย่างการใช้งาน API บริการทางเว็บของ VersionHistory
แพลตฟอร์ม
แสดงแพลตฟอร์มทั้งหมด:
GET https://versionhistory.googleapis.com/v1/chrome/platforms/
แสดงชุดค่าผสมของแพลตฟอร์มและช่องทั้งหมด
GET https://versionhistory.googleapis.com/v1/chrome/platforms/all/channels
ระบุเวอร์ชันทั้งหมดสำหรับแพลตฟอร์มและช่องทางทั้งหมด
GET https://versionhistory.googleapis.com/v1/chrome/platforms/all/channels/all/versions
เวอร์ชัน
แสดงรายการเวอร์ชันทั้งหมดสำหรับ Windows ในช่อง stable
:
GET https://versionhistory.googleapis.com/v1/chrome/platforms/win/channels/stable/versions
แสดงรายการเวอร์ชันทั้งหมดสำหรับ Windows ในช่องทาง stable
ตามลำดับเวอร์ชันจากน้อยไปมากตามเวอร์ชัน
GET https://versionhistory.googleapis.com/v1/chrome/platforms/win/channels/stable/versions?order_by=version%20asc
แสดงรายการเวอร์ชันทั้งหมดสำหรับ Windows ใน stable
, beta
และ dev
ช่อง
GET https://versionhistory.googleapis.com/v1/chrome/platforms/win/channels/all/versions/?filter=channel<=dev
เผยแพร่
แสดงรายการรุ่นทั้งหมดสำหรับ Windows ในช่อง stable
:
GET https://versionhistory.googleapis.com/v1/chrome/platforms/win/channels/stable/versions/all/releases
แสดงรายการรุ่นทั้งหมดสำหรับเวอร์ชัน 85.0.4183.83
:
GET https://versionhistory.googleapis.com/v1/chrome/platforms/all/channels/all/versions/85.0.4183.83/releases
แสดงรายการรุ่นทั้งหมดสำหรับ Windows ที่ให้บริการอยู่ในขณะนี้ ดังนี้
GET https://versionhistory.googleapis.com/v1/chrome/platforms/win/channels/all/versions/all/releases?filter=endtime=1970-01-01T00:00:00Z
แสดงรายการรุ่นทั้งหมดสำหรับ Windows ในช่องทาง stable
ที่มีการเปิดตัวถึง 100% ดังนี้
GET https://versionhistory.googleapis.com/v1/chrome/platforms/win/channels/stable/versions/all/releases?filter=fraction=1