← DevOps API
BitbucketPipelines
Singular: BitbucketPipeline — Base-URL: https://devops-api.ayoune.app — Zugriff: CRUD
Jetzt ausprobieren
beta
Response (live)
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",
"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": "6a62dfba67b3860bb3d75806",
"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/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.10.1",
"core": "2026.234.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2433",
"reset": "1784866297",
"resetDate": "Fri Jul 24 2026"
},
"responseTime": 101.266427,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| 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' });