Cloud Tool Results API

API เพื่อเผยแพร่และเข้าถึงผลลัพธ์จากเครื่องมือสำหรับนักพัฒนา

บริการ: toolresults.googleapis.com

หากต้องการเรียกใช้บริการนี้ เราขอแนะนำให้คุณใช้ ไลบรารีไคลเอ็นต์ ที่ Google มอบให้ หากแอปพลิเคชันของคุณจำเป็นต้องใช้ไลบรารีของคุณเองเพื่อเรียกใช้บริการนี้ ให้ใช้ข้อมูลต่อไปนี้เมื่อคุณส่งคำขอ API

เอกสารการค้นพบ

เอกสารการค้นพบ เป็นข้อกำหนดที่เครื่องอ่านได้สำหรับการอธิบายและใช้ REST API ใช้เพื่อสร้างไลบรารีไคลเอ็นต์ ปลั๊กอิน IDE และเครื่องมืออื่นๆ ที่โต้ตอบกับ Google API บริการหนึ่งอาจมีเอกสารการค้นพบหลายฉบับ บริการนี้มีเอกสารการค้นพบดังต่อไปนี้:

จุดสิ้นสุดการบริการ

จุดสิ้นสุดของบริการ คือ 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
แสดงรายการประวัติสำหรับโครงการที่กำหนด

ทรัพยากรส่วนที่เหลือ: 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}
ดึงข้อมูลคลัสเตอร์ภาพหน้าจอเดียวตาม ID ของมัน
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_PRCONDITION - หากอาร์กิวเมนต์ในคำขอเกิดขึ้นไม่ถูกต้อง เช่น
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

รีซอร์ส 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
สร้างชุด PerfSamples - ลูกค้าสามารถส่งชุด Perf Samples หลายชุดผ่านการเรียกเมธอดนี้ซ้ำๆ เพื่อแยกเพย์โหลดคำขอจำนวนมาก - รายการซ้ำและรายการประทับเวลาที่มีอยู่จะถูกละเว้น
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples

แสดงรายการตัวอย่างประสิทธิภาพของชุดตัวอย่างที่กำหนด - ผลลัพธ์ของรายการจะเรียงลำดับตามการประทับเวลาจากน้อยไปหามาก - ขนาดหน้าเริ่มต้นคือ 500 ตัวอย่าง; และขนาดสูงสุดที่อนุญาตคือ 5,000 - โทเค็นการตอบสนองระบุการประทับเวลา PerfSample ที่ส่งคืนครั้งล่าสุด - เมื่อขนาดผลลัพธ์เกินขนาดหน้า ให้ส่งคำขอในภายหลังรวมถึงโทเค็นของหน้าเพื่อส่งคืนตัวอย่างที่เหลือจนถึงขีดจำกัดหน้า

อาจส่งคืนรหัสข้อผิดพลาดตามรูปแบบบัญญัติต่อไปนี้: - OUT_OF_RANGE - คำขอ page_token ที่ระบุอยู่นอกช่วงที่ถูกต้อง - NOT_FOUND - ไม่มี PerfSampleSeries ที่มี 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.thumbnails

วิธีการ
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails
แสดงรายการภาพขนาดย่อของรูปภาพที่แนบมากับขั้นตอน