aYOUne
← Configuration API

EventMetas

Singular: EventMeta — Base URL: https://config-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)

play_circle Try it now beta

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": {
    "_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
  }
}

Endpoints

MethodPathDescriptionRight
GET /eventmetas List with filters/pagination config.eventmetas.view
GET /eventmetas/:id Single record config.eventmetas.view
POST /eventmetas Create new record config.eventmetas.new
PUT /eventmetas Update record config.eventmetas.edit
DELETE /eventmetas/:id Delete record config.eventmetas.delete

SDK

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

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

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

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

See also