Zum Inhalt springen
aYOUne
← Konfiguration API

LocalFeeds

Singular: LocalFeed — 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": "6ab73cd4a99caaf02fff5fd7",
    "createdBy": "6045f4d25704710012485569",
    "shares": [],
    "createdAt": "2026-09-26T03:32:36.520Z",
    "updatedAt": "2026-09-26T03:32:36.520Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://config-api.ayoune.app/localfeeds/6ab73cd4a99caaf02fff5fd7",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "AdBookings",
        "title": "MODEL_ADBOOKING",
        "href": "https://api.ayoune.app/ads/adbookings",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ads.adbookings"
      }
    ],
    "debugId": "6adec81962556e5404c0ee8f",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_LOCALFEED",
        "href": "https://api.ayoune.app/config/localfeeds/6ab73cd4a99caaf02fff5fd7/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_LOCALFEED",
        "href": "https://api.ayoune.app/config/localfeeds/6ab73cd4a99caaf02fff5fd7",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.170.1",
      "core": "2026.388.0"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "6780",
      "reset": "1792987338",
      "resetDate": "Mon Oct 26 2026"
    },
    "responseTime": 49.011138,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

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

SDK

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

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

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

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

Weiterführend