API do publikowania i uzyskiwania dostępu do wyników z narzędzi programistycznych.
- Zasób REST: v1beta3.projects
- Zasób REST: v1beta3.projects.histories
- Zasób REST: v1beta3.projects.histories.executions
- Zasób REST: v1beta3.projects.histories.executions.clusters
- Zasób REST: v1beta3.projects.histories.executions.environments
- Zasób REST: v1beta3.projects.histories.executions.steps
- Zasób REST: v1beta3.projects.histories.executions.steps.perfMetricsSummary
- Zasób REST: v1beta3.projects.histories.executions.steps.perfSampleSeries
- Zasób REST: v1beta3.projects.histories.executions.steps.perfSampleSeries.samples
- Zasób REST: v1beta3.projects.histories.executions.steps.testCases
- Zasób REST: v1beta3.projects.histories.executions.steps.thumbnails
Usługa: Toolresults.googleapis.com
Aby wywołać tę usługę, zalecamy skorzystanie z bibliotek klienckich dostarczonych przez Google. Jeśli Twoja aplikacja musi korzystać z własnych bibliotek do wywoływania tej usługi, podczas wysyłania żądań do interfejsu API użyj poniższych informacji.
Dokument odkrycia
Dokument odkrycia to czytelna maszynowo specyfikacja opisująca i korzystająca z interfejsów API REST. Służy do budowania bibliotek klienckich, wtyczek IDE i innych narzędzi współdziałających z interfejsami API Google. Jedna usługa może udostępniać wiele dokumentów wykrywania. Ta usługa zapewnia następujący dokument odkrycia:
Punkt końcowy usługi
Punkt końcowy usługi to podstawowy adres URL określający adres sieciowy usługi API. Jedna usługa może mieć wiele punktów końcowych usługi. Ta usługa ma następujący punkt końcowy usługi i wszystkie poniższe identyfikatory URI odnoszą się do tego punktu końcowego usługi:
-
https://toolresults.googleapis.com
Zasób REST: v1beta3.projects
Metody | |
---|---|
getSettings | GET /toolresults/v1beta3/projects/{projectId}/settings Pobiera ustawienia wyników narzędzia dla projektu. |
initializeSettings | POST /toolresults/v1beta3/projects/{projectId}:initializeSettings Tworzy zasoby dla ustawień, które nie zostały jeszcze ustawione. |
Zasób REST: v1beta3.projects.histories
Metody | |
---|---|
create | POST /toolresults/v1beta3/projects/{projectId}/histories Tworzy Historię. |
get | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId} Pobiera historię. |
list | GET /toolresults/v1beta3/projects/{projectId}/histories Wyświetla historie dla danego projektu. |
Zasób REST: v1beta3.projects.histories.executions
Metody | |
---|---|
create | POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions Tworzy wykonanie. |
get | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId} Dostaje egzekucję. |
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions Wyświetla listę egzekucji dla danej historii. |
patch | PATCH /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId} Aktualizuje istniejące wykonanie o dostarczoną część częściową. |
Zasób REST: v1beta3.projects.histories.executions.clusters
Metody | |
---|---|
get | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId} Pobiera pojedynczy klaster zrzutów ekranu według jego identyfikatora |
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters Wyświetla listę klastrów zrzutów ekranu Zwraca listę klastrów zrzutów ekranu odpowiadających wykonaniu. |
Zasób REST: v1beta3.projects.histories.executions.environments
Metody | |
---|---|
get | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId} Pobiera środowisko. |
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments Wyświetla listę środowisk dla danego wykonania. |
Zasób REST: v1beta3.projects.histories.executions.steps
Metody | |
---|---|
accessibilityClusters | GET /toolresults/v1beta3/{name=projects/*/histories/*/executions/*/steps/*}:accessibilityClusters Wyświetla listę klastrów dostępności dla danego kroku Może zwrócić dowolny z następujących kanonicznych kodów błędów:
|
create | POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps Tworzy krok. |
get | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId} Dostaje krok. |
getPerfMetricsSummary | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary Pobiera podsumowanie PerfMetrics. |
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps Wyświetla listę kroków dla danego wykonania. |
patch | PATCH /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId} Aktualizuje istniejący krok za pomocą dostarczonej jednostki częściowej. |
publishXunitXmlFiles | POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles Opublikuj pliki XML w istniejącym kroku. |
Zasób REST: v1beta3.projects.histories.executions.steps.perfMetricsSummary
Metody | |
---|---|
create | POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary Tworzy zasób PerfMetricsSummary. |
Zasób REST: v1beta3.projects.histories.executions.steps.perfSampleSeries
Metody | |
---|---|
create | POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries Tworzy PerfSampleSeries. |
get | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId} Pobiera PerfSampleSeries. |
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries Wyświetla listę PerfSampleSeries dla danego kroku. |
Zasób REST: v1beta3.projects.histories.executions.steps.perfSampleSeries.samples
Metody | |
---|---|
batchCreate | POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate Tworzy partię PerfSamples — klient może przesłać wiele partii Perf Samples poprzez wielokrotne wywołania tej metody w celu podzielenia dużego ładunku żądania — duplikaty i istniejące wpisy sygnatur czasowych zostaną zignorowane. |
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples Wyświetla listę próbek wykonania z danej serii próbek - Wyniki listy są sortowane rosnąco według znaczników czasu - Domyślny rozmiar strony to 500 próbek; i maksymalny dozwolony rozmiar 5000 - Token odpowiedzi wskazuje ostatni zwrócony znacznik czasu PerfSample - Gdy rozmiar wyników przekracza rozmiar strony, wyślij kolejne żądanie zawierające token strony, aby zwrócić resztę próbek do limitu stron Może zwrócić dowolny z następujących kanonicznych kodów błędów: - OUT_OF_RANGE - Określone żądanie page_token jest poza prawidłowym zakresem - NOT_FOUND - Zawierająca PerfSampleSeries nie istnieje |
Zasób REST: v1beta3.projects.histories.executions.steps.testCases
Metody | |
---|---|
get | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId} Pobiera szczegóły przypadku testowego dla kroku. |
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases Wyświetla listę przypadków testowych dołączonych do kroku. |
Zasób REST: v1beta3.projects.histories.executions.steps.thumbnails
Metody | |
---|---|
list | GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails Wyświetla miniatury obrazów dołączonych do kroku. |