Method: customers.devices.get
इससे किसी डिवाइस की जानकारी ली जाती है.
एचटीटीपी अनुरोध
GET https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/devices/*}
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. पाने के लिए डिवाइस. customers/[CUSTOMER_ID]/devices/[DEVICE_ID] फ़ॉर्मैट में एपीआई संसाधन का नाम.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Device
का एक इंस्टेंस शामिल किया जाता है.
अनुमति पाने के लिंक
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidworkzerotouchemm
ज़्यादा जानकारी के लिए, OAuth 2.0 की खास जानकारी देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-07 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-07 (UTC) को अपडेट किया गया."],[[["This endpoint retrieves detailed information about a specific device using its resource name."],["The request is made via a `GET` HTTP request to a URL following gRPC Transcoding syntax, with the device's identifier in the path."],["The request body must be empty, while a successful response will contain device details as an instance of the `Device` resource."],["The `name` path parameter is required and must follow the format `customers/[CUSTOMER_ID]/devices/[DEVICE_ID]`."],["Accessing this endpoint requires OAuth 2.0 authorization with the scope `https://www.googleapis.com/auth/androidworkzerotouchemm`."]]],["A `GET` request to `https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/devices/*}` retrieves device details. The `name` path parameter, a string in the format `customers/[CUSTOMER_ID]/devices/[DEVICE_ID]`, is mandatory. The request body must be empty. Upon success, the response body returns a `Device` instance. Authorization requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope. The url uses gRPC Transcoding.\n"]]