Cloud Tool Results API

واجهة برمجة التطبيقات (API) لنشر النتائج والوصول إليها من أدوات المطورين.

الخدمة: toolresults.googleapis.com

للاتصال بهذه الخدمة، نوصي باستخدام مكتبات العملاء التي توفرها Google. إذا كان تطبيقك يحتاج إلى استخدام مكتباتك الخاصة لاستدعاء هذه الخدمة، فاستخدم المعلومات التالية عند تقديم طلبات واجهة برمجة التطبيقات.

وثيقة الاكتشاف

وثيقة الاكتشاف عبارة عن مواصفات يمكن قراءتها آليًا لوصف واجهات برمجة تطبيقات REST واستهلاكها. يتم استخدامه لإنشاء مكتبات العملاء ومكونات IDE الإضافية والأدوات الأخرى التي تتفاعل مع Google APIs. قد توفر خدمة واحدة مستندات اكتشاف متعددة. توفر هذه الخدمة وثيقة الاكتشاف التالية:

نقطة نهاية الخدمة

نقطة نهاية الخدمة هي عنوان URL الأساسي الذي يحدد عنوان الشبكة لخدمة API. قد تحتوي خدمة واحدة على نقاط نهاية خدمة متعددة. تحتوي هذه الخدمة على نقطة نهاية الخدمة التالية وجميع معرفات URI أدناه مرتبطة بنقطة نهاية الخدمة هذه:

  • 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
يسرد التاريخ لمشروع معين.

مورد REST: 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}
يقوم بتحديث التنفيذ الحالي بالكيان الجزئي المقدم.

مورد REST: 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
يسرد البيئات لتنفيذ معين.

مورد REST: 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 إلى خطوة موجودة.

مورد REST: v1beta3.projects.histories.executions.steps.perfMetricsSummary

طُرق
create POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary
إنشاء مورد PerfMetricsSummary.

مورد REST: 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 لخطوة معينة.

مورد REST: v1beta3.projects.histories.executions.steps.perfSampleSeries.samples

طُرق
batchCreate POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate
إنشاء مجموعة من عينات الأداء - يمكن للعميل إرسال دفعات متعددة من عينات الأداء من خلال الاستدعاءات المتكررة لهذه الطريقة من أجل تقسيم حمولة الطلب الكبيرة - سيتم تجاهل التكرارات وإدخالات الطابع الزمني الموجودة.
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples

يسرد عينات الأداء لسلسلة عينات معينة - يتم فرز نتائج القائمة حسب الطوابع الزمنية تصاعديًا - حجم الصفحة الافتراضي هو 500 عينة؛ والحد الأقصى للحجم المسموح به هو 5000 - يشير رمز الاستجابة إلى آخر طابع زمني تم إرجاعه لـ PerfSample - عندما يتجاوز حجم النتائج حجم الصفحة، قم بإرسال طلب لاحق يتضمن رمز الصفحة لإرجاع بقية العينات حتى الحد الأقصى للصفحة

قد يُرجع أيًا من رموز الخطأ الأساسية التالية: - OUT_OF_RANGE - الطلب المحدد page_token خارج النطاق الصالح - NOT_FOUND - سلسلة PerfSampleSeries التي تحتوي عليها غير موجودة

مورد REST: 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.thumbnails

طُرق
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails
يسرد الصور المصغرة للصور المرفقة بالخطوة.