নীচের তালিকাটি এই পদ্ধতির জন্য সাধারণ ব্যবহারের ক্ষেত্রে দেখায়। একটি ব্যবহারের ক্ষেত্রে তার বিবরণ দেখতে, অথবা APIs এক্সপ্লোরারে নমুনা প্যারামিটার মান লোড করতে একটি ব্যবহারের ক্ষেত্রে ক্লিক করুন৷ এক্সপ্লোরারে প্রবেশ করা প্যারামিটার মানগুলিকে প্রতিফলিত করতে গতিশীলভাবে আপডেট হওয়া কোড নমুনাগুলি দেখতে আপনি পূর্ণস্ক্রীন APIs এক্সপ্লোরার খুলতে পারেন৷
নীচের টেবিলটি এই পদ্ধতির জন্য সাধারণ ব্যবহারের ক্ষেত্রে দেখায়। আপনি APIs এক্সপ্লোরারে নমুনা প্যারামিটার মান লোড করতে একটি ব্যবহারের ক্ষেত্রের নামের উপর ক্লিক করতে পারেন। অথবা আপনি একটি ব্যবহারের ক্ষেত্রের নামের নীচে কোড আইকনে ক্লিক করে পূর্ণস্ক্রীন APIs এক্সপ্লোরারে একটি ব্যবহারের ক্ষেত্রে কোড নমুনা দেখতে পারেন৷ ফুলস্ক্রিন UI-তে, আপনি প্যারামিটার এবং সম্পত্তির মান আপডেট করতে পারেন এবং কোড নমুনাগুলি আপনার প্রবেশ করা মানগুলিকে প্রতিফলিত করতে গতিশীলভাবে আপডেট হবে।
এই পদ্ধতির একটি সাধারণ ব্যবহারের ক্ষেত্রে রয়েছে, যা নীচে বর্ণিত হয়েছে। বর্ণনার নীচের বোতামগুলি নমুনা মান সহ APIs এক্সপ্লোরারকে তৈরি করে বা সেই মানগুলি ব্যবহার করে এমন কোড নমুনাগুলি দেখানোর জন্য পূর্ণস্ক্রীন APIs এক্সপ্লোরার খুলুন৷ আপনি যদি মান পরিবর্তন করেন তবে কোড নমুনাগুলিও গতিশীলভাবে আপডেট হয়।
Use cases | |
---|---|
list (by channel ID) | This example retrieves a list of channels that the specified channel subscribes to. In this example, the API response lists channels to which the GoogleDevelopers channel subscribes. |
list (my subscriptions) | This example uses the mine parameter to retrieve a list of channels that subscribe to the authenticated user's channel. |
check whether a subscription exists | This example determines whether the user authorizing the API request subscribes to the channel that the forChannelId parameter identifies. To check whether another channel (instead of the authorizing user's channel) subscribes to the specified channel, remove the mine parameter from this request and add the channelId parameter instead.In this example, the API response contains one item if you subscribe to the GoogleDevelopers channel. Otherwise, the request does not return any items. |