aYOUne
← DevOps API

DeploymentActions

Singular: DeploymentAction — 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": "6a618ee36cea51dbecadf973",
    "status": "pending",
    "createdBy": "6045f4d25704710012485569",
    "createdAt": "2026-07-23T03:47:47.706Z",
    "updatedAt": "2026-07-23T03:47:47.706Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://devops-api.ayoune.app/deploymentactions/6a618ee36cea51dbecadf973",
        "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"
      }
    ],
    "debugId": "6a62dfbe67b3860bb3d75926",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_DEPLOYMENTACTION",
        "href": "https://api.ayoune.app/devops/deploymentactions/6a618ee36cea51dbecadf973/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_DEPLOYMENTACTION",
        "href": "https://api.ayoune.app/devops/deploymentactions/6a618ee36cea51dbecadf973/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.10.1",
      "core": "2026.234.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2417",
      "reset": "1784866297",
      "resetDate": "Fri Jul 24 2026"
    },
    "responseTime": 103.126727,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

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

SDK

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

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

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

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

See also