Cloud Tool Results API

개발자 도구의 결과를 게시하고 액세스하기 위한 API입니다.

서비스: toolresults.googleapis.com

이 서비스를 호출하려면 Google에서 제공하는 클라이언트 라이브러리를 사용하는 것이 좋습니다. 애플리케이션이 이 서비스를 호출하기 위해 자체 라이브러리를 사용해야 하는 경우 API 요청을 할 때 다음 정보를 사용하십시오.

발견 문서

검색 문서는 REST API를 설명하고 사용하기 위한 기계 판독 가능 사양입니다. 클라이언트 라이브러리, IDE 플러그인 및 Google API와 상호작용하는 기타 도구를 구축하는 데 사용됩니다. 하나의 서비스는 여러 검색 문서를 제공할 수 있습니다. 이 서비스는 다음 검색 문서를 제공합니다.

서비스 엔드포인트

서비스 엔드포인트 는 API 서비스의 네트워크 주소를 지정하는 기본 URL입니다. 하나의 서비스에는 여러 서비스 엔드포인트가 있을 수 있습니다. 이 서비스에는 다음과 같은 서비스 엔드포인트가 있으며 아래의 모든 URI는 이 서비스 엔드포인트에 상대적입니다.

  • https://toolresults.googleapis.com

REST 리소스: v1beta3.projects

행동 양식
getSettings GET /toolresults/v1beta3/projects/{projectId}/settings
프로젝트에 대한 도구 결과 설정을 가져옵니다.
initializeSettings POST /toolresults/v1beta3/projects/{projectId}:initializeSettings
아직 설정되지 않은 설정에 대한 리소스를 생성합니다.

REST 리소스: 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}
ID로 단일 스크린샷 클러스터를 검색합니다.
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters

스크린샷 클러스터 나열

실행에 해당하는 스크린샷 클러스터 목록을 반환합니다.

REST 리소스: 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
PerfMetricsSummary를 검색합니다.
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
PerfSamples 배치를 생성합니다. 클라이언트는 대규모 요청 페이로드를 분할하기 위해 이 메서드에 대한 반복 호출을 통해 여러 Perf 샘플 배치를 제출할 수 있습니다. 중복 항목과 기존 타임스탬프 항목은 무시됩니다.
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
단계에 연결된 테스트 케이스를 나열합니다.

REST 리소스: v1beta3.projects.histories.executions.steps.thumbnails

행동 양식
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails
단계에 첨부된 이미지의 축소판을 나열합니다.