aYOUne
← DevOps API

BitbucketPipelines

Singular: BitbucketPipeline — Base-URL: https://devops-api.ayoune.app — Zugriff: CRUD — Maschinenlesbare Beschreibung (JSON · YAML)

play_circle Jetzt ausprobieren beta

Requests werden über den consumer-app Proxy an *.ayoune.app weitergeleitet. Tokens bleiben im Browser und werden pro Call mitgesendet.

Beispiel-Response (aufgezeichnet) Beispiel

Eine echte, zuvor aufgezeichnete GET /:id-Antwort dieses Endpunkts — nicht der Live-Call oben. Sensible Felder sind maskiert.

{
  "payload": {
    "_id": "6a618edf6cea51dbecadf848",
    "isDraft": true,
    "createdBy": "6045f4d25704710012485569",
    "steps": [],
    "createdAt": "2026-07-23T03:47:43.133Z",
    "updatedAt": "2026-07-23T03:47:43.133Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://devops-api.ayoune.app/bitbucketpipelines/6a618edf6cea51dbecadf848",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "Projects",
        "title": "MODEL_PROJECT",
        "href": "https://api.ayoune.app/pm/projects",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.projects"
      }
    ],
    "debugId": "6a8d0fec24c77f2b28440893",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_BITBUCKETPIPELINE",
        "href": "https://api.ayoune.app/devops/bitbucketpipelines/6a618edf6cea51dbecadf848/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_BITBUCKETPIPELINE",
        "href": "https://api.ayoune.app/devops/bitbucketpipelines/6a618edf6cea51dbecadf848",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.24.0",
      "core": "2026.319.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2430",
      "reset": "1787633135",
      "resetDate": "Tue Aug 25 2026"
    },
    "responseTime": 89.593868,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

MethodePathBeschreibungRight
GET /bitbucketpipelines Liste mit Filtern/Paginierung devops.bitbucketpipelines.view
GET /bitbucketpipelines/:id Einzelner Datensatz devops.bitbucketpipelines.view
POST /bitbucketpipelines Neuen Datensatz erstellen devops.bitbucketpipelines.new
PUT /bitbucketpipelines Datensatz aktualisieren devops.bitbucketpipelines.edit
DELETE /bitbucketpipelines/:id Datensatz löschen devops.bitbucketpipelines.delete

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// Alle abrufen
const list = await ay.devops.bitbucketPipelines.find().limit(10).exec();

// Einzelnen Datensatz
const one = await ay.devops.bitbucketPipelines.findById('OBJECT_ID').exec();

// Erstellen
const created = await ay.devops.bitbucketPipelines.create({ name: 'Foo' });

Weiterführend