aYOUne
← Konfiguration API

ProcedureSteps

Singular: ProcedureStep — Base-URL: https://config-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": {
    "copiedFrom": {
      "fromId": "6a700dff5551b2d3b3215e76",
      "copiedAt": "2026-08-09T03:29:17.070Z",
      "copiedBy": "6045f4d25704710012485569"
    },
    "_id": "6a77f40dd2f460531054760b",
    "createdAt": "2026-08-09T03:29:17.070Z",
    "updatedAt": "2026-08-09T03:29:17.070Z",
    "isDraft": true,
    "createdBy": "6045f4d25704710012485569"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://config-api.ayoune.app/proceduresteps/6a77f40dd2f460531054760b",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "Consumers",
        "title": "MODEL_CONSUMER",
        "href": "https://api.ayoune.app/crm/consumers",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "crm.consumers"
      },
      {
        "rel": "Procedures",
        "title": "MODEL_PROCEDURE",
        "href": "https://api.ayoune.app/config/procedures",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "config.procedures"
      }
    ],
    "debugId": "6a8e6392a2d283bdc92d5bca",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_PROCEDURESTEP",
        "href": "https://api.ayoune.app/config/proceduresteps/6a77f40dd2f460531054760b/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_PROCEDURESTEP",
        "href": "https://api.ayoune.app/config/proceduresteps/6a77f40dd2f460531054760b",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.152.0",
      "core": "2026.319.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "689",
      "reset": "1787716882",
      "resetDate": "Wed Aug 26 2026"
    },
    "responseTime": 217.587076,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

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

SDK

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

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

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

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

Weiterführend