Pipelines /
Get pipeline
Get details about a pipeline
Required permission
Project > Pipelines > General > Read
Path parameters
projectId
string requiredID of the projectpipelineId
string requiredID of the pipeline
Response body
- {object}Response object.
data
{object} requiredResult data.name
(multiple options: oneOf) requiredThe name of the pipeline.- stringThe name of the pipeline.min length3max length39pattern^[a-zA-Z]((-|\s)?[a-zA-Z0-9]+((-|\s)[a-zA-Z0-9]+)*)?$
- stringA string containing one or more references that resolve to the name of the pipeline.pattern.*\${.*}.*
description
(multiple options: oneOf)A description of the pipeline.- stringA description of the pipeline.max length200pattern^[a-zA-Z0-9.,?\s\\/'"()[\];`%^&*\-_:!]+$
- stringA string containing one or more references that resolve to a description of the pipeline.pattern.*\${.*}.*
preview
{object}stages
[array]nfObjects
[array]A list of services, jobs and addons to include in the pipeline.- {object}
id
(multiple options: oneOf) requiredThe ID of the service, job or addon to include in the pipeline.- stringThe ID of the service, job or addon to include in the pipeline.pattern^[A-Za-z0-9-]+$
- stringA string containing one or more references that resolve to the ID of the service, job or addon to include in the pipeline.pattern.*\${.*}.*
type
string requiredThe type of the resource to include in the pipeline.one ofservice, job, addonstage
string requiredThe stage in the pipeline to include the resource.one ofDevelopment, Staging, Production
OR
OR
OR
API
CLI
JS Client
GET /v1/projects/{projectId}/pipelines/{pipelineId}
Example response
200 OK
Details about a pipeline.
JSON
{
"data": {
"name": "example-pipeline",
"nfObjects": [
{
"id": "example-service",
"type": "service",
"stage": "Production"
}
]
}
}