# Pipeline

This contains pipeline APIs for files as provided as runtime input during pipeline execution

## Download file from GCS using filePath

 - [GET /pipeline/api/input-file/download-file](https://apidocs.harness.io/pipeline/downloadfileusingfilepath.md): Download file from GCS using filePath

## Returns a file uploaded or filtered based on the fileIdentifier provided for a given nodeExecutionId

 - [GET /pipeline/api/input-file/file/{planExecutionId}](https://apidocs.harness.io/pipeline/pipelinegetfile.md): Returns a file uploaded or filtered based on the fileIdentifier provided for a given nodeExecutionId

## Create/Update Pipeline Annotations

 - [POST /pipeline/api/pipelines/annotations](https://apidocs.harness.io/pipeline/createpipelineexecutionannotations.md): Creates or updates annotations for a pipeline execution. Called by lite-engine after step execution.

## Convert existing pipeline to DAG format

 - [POST /pipeline/api/pipelines/{pipelineIdentifier}/convert-to-dag](https://apidocs.harness.io/pipeline/convertpipelinetodag.md): Converts an existing sequential pipeline to DAG format by adding depends_on fields to stages

## Create a Pipeline

 - [POST /pipeline/api/pipelines/v2](https://apidocs.harness.io/pipeline/postpipelinev2.md): Creates a Pipeline

## Fetch a Pipeline

 - [GET /pipeline/api/pipelines/{pipelineIdentifier}](https://apidocs.harness.io/pipeline/getpipeline.md): Returns a Pipeline by Identifier

## Delete a Pipeline

 - [DELETE /pipeline/api/pipelines/{pipelineIdentifier}](https://apidocs.harness.io/pipeline/deletepipeline.md): Deletes a Pipeline by Identifier

## List Pipelines

 - [POST /pipeline/api/pipelines/list](https://apidocs.harness.io/pipeline/getpipelinelist.md): Returns List of Pipelines in the Given Project

## Fetch Pipeline Summary

 - [GET /pipeline/api/pipelines/summary/{pipelineIdentifier}](https://apidocs.harness.io/pipeline/getpipelinesummary.md): Returns Pipeline Summary by Identifier

## Import and Create Pipeline from Git Repository

 - [POST /pipeline/api/pipelines/import](https://apidocs.harness.io/pipeline/importpipeline.md)

## Update git-metadata in remote pipeline Entity

 - [PUT /pipeline/api/pipelines/{pipelineIdentifier}/update-git-metadata](https://apidocs.harness.io/pipeline/updatepipelinegitdetails.md): Update git-metadata in remote pipeline and returns the identifier of updated pipeline

## Update a Pipeline

 - [PUT /pipeline/api/pipelines/v2/{pipelineIdentifier}](https://apidocs.harness.io/pipeline/updatepipelinev2.md): Updates a Pipeline by Identifier

## Create a Pipeline (deprecated)

 - [POST /pipeline/api/pipelines](https://apidocs.harness.io/pipeline/postpipeline.md): Creates a Pipeline

## Update a Pipeline (deprecated)

 - [PUT /pipeline/api/pipelines/{pipelineIdentifier}](https://apidocs.harness.io/pipeline/updatepipeline.md): Updates a Pipeline by Identifier

## Import and Create Pipeline from Git Repository (deprecated)

 - [POST /pipeline/api/pipelines/import/{pipelineIdentifier}](https://apidocs.harness.io/pipeline/importpipeline_1.md)

