← DevOps API
DeploymentActions
Singular: DeploymentAction — Base URL: https://devops-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)
Try it now
beta
Response (live)
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": {
"params": {
"podName": "ALONE_INDIGO_SHAAK TI",
"reason": "Force restart via DevOps UI"
},
"result": {
"success": false,
"error": "Deployment undefined not found"
},
"_id": "6a8d0fe224c77f2b2844066a",
"action": "delete_pod",
"status": "failed",
"triggeredBy": "6045f4d25704710012485569",
"triggeredAt": "2026-08-25T03:45:38.536Z",
"resourceName": "ALONE_INDIGO_SHAAK TI",
"isDraft": true,
"createdAt": "2026-08-25T03:45:38.538Z",
"updatedAt": "2026-08-25T03:45:38.567Z",
"completedAt": "2026-08-25T03:45:38.564Z",
"shares": []
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://devops-api.ayoune.app/deploymentactions/6a8d0fe224c77f2b2844066a",
"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": "6aa37a0694eec8479bfb2348",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_DEPLOYMENTACTION",
"href": "https://api.ayoune.app/devops/deploymentactions/6a8d0fe224c77f2b2844066a/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_DEPLOYMENTACTION",
"href": "https://api.ayoune.app/devops/deploymentactions/6a8d0fe224c77f2b2844066a",
"method": "delete",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.24.0",
"core": "2026.335.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2447",
"reset": "1789099658",
"resetDate": "Fri Sep 11 2026"
},
"responseTime": 185.958836,
"code": 200,
"status": "success",
"error": false
}
}
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| 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' });