← Konfiguration API
EventMetas
Singular: EventMeta — Base-URL: https://config-api.ayoune.app — Zugriff: CRUD
Jetzt ausprobieren
beta
Response (live)
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": "6a6196734b2a1b7d2c553aec",
"label": "triggered",
"action": "check",
"category": "automation",
"value": "many_gray_lobot",
"createdAt": "2026-07-23T04:20:03.367Z",
"dataRetention": 2,
"updatedAt": "2026-07-24T03:30:02.124Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://config-api.ayoune.app/eventmetas/6a6196734b2a1b7d2c553aec",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [],
"debugId": "6a62dd7130b7d778029e8c30",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_EVENTMETA",
"href": "https://api.ayoune.app/config/eventmetas/6a6196734b2a1b7d2c553aec/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_EVENTMETA",
"href": "https://api.ayoune.app/config/eventmetas/6a6196734b2a1b7d2c553aec/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.94.0",
"core": "2026.258.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "1673",
"reset": "1784865648",
"resetDate": "Fri Jul 24 2026"
},
"responseTime": 100.929014,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| 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' });