Method: partners.devices.get
एचटीटीपी अनुरोध
GET https://androiddeviceprovisioning.googleapis.com/v1/{name=partners/*/devices/*}
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. 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 और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-07 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-07 (UTC) को अपडेट किया गया."],[[["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"]]