Method: channels.stop
تماشای منابع از طریق این کانال را متوقف می کند.
درخواست HTTP
POST https://www.googleapis.com/drive/v2/channels/stop
URL از دستور GRPC Transcoding استفاده می کند.
درخواست بدن
بدنه درخواست حاوی نمونهای از Channel
است.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ خالی است.
محدوده مجوز
به یکی از حوزه های OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/docs
-
https://www.googleapis.com/auth/drive
-
https://www.googleapis.com/auth/drive.appdata
-
https://www.googleapis.com/auth/drive.apps.readonly
-
https://www.googleapis.com/auth/drive.file
-
https://www.googleapis.com/auth/drive.meet.readonly
-
https://www.googleapis.com/auth/drive.metadata
-
https://www.googleapis.com/auth/drive.metadata.readonly
-
https://www.googleapis.com/auth/drive.photos.readonly
-
https://www.googleapis.com/auth/drive.readonly
برخی از دامنه ها محدود هستند و برای استفاده از برنامه شما به ارزیابی امنیتی نیاز دارند. برای اطلاعات بیشتر، به راهنمای مجوز مراجعه کنید.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی."],[[["Sends a POST request to `https://www.googleapis.com/drive/v2/channels/stop` to stop watching resources."],["The request body should contain a Channel object to specify the channel to stop."],["A successful request results in an empty response body."],["Requires authorization with one of the listed OAuth scopes, including `https://www.googleapis.com/auth/drive` or others with varying levels of access to Google Drive resources."]]],["To stop watching resources, a `POST` request is sent to `https://www.googleapis.com/drive/v2/channels/stop`. The request body must contain a `Channel` instance. A successful operation results in an empty response body. Authorization requires one of several specified OAuth scopes, including `https://www.googleapis.com/auth/drive` and others, with some requiring a security assessment. The URL employs gRPC Transcoding syntax.\n"]]