API để xuất bản và truy cập kết quả từ các công cụ dành cho nhà phát triển.
- Tài nguyên REST: v1beta3.projects
- Tài nguyên REST: v1beta3.projects.histories
- Tài nguyên REST: v1beta3.projects.histories.executions
- Tài nguyên REST: v1beta3.projects.histories.executions.clusters
- Tài nguyên REST: v1beta3.projects.histories.executions.environments
- Tài nguyên REST: v1beta3.projects.histories.executions.steps
- Tài nguyên REST: v1beta3.projects.histories.executions.steps.perfMetricsSummary
- Tài nguyên REST: v1beta3.projects.histories.executions.steps.perfSampleSeries
- Tài nguyên REST: v1beta3.projects.histories.executions.steps.perfSampleSeries.samples
- Tài nguyên REST: v1beta3.projects.histories.executions.steps.testCase
- Tài nguyên REST: v1beta3.projects.histories.executions.steps.thumbnails
Dịch vụ: toolresults.googleapis.com
Để gọi dịch vụ này, chúng tôi khuyên bạn nên sử dụng thư viện ứng dụng khách do Google cung cấp . Nếu ứng dụng của bạn cần sử dụng thư viện của riêng bạn để gọi dịch vụ này, hãy sử dụng thông tin sau khi bạn thực hiện yêu cầu API.
Tài liệu khám phá
Tài liệu Khám phá là một đặc tả mà máy có thể đọc được để mô tả và sử dụng API REST. Nó được sử dụng để xây dựng thư viện máy khách, plugin IDE và các công cụ khác tương tác với API Google. Một dịch vụ có thể cung cấp nhiều tài liệu khám phá. Dịch vụ này cung cấp tài liệu khám phá sau:
Điểm cuối dịch vụ
Điểm cuối dịch vụ là URL cơ sở chỉ định địa chỉ mạng của dịch vụ API. Một dịch vụ có thể có nhiều điểm cuối dịch vụ. Dịch vụ này có điểm cuối dịch vụ sau và tất cả các URI bên dưới đều liên quan đến điểm cuối dịch vụ này:
-
https://toolresults.googleapis.com
Tài nguyên REST: v1beta3.projects
phương pháp | |
---|---|
getSettings | GET /toolresults/v1beta3/projects/{projectId}/settings Nhận cài đặt Kết quả Công cụ cho một dự án. |
initializeSettings | POST /toolresults/v1beta3/projects/{projectId}:initializeSettings Tạo tài nguyên cho các cài đặt chưa được đặt. |
Tài nguyên REST: v1beta3.projects.histories
phương pháp | |
---|---|
create | POST /toolresults/v1beta3/projects/{projectId}/histories Tạo một Lịch sử. |
get | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId} Nhận được một lịch sử. |
list | GET /toolresults/v1beta3/projects/{projectId}/histories Liệt kê lịch sử cho một dự án nhất định. |
Tài nguyên REST: v1beta3.projects.histories.executions
phương pháp | |
---|---|
create | POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions Tạo một Thực thi. |
get | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId} Nhận được một sự thực thi. |
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions Liệt kê các lần thực thi cho một Lịch sử nhất định. |
patch | PATCH /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId} Cập nhật một Thực thi hiện có với thực thể một phần được cung cấp. |
Tài nguyên REST: v1beta3.projects.histories.executions.clusters
phương pháp | |
---|---|
get | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId} Truy xuất một cụm ảnh chụp màn hình theo ID của nó |
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters Liệt kê các cụm ảnh chụp màn hình Trả về danh sách các cụm ảnh chụp màn hình tương ứng với một lần thực thi. |
Tài nguyên REST: v1beta3.projects.histories.executions.environments
phương pháp | |
---|---|
get | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId} Có được một môi trường. |
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments Liệt kê các môi trường cho một lần thực thi nhất định. |
Tài nguyên REST: v1beta3.projects.histories.executions.steps
phương pháp | |
---|---|
accessibilityClusters | GET /toolresults/v1beta3/{name=projects/*/histories/*/executions/*/steps/*}:accessibilityClusters Liệt kê các cụm khả năng truy cập cho một Bước nhất định Có thể trả về bất kỳ mã lỗi chuẩn nào sau đây:
|
create | POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps Tạo một bước. |
get | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId} Được một bước. |
getPerfMetricsSummary | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary Truy xuất PerfMetricsSummary. |
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps Liệt kê các bước cho một lần thực thi nhất định. |
patch | PATCH /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId} Cập nhật Bước hiện có với thực thể một phần được cung cấp. |
publishXunitXmlFiles | POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles Xuất bản tệp xml lên Bước hiện có. |
Tài nguyên REST: v1beta3.projects.histories.executions.steps.perfMetricsSummary
phương pháp | |
---|---|
create | POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary Tạo tài nguyên PerfMetricsSummary. |
Tài nguyên REST: v1beta3.projects.histories.executions.steps.perfSampleSeries
phương pháp | |
---|---|
create | POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries Tạo một PerfSampleSeries. |
get | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId} Nhận một PerfSampleSeries. |
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries Liệt kê PerfSampleSeries cho một Bước nhất định. |
Tài nguyên REST: v1beta3.projects.histories.executions.steps.perfSampleSeries.samples
phương pháp | |
---|---|
batchCreate | POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate Tạo một loạt Mẫu hoàn hảo - khách hàng có thể gửi nhiều lô Mẫu hoàn hảo thông qua các lệnh gọi lặp lại đến phương thức này để phân chia tải trọng yêu cầu lớn - các bản sao và mục nhập dấu thời gian hiện có sẽ bị bỏ qua. |
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples Liệt kê các Mẫu hiệu suất của một Chuỗi mẫu nhất định - Kết quả danh sách được sắp xếp theo dấu thời gian tăng dần - Kích thước trang mặc định là 500 mẫu; và kích thước tối đa được phép là 5000 - Mã thông báo phản hồi cho biết dấu thời gian PerfSample được trả về lần cuối - Khi kích thước kết quả vượt quá kích thước trang, hãy gửi yêu cầu tiếp theo bao gồm mã thông báo trang để trả lại phần còn lại của mẫu đến giới hạn trang Có thể trả về bất kỳ mã lỗi chính tắc nào sau đây: - OUT_OF_RANGE - Trang_token yêu cầu được chỉ định nằm ngoài phạm vi hợp lệ - NOT_FOUND - PerfSampleSeries chứa không tồn tại |
Tài nguyên REST: v1beta3.projects.histories.executions.steps.testCase
phương pháp | |
---|---|
get | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId} Nhận thông tin chi tiết về Trường hợp thử nghiệm cho một Bước. |
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases Liệt kê các trường hợp kiểm thử được đính kèm với một Bước. |
Tài nguyên REST: v1beta3.projects.histories.executions.steps.thumbnails
phương pháp | |
---|---|
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails Liệt kê hình thu nhỏ của hình ảnh được đính kèm với một bước. |