Cloud Tool Results API

डेवलपर टूल से परिणाम प्रकाशित करने और उन तक पहुंचने के लिए एपीआई।

सेवा: टूलपरिणाम.googleapis.com

इस सेवा को कॉल करने के लिए, हम अनुशंसा करते हैं कि आप Google द्वारा प्रदत्त क्लाइंट लाइब्रेरी का उपयोग करें। यदि आपके एप्लिकेशन को इस सेवा को कॉल करने के लिए अपने स्वयं के पुस्तकालयों का उपयोग करने की आवश्यकता है, तो एपीआई अनुरोध करते समय निम्नलिखित जानकारी का उपयोग करें।

खोज दस्तावेज़

डिस्कवरी दस्तावेज़ REST API का वर्णन और उपभोग करने के लिए एक मशीन-पठनीय विनिर्देश है। इसका उपयोग क्लाइंट लाइब्रेरी, आईडीई प्लगइन्स और अन्य टूल बनाने के लिए किया जाता है जो Google एपीआई के साथ इंटरैक्ट करते हैं। एक सेवा एकाधिक खोज दस्तावेज़ प्रदान कर सकती है। यह सेवा निम्नलिखित खोज दस्तावेज़ प्रदान करती है:

सेवा समापन बिंदु

सर्विस एंडपॉइंट एक बेस यूआरएल है जो एपीआई सेवा का नेटवर्क पता निर्दिष्ट करता है। एक सेवा में एकाधिक सेवा समापन बिंदु हो सकते हैं। इस सेवा में निम्नलिखित सेवा समापन बिंदु है और नीचे दिए गए सभी यूआरआई इस सेवा समापन बिंदु से संबंधित हैं:

  • https://toolresults.googleapis.com

बाकी संसाधन: v1beta3.projects

तरीकों
getSettings GET /toolresults/v1beta3/projects/{projectId}/settings
किसी प्रोजेक्ट के लिए टूल परिणाम सेटिंग प्राप्त करता है।
initializeSettings POST /toolresults/v1beta3/projects/{projectId}:initializeSettings
उन सेटिंग्स के लिए संसाधन बनाता है जो अभी तक सेट नहीं किए गए हैं।

बाकी संसाधन: v1beta3.projects.histories

तरीकों
create POST /toolresults/v1beta3/projects/{projectId}/histories
एक इतिहास रचता है.
get GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}
एक इतिहास मिलता है.
list GET /toolresults/v1beta3/projects/{projectId}/histories
किसी दिए गए प्रोजेक्ट के लिए इतिहास सूचीबद्ध करता है।

बाकी संसाधन: v1beta3.projects.histories.executions

तरीकों
create POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions
एक निष्पादन बनाता है.
get GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}
एक निष्पादन मिलता है.
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions
किसी दिए गए इतिहास के लिए निष्पादन की सूची।
patch PATCH /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}
आपूर्ति की गई आंशिक इकाई के साथ मौजूदा निष्पादन को अद्यतन करता है।

बाकी संसाधन: v1beta3.projects.histories.executions.clusters

तरीकों
get GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}
इसकी आईडी द्वारा एकल स्क्रीनशॉट क्लस्टर पुनर्प्राप्त करता है
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters

स्क्रीनशॉट क्लस्टर सूचीबद्ध करता है

निष्पादन के अनुरूप स्क्रीनशॉट क्लस्टर की सूची लौटाता है।

बाकी संसाधन: v1beta3.projects.histories.executions.environments

तरीकों
get GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}
एक माहौल मिलता है.
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments
किसी दिए गए निष्पादन के लिए परिवेशों को सूचीबद्ध करता है।

बाकी संसाधन: v1beta3.projects.histories.executions.steps

तरीकों
accessibilityClusters GET /toolresults/v1beta3/{name=projects/*/histories/*/executions/*/steps/*}:accessibilityClusters

किसी दिए गए चरण के लिए पहुंच-योग्यता क्लस्टरों को सूचीबद्ध करता है

निम्नलिखित में से कोई भी विहित त्रुटि कोड लौटा सकता है:

  • PERMISSION_DENIED - यदि उपयोगकर्ता प्रोजेक्ट पढ़ने के लिए अधिकृत नहीं है
  • INVALID_ARGUMENT - यदि अनुरोध विकृत है
  • FAILED_PRECONDITION - यदि अनुरोध में कोई तर्क अमान्य होता है; उदाहरण के लिए
create POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps
एक कदम बनाता है.
get GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}
एक कदम मिलता है.
getPerfMetricsSummary GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary
एक PerfMetricsसारांश पुनर्प्राप्त करता है।
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps
किसी दिए गए निष्पादन के चरणों को सूचीबद्ध करता है।
patch PATCH /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}
आपूर्ति की गई आंशिक इकाई के साथ मौजूदा चरण को अद्यतन करता है।
publishXunitXmlFiles POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles
किसी मौजूदा चरण में xml फ़ाइलें प्रकाशित करें।

बाकी संसाधन: v1beta3.projects.histories.executions.steps.perfMetricsSummary

तरीकों
create POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary
एक PerfMetricsSummary संसाधन बनाता है।

बाकी संसाधन: v1beta3.projects.histories.executions.steps.perfSampleSeries

तरीकों
create POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries
एक PerfSampleSeries बनाता है।
get GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}
एक PerfSampleSeries प्राप्त करता है।
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries
किसी दिए गए चरण के लिए PerfSampleSeries सूचीबद्ध करता है।

बाकी संसाधन: v1beta3.projects.histories.executions.steps.perfSampleSeries.samples

तरीकों
batchCreate POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate
PerfSamples का एक बैच बनाता है - एक ग्राहक एक बड़े अनुरोध पेलोड को विभाजित करने के लिए इस विधि को बार-बार कॉल के माध्यम से Perf नमूनों के कई बैच सबमिट कर सकता है - डुप्लिकेट और मौजूदा टाइमस्टैम्प प्रविष्टियों को नजरअंदाज कर दिया जाएगा।
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples

किसी दिए गए नमूना श्रृंखला के प्रदर्शन नमूनों को सूचीबद्ध करता है - सूची के परिणाम बढ़ते हुए टाइमस्टैम्प के अनुसार क्रमबद्ध होते हैं - डिफ़ॉल्ट पृष्ठ आकार 500 नमूने है; और अधिकतम आकार 5000 की अनुमति है - प्रतिक्रिया टोकन अंतिम लौटाए गए पर्फ़सैंपल टाइमस्टैम्प को इंगित करता है - जब परिणाम का आकार पृष्ठ आकार से अधिक हो जाता है, तो शेष नमूनों को पृष्ठ सीमा तक वापस करने के लिए पृष्ठ टोकन सहित एक बाद का अनुरोध सबमिट करें

निम्नलिखित में से कोई भी कैनोनिकल त्रुटि कोड लौटा सकता है: - OUT_OF_RANGE - निर्दिष्ट अनुरोध पेज_टोकन वैध सीमा से बाहर है - NOT_FOUND - जिसमें PerfSampleSeries मौजूद नहीं है

बाकी संसाधन: v1beta3.projects.histories.executions.steps.testCases

तरीकों
get GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}
एक चरण के लिए टेस्ट केस का विवरण प्राप्त करता है।
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases
एक चरण से जुड़े परीक्षण मामलों को सूचीबद्ध करता है।

बाकी संसाधन: v1beta3.projects.histories.executions.steps .थंबनेल

तरीकों
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails
किसी चरण से जुड़ी छवियों के थंबनेल सूचीबद्ध करता है।