جزئیات مربوط به اشتراک Google Workspace را دریافت میکند. برای آشنایی با نحوه استفاده از این روش، به «دریافت جزئیات مربوط به اشتراک Google Workspace» مراجعه کنید.
درخواست HTTP
GET https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}
این URL از سینتکس Transcoding در gRPC استفاده میکند.
پارامترهای مسیر
| پارامترها | |
|---|---|
name | الزامی. نام منبع اشتراک. قالب: |
درخواست بدنه
بدنه درخواست باید خالی باشد.
بدنه پاسخ
در صورت موفقیت، بدنه پاسخ شامل نمونهای از Subscription است.
دامنههای مجوز
به یکی از حوزههای OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/chat.bot -
https://www.googleapis.com/auth/chat.spaces -
https://www.googleapis.com/auth/chat.spaces.readonly -
https://www.googleapis.com/auth/chat.messages -
https://www.googleapis.com/auth/chat.messages.readonly -
https://www.googleapis.com/auth/chat.messages.reactions -
https://www.googleapis.com/auth/chat.messages.reactions.readonly -
https://www.googleapis.com/auth/chat.memberships -
https://www.googleapis.com/auth/chat.memberships.readonly -
https://www.googleapis.com/auth/meetings.space.created -
https://www.googleapis.com/auth/meetings.space.readonly -
https://www.googleapis.com/auth/drive -
https://www.googleapis.com/auth/drive.file -
https://www.googleapis.com/auth/drive.metadata -
https://www.googleapis.com/auth/drive.metadata.readonly -
https://www.googleapis.com/auth/drive.readonly
برای اطلاعات بیشتر، به راهنمای مجوز مراجعه کنید.