aYOUne
← DevOps API

DevOpsAlerts

Singular: DevOpsAlert — Base URL: https://devops-api.ayoune.app — Access: CRUD

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": "6a618eea6cea51dbecadfb3e",
    "severity": "warning",
    "status": "active",
    "occurrences": 1,
    "createdBy": "6045f4d25704710012485569",
    "createdAt": "2026-07-23T03:47:54.858Z",
    "updatedAt": "2026-07-23T03:47:54.858Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://devops-api.ayoune.app/devopsalerts/6a618eea6cea51dbecadfb3e",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "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": "6a62dfc767b3860bb3d75b06",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_DEVOPSALERT",
        "href": "https://api.ayoune.app/devops/devopsalerts/6a618eea6cea51dbecadfb3e/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_DEVOPSALERT",
        "href": "https://api.ayoune.app/devops/devopsalerts/6a618eea6cea51dbecadfb3e/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.10.1",
      "core": "2026.234.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2387",
      "reset": "1784866297",
      "resetDate": "Fri Jul 24 2026"
    },
    "responseTime": 385.46222,
    "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