Method: enterprises.migrationTokens.get
एचटीटीपी अनुरोध
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/migrationTokens/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. उस माइग्रेशन टोकन का नाम जिसे वापस पाना है. फ़ॉर्मैट: enterprises/{enterprise}/migrationTokens/{migrationToken}
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में MigrationToken
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidmanagement
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-01-29 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-01-29 (UTC) को अपडेट किया गया."],[[["Retrieves a migration token for a specific enterprise using a GET request."],["Requires the `name` path parameter specifying the enterprise and migration token."],["An empty request body is necessary, and a successful response returns a MigrationToken object."],["Utilizes the `https://www.googleapis.com/auth/androidmanagement` OAuth scope for authorization."]]],["The core action is retrieving a migration token via a `GET` request to a specific URL. The URL uses gRPC Transcoding syntax and requires a `name` parameter in the path, formatted as `enterprises/{enterprise}/migrationTokens/{migrationToken}`. The request body must be empty. A successful response returns a `MigrationToken` object. This action requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope for authorization. A user can also test this action on the webpage with the \"Try it!\" button.\n"]]