हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
OmniLab एटीएस एपीआई
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
OmniLab ATS, टेस्ट रन शेड्यूल करने, प्रोग्रेस की पुष्टि करने वगैरह के लिए एपीआई उपलब्ध कराता है. इनका इस्तेमाल करके, Test Station को अपने वर्कफ़्लो और सेवाओं में इंटिग्रेट किया जा सकता है.
API संदर्भ
OmniLab ATS इंटरफ़ेस, RESTफ़ुल है. यह संसाधन-ओरिएंटेड यूआरएल का इस्तेमाल करता है और जेएसओएन कोड में बदले गए डेटा को मैनेज करता है.
R12 वर्शन में, Google APIs Explorer की सुविधा जोड़ी गई है. इसमें एपीआई एंडपॉइंट के साथ-साथ, उनके पैरामीटर और जवाबों का दस्तावेज़ होता है. एपीआई आज़माने के लिए, Google APIs Explorer का इस्तेमाल किया जा सकता है.
पहली इमेज. Google APIs Explorer से लिंक करना
दूसरी इमेज. Google APIs Explorer, जिसमें OpenAPI स्पेसिफ़िकेशन को हाइलाइट किया गया है
क्लाइंट जनरेट करना
Google APIs Explorer में मौजूद OpenAPI स्पेसिफ़िकेशन से, OmniLab ATS क्लाइंट जनरेट किए जा सकते हैं. यह स्पेसिफ़िकेशन डिफ़ॉल्ट रूप से http://localhost:8000/_ah/api_docs/api.json
पर मौजूद होता है.
OpenAPI Generator टूल डाउनलोड करें.
बताई गई प्रोग्रामिंग भाषा में क्लाइंट जनरेट करने के लिए, यह कमांड चलाएं.
java -jar openapi-generator-cli.jar generate \
--input-spec http://localhost:8000/_ah/api_docs/api.json \
--generator-name LANGUAGE \
--output OUTPUT_DIRECTORY
ज़्यादा जानकारी के लिए, OpenAPI Generator का दस्तावेज़ देखें.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# OmniLab ATS API\n\nOmniLab ATS offers APIs to schedule test runs, verify progress, and more. You\ncan use them to integrate Test Station into your workflows and services.\n\nAPI reference\n-------------\n\nThe OmniLab ATS interface is RESTful, uses resource-oriented URLs, and handles\nJSON-encoded data.\n\nVersion R12 introduces a Google APIs Explorer that documents the API endpoints,\nincluding their parameters and responses. You can use the Google APIs Explorer\nto try APIs.\n\n**Figure 1.** Link to the Google APIs Explorer\n\n**Figure 2.** Google APIs Explorer with OpenAPI specification highlighted\n\nGenerate a client\n-----------------\n\nYou can generate OmniLab ATS clients from the OpenAPI specification located in\nthe Google APIs Explorer (at `http://localhost:8000/_ah/api_docs/api.json` by\ndefault).\n\n1. Download the [OpenAPI Generator tool](https://openapi-generator.tech/docs/installation#jar).\n\n2. Run the following command to generate a client in the specified programming\n language.\n\n```\njava -jar openapi-generator-cli.jar generate \\\n --input-spec http://localhost:8000/_ah/api_docs/api.json \\\n --generator-name LANGUAGE \\\n --output OUTPUT_DIRECTORY\n```\n\nSee the [OpenAPI Generator documentation](https://openapi-generator.tech/docs/usage)\nfor more information."]]