คำขอทั้งหมดที่ส่งไปยัง Google Photos API จะนับรวมในโควต้า เรากำหนดขีดจำกัดเหล่านี้เพื่อปกป้องระบบและผู้ใช้
การเข้าถึง API ต้องใช้ข้อมูลเข้าสู่ระบบไคลเอ็นต์ OAuth จากโปรเจ็กต์นักพัฒนาซอฟต์แวร์ของ Google โปรเจ็กต์นี้ต้องเปิดใช้ Photos API ตามที่อธิบายไว้ในกำหนดค่าแอป
หากต้องการดูปริมาณโควต้าที่ใช้ไปและดูหรือเปลี่ยนแปลงขีดจํากัดการใช้งานสําหรับโปรเจ็กต์ ให้ไปที่หน้าโควต้าในคอนโซล Google API แล้วเลือก Photos Picker API หรือ Photos Library API
เกินขีดจำกัดโควต้า
หากมีคำขอไปยัง Photos API เกินโควต้า API จะแสดงรหัสข้อผิดพลาด 429 และข้อความว่าโปรเจ็กต์มีคำขอเกินโควต้า ดูข้อมูลเพิ่มเติมได้ที่ข้อกำหนดในการให้บริการ
ขอโควต้าเพิ่มเติม
โปรแกรมพาร์ทเนอร์ของ Google Photos มุ่งเน้นที่แอปพลิเคชันสำหรับผู้บริโภคขนาดใหญ่ที่ต้องใช้โควต้าเพิ่มขึ้น หากเชื่อว่าการสมัครของคุณอยู่ในหมวดหมู่นี้ โปรดแสดงความสนใจในโปรแกรมพาร์ทเนอร์
พื้นที่เก็บข้อมูลและคุณภาพรูปภาพ
รายการสื่อทั้งหมดที่อัปโหลดไปยัง Google Photos โดยใช้ API จะจัดเก็บแบบเต็มความละเอียดในคุณภาพต้นฉบับ โดยนับรวมในพื้นที่เก็บข้อมูลของผู้ใช้
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-11-08 UTC"],[[["All requests to Google Photos APIs are subject to daily quotas to protect the system, with 10,000 requests for general API functions and 75,000 for accessing media bytes."],["API access requires OAuth credentials from a Google Developers project with enabled Photos APIs, and usage should align with the Acceptable Use Policy."],["Exceeding quota limits results in a 429 error, prompting the need to reduce request frequency and potentially implement retry mechanisms like exponential backoff."],["Quota usage can be monitored and managed through the Google API Console Quotas page, offering insights into consumption and the option to request quota increases for eligible applications."],["Media uploaded via the API is stored in original quality, impacting user storage, and applications should inform users about potential storage implications for large uploads exceeding 25MB."]]],[]]