Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

Youtube Data API - etags interaction with quota

$
0
0

I have a question in regards to how etags and quota usage interact.

I've been looking into threads that speak on both (for example Youtube API V3 and Etag) and I'm not sure I understand exactly how e-tags interact with Quota Usage.

For example for PlaylistItems.list or Videos.list (consumes 1 quota per call)

  • (1) Will 1 quota always be consumed even if I made a call and the content was cached? (status 304 is received, will that consume quota?)
  • (2) or will 1 quota be consumed only when the etag becomes stale and the resource returned has updated (or when it's the first time obtaining the resource)?

Which of these scenarios would be true? From the thread aforementioned it would look like that scenario (1) is the truth


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>