Pipelines

Project pipelines

Pipelines from a project with backward pagination.

GEThttps://cloud-api.calyptia.com/v1/projects/{projectID}/pipelines
Authorization
Path parameters
projectID*string (uuid)

Parent project ID.

Query parameters
Response

OK

Body
items*array of Pipeline (object)
endCursor*nullable string
count*number (int32)
Request
const response = await fetch('https://cloud-api.calyptia.com/v1/projects/{projectID}/pipelines', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer <token>"
    },
});
const data = await response.json();
Response
{
  "items": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "my-pipeline",
      "kind": "deployment",
      "config": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "rawConfig": "text",
        "configFormat": "ini",
        "createdAt": "2024-11-21T09:50:07.316Z"
      },
      "configSections": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "projectID": "123e4567-e89b-12d3-a456-426614174000",
          "processingRuleID": "123e4567-e89b-12d3-a456-426614174000",
          "kind": "input",
          "properties": [
            {
              "key": "name",
              "value": "dummy"
            }
          ],
          "createdAt": "2024-11-21T09:50:07.316Z",
          "updatedAt": "2024-11-21T09:50:07.316Z"
        }
      ],
      "status": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "config": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "rawConfig": "text",
          "createdAt": "2024-11-21T09:50:07.316Z"
        },
        "status": "NEW",
        "events": [
          {
            "source": "k8s:deployment",
            "reason": "text",
            "message": "text",
            "loggedAt": "2024-11-21T09:50:07.316Z"
          }
        ],
        "createdAt": "2024-11-21T09:50:07.316Z"
      },
      "resourceProfile": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "name": "my-resource-profile",
        "storageSyncFull": false,
        "storageBacklogMemLimit": "1Mi",
        "storageVolumeSize": "2Mi",
        "storageMaxChunksPause": false,
        "cpuLimit": "3Mi",
        "cpuRequest": "4Mi",
        "memoryLimit": "5Mi",
        "memoryRequest": "6Mi",
        "createdAt": "2024-11-21T09:50:07.316Z",
        "updatedAt": "2024-11-21T09:50:07.316Z"
      },
      "deploymentStrategy": "recreate",
      "tracingEnabled": false,
      "waitForChecksBeforeDeploying": false,
      "image": "ghcr.io/calyptia/core/calyptia-fluent-bit:23.1.2",
      "tags": [
        "text"
      ],
      "secrets": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "key": "mysecret",
          "value": "Ynl0ZXM=",
          "createdAt": "2024-11-21T09:50:07.316Z",
          "updatedAt": "2024-11-21T09:50:07.316Z"
        }
      ],
      "files": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "processingRuleID": "123e4567-e89b-12d3-a456-426614174000",
          "name": "myfile",
          "contents": "Ynl0ZXM=",
          "encrypted": false,
          "createdAt": "2024-11-21T09:50:07.316Z",
          "updatedAt": "2024-11-21T09:50:07.316Z"
        }
      ],
      "ports": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "protocol": "tcp",
          "kind": "LoadBalancer",
          "endpoint": "text",
          "pluginID": "forward.0",
          "pluginName": "forward",
          "pluginAlias": "myforwardinput",
          "createdAt": "2024-11-21T09:50:07.316Z",
          "updatedAt": "2024-11-21T09:50:07.316Z"
        }
      ],
      "scaleUpType": "Unknown",
      "scaleDownType": "Unknown",
      "portKind": "LoadBalancer",
      "createdAt": "2024-11-21T09:50:07.316Z",
      "updatedAt": "2024-11-21T09:50:07.316Z"
    }
  ],
  "endCursor": "text",
  "count": 0
}