इस तरीके का एक सामान्य इस्तेमाल है, जिसके बारे में नीचे बताया गया है. ब्यौरे के नीचे दिए गए बटन, एपीआई एक्सप्लोरर को सैंपल वैल्यू से दिखाते हैं या फ़ुलस्क्रीन एपीआई एक्सप्लोरर को खोलकर, उन वैल्यू का इस्तेमाल करने वाले कोड सैंपल दिखाते हैं. वैल्यू बदलने पर, कोड सैंपल भी डाइनैमिक तौर पर अपडेट हो जाते हैं.

This example adds a reply to an existing comment. The snippet.parentId property identifies the top-level comment that you are replying to. That property's value specifies a comment thread ID. To add a top-level comment instead of a reply, use the commentThreads.insert method.