aYOUne
← Konfiguration API

EventMetas

Singular: EventMeta — 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": {
    "_id": "63d8d485597b2bc28139d510",
    "action": "processed",
    "category": "middleware",
    "label": "Contracts",
    "value": "*",
    "dataRetention": 2,
    "shares": []
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://config-api.ayoune.app/eventmetas/63d8d485597b2bc28139d510",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [],
    "debugId": "6aa375e60a0df7eaaeb88bc7",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_EVENTMETA",
        "href": "https://api.ayoune.app/config/eventmetas/63d8d485597b2bc28139d510/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_EVENTMETA",
        "href": "https://api.ayoune.app/config/eventmetas/63d8d485597b2bc28139d510",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.161.0",
      "core": "2026.335.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "1490",
      "reset": "1789099354",
      "resetDate": "Fri Sep 11 2026"
    },
    "responseTime": 1106.745301,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

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

SDK

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

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

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

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

Weiterführend