aYOUne
← DevOps API

DevOpsAlerts

Singular: DevOpsAlert — Base URL: https://devops-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)

play_circle Try it now beta

Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.

Example response (recorded) sample

A real, previously recorded GET /:id response of this endpoint — not the live call above. Sensitive fields are masked.

{
  "payload": {
    "_id": "6a618f2e69376d575f781387",
    "_cluster": "6a618edc6cea51dbecadf7de",
    "type": "cluster_unreachable",
    "severity": "critical",
    "title": "Cluster unreachable: SERIOUS_AZURE_YODA",
    "message": "Cluster SERIOUS_AZURE_YODA is unreachable. Last health check: Sun Jul 26 2026 04:02:44 GMT+0000 (Coordinated Universal Time)",
    "resourceName": "SERIOUS_AZURE_YODA",
    "status": "active",
    "metadata": {
      "provider": "gke"
    },
    "occurrences": 273,
    "firstOccurrence": "2026-07-23T03:49:02.839Z",
    "lastOccurrence": "2026-07-26T04:02:44.923Z",
    "isDraft": true,
    "createdAt": "2026-07-23T03:49:02.840Z",
    "updatedAt": "2026-07-26T04:02:44.923Z",
    "shares": []
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://devops-api.ayoune.app/devopsalerts/6a618f2e69376d575f781387",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "K8Clusters",
        "title": "MODEL_K8CLUSTER",
        "href": "https://api.ayoune.app/devops/k8clusters/6a618edc6cea51dbecadf7de",
        "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": "6aa37a1294eec8479bfb260e",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_DEVOPSALERT",
        "href": "https://api.ayoune.app/devops/devopsalerts/6a618f2e69376d575f781387/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_DEVOPSALERT",
        "href": "https://api.ayoune.app/devops/devopsalerts/6a618f2e69376d575f781387",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.24.0",
      "core": "2026.335.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2418",
      "reset": "1789099658",
      "resetDate": "Fri Sep 11 2026"
    },
    "responseTime": 278.680914,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

MethodPathDescriptionRight
GET /devopsalerts List with filters/pagination devops.devopsalerts.view
GET /devopsalerts/:id Single record devops.devopsalerts.view
POST /devopsalerts Create new record devops.devopsalerts.new
PUT /devopsalerts Update record devops.devopsalerts.edit
DELETE /devopsalerts/:id Delete record devops.devopsalerts.delete

SDK

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

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

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

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

See also