aYOUne
← Monitoring API

KeywordRelations

Singular: KeywordRelation — Base-URL: https://monitoring-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": "6a2e6e5c1ab613e8ec1aed8c",
    "_keyword": "62d962100bd7cb072b1f3258",
    "_parentKeyword": "5f2fe687b5f0ce51db1a502d",
    "kind": "related",
    "modifier": null,
    "createdAt": "2026-06-14T09:03:24.740Z",
    "isDraft": true,
    "locale": "de_de",
    "updatedAt": "2026-07-26T10:35:08.245Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://monitoring-api.ayoune.app/keywordrelations/6a2e6e5c1ab613e8ec1aed8c",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "aYOUneKeywords",
        "title": "MODEL_AYOUNEKEYWORD",
        "href": "https://api.ayoune.app/su/ayounekeywords/5f2fe687b5f0ce51db1a502d",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "su.keywords"
      },
      {
        "rel": "aYOUneKeywords",
        "title": "MODEL_AYOUNEKEYWORD",
        "href": "https://api.ayoune.app/su/ayounekeywords/62d962100bd7cb072b1f3258",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "su.keywords"
      }
    ],
    "relations": [
      {
        "rel": "aYOUneKeywords",
        "title": "MODEL_AYOUNEKEYWORD",
        "href": "https://api.ayoune.app/su/ayounekeywords",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "su.keywords"
      },
      {
        "rel": "aYOUneKeywords",
        "title": "MODEL_AYOUNEKEYWORD",
        "href": "https://api.ayoune.app/su/ayounekeywords",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "su.keywords"
      }
    ],
    "debugId": "6a82900d6ffbda734fdde8cd",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_KEYWORDRELATION",
        "href": "https://api.ayoune.app/monitoring/keywordrelations/6a2e6e5c1ab613e8ec1aed8c/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_KEYWORDRELATION",
        "href": "https://api.ayoune.app/monitoring/keywordrelations/6a2e6e5c1ab613e8ec1aed8c/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.34.6",
      "core": "2026.299.1"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2057",
      "reset": "1786943973",
      "resetDate": "Mon Aug 17 2026"
    },
    "responseTime": 284.098257,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

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

SDK

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

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

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

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

Weiterführend