Method: applications.deviceTierConfigs.create
किसी ऐप्लिकेशन के लिए, डिवाइस टीयर का नया कॉन्फ़िगरेशन बनाता है.
एचटीटीपी अनुरोध
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/deviceTierConfigs
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
packageName |
string
ऐप्लिकेशन का पैकेज नेम.
|
क्वेरी पैरामीटर
पैरामीटर |
allowUnknownDevices |
boolean
क्या सेवा को ऐसे डिवाइस आईडी स्वीकार करने चाहिए जो Play के डिवाइस सूची में मौजूद नहीं हैं.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में DeviceTierConfig
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में DeviceTierConfig
का नया इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidpublisher
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-12-17 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-12-17 (UTC) को अपडेट किया गया."],[[["Creates a new device tier configuration for a specified Android app using an HTTP POST request."],["The request requires the app's package name as a path parameter and allows for optional query parameters like `allowUnknownDevices`."],["Request and response bodies utilize the `DeviceTierConfig` object to define the configuration details."],["Authorization is essential, necessitating the `https://www.googleapis.com/auth/androidpublisher` OAuth scope."]]],["This outlines creating a new device tier configuration for an app using a POST request to a specific URL. The request uses path parameters, specifically the app's `packageName`. It also utilizes a query parameter, `allowUnknownDevices` (boolean), to handle unknown device IDs. The request body must include a `DeviceTierConfig` instance, and upon success, the response body returns the newly created `DeviceTierConfig`. This operation requires `androidpublisher` OAuth scope authorization.\n"]]