Method: partners.devices.get
درخواست HTTP
GET https://androiddeviceprovisioning.googleapis.com/v1/{name=partners/*/devices/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
مولفه های |
---|
name | string ضروری. نام منبع API دستگاه در قالب partners/[PARTNER_ID]/devices/[DEVICE_ID] . |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی نمونه ای از Device
است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/androidworkprovisioning
برای اطلاعات بیشتر، به نمای کلی OAuth 2.0 مراجعه کنید.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی."],[[["This endpoint retrieves device information using a GET request to a specific URL format."],["The request URL requires a `name` path parameter, which specifies the device's resource name, including the partner and device ID."],["The request body for this operation must be empty, without any data."],["A successful response returns a `Device` object containing the details of the requested device."],["Authorization for this request requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope."]]],["This outlines how to retrieve device information using a GET request to the specified URL: `https://androiddeviceprovisioning.googleapis.com/v1/{name=partners/*/devices/*}`. The `name` path parameter, in the format `partners/[PARTNER_ID]/devices/[DEVICE_ID]`, is mandatory. No request body is needed. A successful request returns a `Device` object in the response body. Authorization requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope. The URL follows gRPC Transcoding syntax.\n"]]