← DevOps API
DeploymentPlans
Singular: DeploymentPlan — Base-URL: https://devops-api.ayoune.app — Zugriff: CRUD — Maschinenlesbare Beschreibung (JSON · YAML)
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": "6a72b507ebd3413a92884e56",
"name": "ACCEPTABLE_RED_DUD BOLT",
"description": "",
"status": "draft",
"executionCount": 0,
"successCount": 0,
"failureCount": 0,
"isDraft": true,
"createdBy": "6045f4d25704710012485569",
"steps": [],
"createdAt": "2026-08-05T03:59:03.152Z",
"updatedAt": "2026-08-05T03:59:03.152Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://devops-api.ayoune.app/deploymentplans/6a72b507ebd3413a92884e56",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [],
"debugId": "6a8d0ff724c77f2b28440bbc",
"errors": [],
"actions": [],
"version": {
"host": "2026.24.0",
"core": "2026.319.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2391",
"reset": "1787633135",
"resetDate": "Tue Aug 25 2026"
},
"responseTime": 102.442929,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /deploymentplans |
Liste mit Filtern/Paginierung | devops.deploymentplans.view |
| GET | /deploymentplans/:id |
Einzelner Datensatz | devops.deploymentplans.view |
| POST | /deploymentplans |
Neuen Datensatz erstellen | devops.deploymentplans.new |
| PUT | /deploymentplans |
Datensatz aktualisieren | devops.deploymentplans.edit |
| DELETE | /deploymentplans/:id |
Datensatz löschen | devops.deploymentplans.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.devops.deploymentPlans.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.devops.deploymentPlans.findById('OBJECT_ID').exec();
// Erstellen
const created = await ay.devops.deploymentPlans.create({ name: 'Foo' });