Pipelines

Download a pipeline's source

Returns the pipeline's source files (its subdirectory inside the org mono-root repo) as a JSON listing with paths rooted at the pipeline. Text files are returned as utf-8, binary files as base64. Responds 409 source_not_ready when the pipeline has no repo yet, and 413 source_too_large for sources past the inline download limit.

get/api/v1/pipelines/{pipelineId}/source

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/pipelines/{pipelineId}/source
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

pipelineIdstring required

Response

The pipeline's source files.

subdirectorystring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.