Zum Inhalt springen
aYOUne
← Konfiguration API

ComputingEntityTemplates

Singular: ComputingEntityTemplate — Base-URL: https://config-api.ayoune.app — Zugriff: CRUD — Maschinenlesbare Beschreibung (JSON · YAML)

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": {
    "_id": "6ac9b0f7cdeaf426c109a9de",
    "provider": "azure",
    "name": "AWARE_FUCHSIA_SAESEE TIIN",
    "programs": [],
    "binaries": [],
    "configFiles": [],
    "bootstrapTtlHours": 24,
    "updatePolicy": "optional",
    "updateForceCountdownSec": 30,
    "createdBy": "6045f4d25704710012485569",
    "shares": [],
    "createdAt": "2026-10-10T03:28:55.692Z",
    "updatedAt": "2026-10-10T03:28:55.692Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://config-api.ayoune.app/computingentitytemplates/6ac9b0f7cdeaf426c109a9de",
        "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": "Products",
        "title": "MODEL_PRODUCT",
        "href": "https://api.ayoune.app/pim/products",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pim.products"
      }
    ],
    "debugId": "6ac9b0fdcdeaf426c109aa35",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_COMPUTINGENTITYTEMPLATE",
        "href": "https://api.ayoune.app/config/computingentitytemplates/6ac9b0f7cdeaf426c109a9de/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_COMPUTINGENTITYTEMPLATE",
        "href": "https://api.ayoune.app/config/computingentitytemplates/6ac9b0f7cdeaf426c109a9de",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.170.1",
      "core": "2026.368.0"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9547",
      "reset": "1791604919",
      "resetDate": "Sat Oct 10 2026"
    },
    "responseTime": 292.069405,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

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

SDK

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

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

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

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

Weiterführend