Cloud Tool Results API

開発者ツールから結果を公開し、アクセスするための API。

サービス: toolsresults.googleapis.com

このサービスを呼び出すには、Google が提供するクライアント ライブラリを使用することをお勧めします。アプリケーションが独自のライブラリを使用してこのサービスを呼び出す必要がある場合は、API リクエストを行うときに次の情報を使用します。

発見文書

Discovery Document は、 REST API を記述および使用するための機械可読仕様です。これは、クライアント ライブラリ、IDE プラグイン、および Google API と対話するその他のツールを構築するために使用されます。 1 つのサービスが複数の検出ドキュメントを提供する場合があります。このサービスは、次の検出ドキュメントを提供します。

サービスエンドポイント

サービス エンドポイントは、API サービスのネットワーク アドレスを指定するベース URL です。 1 つのサービスに複数のサービス エンドポイントがある場合があります。このサービスには次のサービス エンドポイントがあり、以下のすべての 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 に基づいて 1 つのスクリーンショット クラスターを取得します。
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 Samples の複数のバッチを送信できます。重複および既存のタイムスタンプ エントリは無視されます。
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
ステップに添付された画像のサムネイルを一覧表示します。