--- title: "パイプラインの照会" slug: "devtools-sourcepipeline-projectdetail" updated: 2026-09-17T09:57:53Z published: 2026-09-17T09:57:53Z canonical: "api.ncloud-docs.com/devtools-sourcepipeline-projectdetail" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # パイプラインの照会 Classic/VPC環境で利用できます。 パイプラインの詳細情報を照会します。 ## リクエスト リクエスト形式を説明します。リクエスト形式は次の通りです。 | メソッド | URI | | --- | --- | | GET | /api/v1/project/{projectId} | ### リクエストヘッダ SourcePipeline APIで共通して使用されるヘッダの詳細は、[SourcePipelineのリクエストヘッダ](/docs/ja/devtools-sourcepipeline#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)をご参照ください。 ### リクエストパスパラメータ リクエストパスパラメータの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `projectId` | String | Required | パイプライン ID - [パイプラインリストの照会](/docs/ja/devtools-sourcepipeline-projectlist)を参照 | ### リクエスト例 リクエストのサンプルコードは次の通りです。 ``` curl --location --request GET 'https://vpcsourcepipeline.apigw.ntruss.com/api/v1/project/2***' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## レスポンス レスポンス形式を説明します。 ### レスポンスボディ レスポンスボディの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `result` | Object | - | レスポンス結果 | | `result.id` | Number | - | パイプライン ID | | `result.name` | String | - | パイプライン名 | | `result.description` | String | - | パイプラインの説明 | | `result.tasks` | Array | - | タスクリスト: [tasks](/docs/ja/devtools-sourcepipeline-projectdetail#tasks) | | `result.trigger` | Object | - | トリガーの設定 | | `result.trigger.repository` | Array | - | Pushトリガーの設定: [repository](/docs/ja/devtools-sourcepipeline-projectdetail#repository) | | `result.trigger.schedule` | Array | - | 予約トリガーの設定: [schedule](/docs/ja/devtools-sourcepipeline-projectdetail#schedule) | | `result.trigger.sourcepipeline` | Array | - | パイプライントリガーの設定: [sourcepipeline](/docs/ja/devtools-sourcepipeline-projectdetail#sourcepipeline) | #### `tasks` `tasks`の説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `id` | Number | - | タスク ID | | `name` | String | - | タスク名 | | `type` | String | - | タスクタイプ - `SourceBuild` \| `SourceDeploy` | | `linkedTasks` | Array | - | 先行タスクリスト | | `config` | Object | - | タスク設定 | | `config.projectId` | Number | - | タスクプロジェクト ID | | `config.stageId` | Number | - | デプロイステージ ID - `type`が`SourceDeploy`の場合、表示 | | `config.scenarioId` | Number | - | デプロイシナリオ ID - `type`が`SourceDeploy`の場合、表示 | | `config.target` | Object | - | 接続情報 | | `config.target.type` | String | - | 接続タイプ - `SourceCommit` \| `GitHub` \| `Bitbucket` \| `Github Enterprise Server` \| `SourceBuild` \| `ObjectStorage` \| `KubernetesService` | | `config.target.name` | String | - | 接続プロジェクト名 - `type`が`SourceBuild`の場合、表示 | | `config.target.info` | Object | - | 詳細な接続情報 | | `config.target.info.repository` | String | - | リポジトリ名 - `type`が`SourceBuild`の場合、表示 | | `config.target.info.workspace` | Object | - | Bitbucketワークスペース情報 - `config.target.type`が`Bitbucket`の場合、下位情報を含めて表示 | | `config.target.info.workspace.id` | String | - | Bitbucketワークスペース ID | | `config.target.info.workspace.name` | String | - | Bitbucketワークスペース名 | | `config.target.info.branch` | String | - | ブランチ名 - `type`が`SourceBuild`の場合、表示 | | `config.target.info.authType` | String | - | Github Enterprise Serverログインタイプ - `config.target.type`が`Github Enterprise Server`の場合、表示 | | `config.target.info.url` | String | - | Gitリポジトリ URL - `config.target.type`が`Github Enterprise Server`で、`config.target.info.authType`が`ssh`の場合、表示 | | `config.target.info.serverUrl` | String | - | サーバ URL - `config.target.type`が`Github Enterprise Server`で、`config.target.info.authType`が`OAuth`、`Personal Access Token`、`Username/Password`の場合、表示 | | `config.target.info.owner` | String | - | Github Enterprise Serverの所有者 - `config.target.type`が`Github Enterprise Server`の場合、表示 | | `config.target.info.projectName` | String | - | ビルドプロジェクト名 - `config.target.type`が`SourceBuild`の場合、表示 | | `config.target.info.file` | String | - | Object Storage内のファイルの保存場所 - `config.target.type`が`ObjectStorage`の場合、表示 | | `config.target.info.storageType` | String | - | マニフェストファイルの保存場所 - `config.target.type`が`KubernetesService`の場合、表示 | | `config.target.info.repository` | String | - | マニフェストファイルの保存先のリポジトリ - `config.target.info.storageType`が`SourceCommit`の場合、表示 | | `config.target.info.branch` | String | - | マニフェストファイルの保存先のリポジトリのブランチ - `config.target.info.storageType`が`SourceCommit`の場合、表示 | | `config.target.info.manifest` | String | - | マニフェストファイル - `config.target.type`が`KubernetesService`の場合、表示 | | `config.target.info.fullManifest` | String | - | マニフェストファイルリスト - `config.target.type`が`KubernetesService`の場合、表示 | #### `repository` `repository`の説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `type` | String | - | リポジトリの種類 - `sourcecommit`: SourceCommit (有効値) | | `name` | String | - | リポジトリ名 | | `branch` | String | - | ブランチ名 | #### `schedule` `schedule`の説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `day` | Array | - | 予約実行曜日リスト - `MON` \| `TUE` \| `WED` \| `THU` \| `FRI` \| `SAT` \| `SUN` | | `time` | String | - | 予約実行時間 | | `timeZone` | String | - | 予約トリガーのタイムゾーン | | `scheduleOnlyWithChange` | Boolean | - | SourceCommit、SourcePipeline変更時、実行するかどうか - `true` \| `false` - `true`: 実行 - `false`: 実行しない | #### `sourcepipeline` `sourcepipeline`の説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `id` | Number | - | パイプライン ID | | `name` | String | - | パイプライン名 | ### レスポンスステータスコード SourcePipeline APIで共通して使用されるレスポンスステータスコードの詳細は、[SourcePipelineのレスポンスステータスコード](/docs/ja/devtools-sourcepipeline#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)をご参照ください。 ### レスポンス例 レスポンスのサンプルコードは次の通りです。 ``` { "result": { "id": 2***, "name": "pipeline1", "description": "pipeline 1", "tasks": [ { "id": 6***, "name": "task-build", "type": "SourceBuild", "linkedTasks": [], "config": { "projectId": 20***, "target": { "type": "SourceCommit", "name": "build1", "info": { "repository": "rep1", "branch": "master" } } } }, { "id": 6***, "name": "task-deploy", "type": "SourceDeploy", "linkedTasks": [ "task-build" ], "config": { "projectId": 2***, "stageId": 3***, "scenarioId": 2***, "target": { "type": "SourceBuild", "info": { "projectName": "build1" } } } } ], "trigger": { "repository": [ { "type": "sourcecommit", "name": "rep1", "branch": "master" } ], "schedule": [], "sourcepipeline": [] } } } ```