aYOUne
← DevOps API

DevOpsAlerts

Singular: DevOpsAlert — 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": "6a62e044fdf478a45659f83e",
    "_cluster": "6a62dfcb67b3860bb3d75c9c",
    "type": "cluster_unreachable",
    "severity": "critical",
    "title": "Cluster unreachable: CUDDLY_IVORY_LANDO CALRISSIAN",
    "message": "Cluster CUDDLY_IVORY_LANDO CALRISSIAN is unreachable. Last health check: Sun Jul 26 2026 04:12:43 GMT+0000 (Coordinated Universal Time)",
    "resourceName": "CUDDLY_IVORY_LANDO CALRISSIAN",
    "status": "active",
    "metadata": {
      "provider": "gke"
    },
    "occurrences": 183,
    "firstOccurrence": "2026-07-24T03:47:16.793Z",
    "lastOccurrence": "2026-07-26T04:14:42.178Z",
    "isDraft": true,
    "createdAt": "2026-07-24T03:47:16.793Z",
    "updatedAt": "2026-07-26T04:14:42.179Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://devops-api.ayoune.app/devopsalerts/6a62e044fdf478a45659f83e",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "K8Clusters",
        "title": "MODEL_K8CLUSTER",
        "href": "https://api.ayoune.app/devops/k8clusters/6a62dfcb67b3860bb3d75c9c",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "devops.k8clusters"
      }
    ],
    "relations": [
      {
        "rel": "K8Clusters",
        "title": "MODEL_K8CLUSTER",
        "href": "https://api.ayoune.app/devops/k8clusters",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "devops.k8clusters"
      },
      {
        "rel": "K8Deployments",
        "title": "MODEL_K8DEPLOYMENT",
        "href": "https://api.ayoune.app/devops/k8deployments",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "devops.k8deployments"
      },
      {
        "rel": "K8Pods",
        "title": "MODEL_K8POD",
        "href": "https://api.ayoune.app/devops/k8pods",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "devops.k8pods"
      },
      {
        "rel": "BitbucketPipelines",
        "title": "MODEL_BITBUCKETPIPELINE",
        "href": "https://api.ayoune.app/devops/bitbucketpipelines",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "devops.bitbucketpipelines"
      }
    ],
    "debugId": "6a95048de3f0cf160c20c2c4",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_DEVOPSALERT",
        "href": "https://api.ayoune.app/devops/devopsalerts/6a62e044fdf478a45659f83e/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_DEVOPSALERT",
        "href": "https://api.ayoune.app/devops/devopsalerts/6a62e044fdf478a45659f83e",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.24.0",
      "core": "2026.324.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2379",
      "reset": "1788154496",
      "resetDate": "Mon Aug 31 2026"
    },
    "responseTime": 85.142772,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

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

SDK

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

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

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

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

Weiterführend