aYOUne
← CMS API

Podcasts

Singular: Podcast — Base-URL: https://cms-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": "6a94fd21968ca369176432a9",
    "isDraft": true,
    "createdBy": "6045f4d25704710012485569",
    "speakers": [],
    "createdAt": "2026-08-31T04:03:45.542Z",
    "updatedAt": "2026-08-31T04:03:45.542Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://cms-api.ayoune.app/podcasts/6a94fd21968ca369176432a9",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "Images",
        "title": "MODEL_IMAGE",
        "href": "https://api.ayoune.app/cms/images",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "cms.images"
      }
    ],
    "debugId": "6a94fd22968ca3691764330d",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_PODCAST",
        "href": "https://api.ayoune.app/cms/podcasts/6a94fd21968ca369176432a9/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_PODCAST",
        "href": "https://api.ayoune.app/cms/podcasts/6a94fd21968ca369176432a9",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.46.0",
      "core": "2026.326.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2143",
      "reset": "1788152042",
      "resetDate": "Mon Aug 31 2026"
    },
    "responseTime": 119.994602,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

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

SDK

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

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

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

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

Weiterführend