Pipelines /
Get pipeline
Required permission
Project > Pipelines > General > Read
Path parameters
projectId
string requiredID of the project
pipelineId
string requiredID of the pipeline
Response body
- {object}
Response object.
data
{object} requiredResult data.
name
(multiple options: oneOf) requiredThe name of the pipeline.
- string
The name of the pipeline.
min length3max length39pattern^[a-zA-Z]((-|\s)?[a-zA-Z0-9]+((-|\s)[a-zA-Z0-9]+)*)?$ - string
A string containing one or more references that resolve to the name of the pipeline.
pattern.*\${.*}.* description
(multiple options: oneOf)A description of the pipeline.
- string
A description of the pipeline.
max length200pattern^[a-zA-Z0-9.,?\s\\/'"()[\];`%^&*\-_:!]+$ - string
A string containing one or more references that resolve to a description of the pipeline.
pattern.*\${.*}.* 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.
- string
The ID of the service, job or addon to include in the pipeline.
pattern^[A-Za-z0-9-]+$ - string
A 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
GET /v1/projects/{projectId}/pipelines/{pipelineId}
Example response
200 OK
JSON
{
"data": {
"name": "example-pipeline",
"nfObjects": [
{
"id": "example-service",
"type": "service",
"stage": "Production"
}
]
}
}