Smart Device Management API
به شرکای سازمانی منتخب اجازه دهید به صورت برنامهریزی به دستگاههای Google و Nest دسترسی، کنترل و مدیریت کنند.
خدمات: smartdevicemanagement.googleapis.com
برای تماس با این سرویس، توصیه می کنیم از کتابخانه های سرویس گیرنده ارائه شده توسط Google استفاده کنید. اگر برنامه شما نیاز به استفاده از کتابخانه های خود برای فراخوانی این سرویس دارد، هنگام درخواست API از اطلاعات زیر استفاده کنید.
سند کشف
Discovery Document یک ویژگی قابل خواندن توسط ماشین برای توصیف و مصرف API های REST است. از آن برای ساخت کتابخانه های سرویس گیرنده، پلاگین های IDE و سایر ابزارهایی که با Google API در تعامل هستند استفاده می شود. یک سرویس ممکن است چندین سند کشف را ارائه دهد. این سرویس سند کشف زیر را ارائه می دهد:
نقطه پایان خدمات
نقطه پایانی سرویس یک URL پایه است که آدرس شبکه یک سرویس API را مشخص می کند. یک سرویس ممکن است چندین نقطه پایانی سرویس داشته باشد. این سرویس دارای نقطه پایانی سرویس زیر است و همه URI های زیر مربوط به این نقطه پایانی سرویس هستند:
-
https://smartdevicemanagement.googleapis.com
مواد و روش ها |
---|
executeCommand | POST /v1/{name=enterprises/*/devices/*}:executeCommand یک فرمان را به دستگاهی که توسط شرکت مدیریت می شود اجرا می کند. |
get | GET /v1/{name=enterprises/*/devices/*} دستگاهی را دریافت می کند که توسط شرکت مدیریت می شود. |
list | GET /v1/{parent=enterprises/*}/devices دستگاه های مدیریت شده توسط شرکت را فهرست می کند. |
مواد و روش ها |
---|
get | GET /v1/{name=enterprises/*/structures/*} یک ساختار مدیریت شده توسط شرکت دریافت می کند. |
list | GET /v1/{parent=enterprises/*}/structures ساختارهای مدیریت شده توسط شرکت را فهرست می کند. |
مواد و روش ها |
---|
get | GET /v1/{name=enterprises/*/structures/*/rooms/*} اتاقی را دریافت می کند که توسط شرکت مدیریت می شود. |
list | GET /v1/{parent=enterprises/*/structures/*}/rooms اتاق های مدیریت شده توسط شرکت را فهرست می کند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی."],[[["The Smart Device Management API enables select enterprise partners to programmatically access, control, and manage Google and Nest devices."],["Developers can utilize the provided REST resources for interacting with devices, structures, and rooms within the enterprise environment."],["The API offers methods for executing commands on devices, retrieving device details, and listing devices, structures, and rooms."],["Google-provided client libraries are recommended for seamless integration with the service."],["A discovery document and service endpoint are available to facilitate interaction with the API."]]],["Enterprise partners can use the `smartdevicemanagement.googleapis.com` service to interact with Google and Nest devices. This involves using REST APIs to manage devices, structures, and rooms. Key actions include: executing commands on devices via `executeCommand`, retrieving device details with `get`, and listing devices via `list`. Additionally, structures and rooms can be accessed and listed using `get` and `list` methods. The service uses a discovery document and a defined service endpoint for interaction.\n"]]