Method: channels.stop
הפסקת הצפייה במקורות מידע דרך הערוץ הזה.
בקשת HTTP
POST https://www.googleapis.com/drive/v2/channels/stop
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
גוף הבקשה
גוף הבקשה מכיל מופע של 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 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-04 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-04 (שעון UTC)."],[[["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"]]