Preview Blueprints /
List preview blueprints
Lists all preview blueprints for a project
Required permission
Project > PreviewBlueprints > General > Read
Path parameters
projectId
string requiredID of the project
Query parameters
per_page
integerThe number of results to display per request. Maximum of 100 results per page.page
integerThe page number to access.cursor
stringThe cursor returned from the previous page of results, used to request the next page.
Response body
- {object}Response object.
data
{object} requiredResult data.pipelines
[array] requiredAn array of preview blueprints in this project.- {object}A preview blueprint.
name
string requiredName of the template.min length3max length100pattern^[a-zA-Z0-9]+((-|\s)[a-zA-Z0-9]+)*$description
stringDescription of the template.max length200pattern^[a-zA-Z0-9.,?\s\\/'"()[\];`%^&*\-_:!]+$apiVersion
string requiredThe version of the Northflank API to run the template against.one ofv1.2options
{object}Options regarding how the template is run.autorun
booleanIf true, the template will run automatically whenever a change is made to it.concurrencyPolicy
stringDefines the concurrency behaviour of the template with respect to parallel runs.one ofallow, queue, forbidid
string requiredIdentifier for the preview blueprintcreatedAt
stringtime of creationupdatedAt
stringtime of updatepagination
{object} requiredData about the endpoint pagination.hasNextPage
boolean requiredIs there another page of results available?cursor
stringThe cursor to access the next page of results.count
number requiredThe number of results returned by this request.
API
CLI
JS Client
GET /v1/projects/{projectId}/preview-blueprints
Example response
200 OK
A list of previewBlueprints that belong to the project.
JSON
{
"data": {
"pipelines": [
{
"name": "Example Template",
"description": "This is a sample template.",
"apiVersion": "v1.2",
"options": {
"autorun": false,
"concurrencyPolicy": "allow"
},
"id": "example-workflow"
}
]
},
"pagination": {
"hasNextPage": false,
"count": 1
}
}