← CMS API
Podcasts
Singular: Podcast — Base-URL: https://cms-api.ayoune.app — Zugriff: CRUD — Maschinenlesbare Beschreibung (JSON · YAML)
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": "6ac9af4409861eb120a9fe33",
"name": "INTELLIGENT_YELLOW_BIGGS DARKLIGHTER",
"createdBy": "6045f4d25704710012485569",
"speakers": [],
"shares": [],
"createdAt": "2026-10-10T03:21:40.406Z",
"updatedAt": "2026-10-10T03:21:40.406Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://cms-api.ayoune.app/podcasts/6ac9af4409861eb120a9fe33",
"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"
},
{
"rel": "ImageGenerators",
"title": "MODEL_IMAGEGENERATOR",
"href": "https://api.ayoune.app/cms/imagegenerators",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "cms.imagegenerators"
},
{
"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": "6ac9af4509861eb120a9fe58",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_PODCAST",
"href": "https://api.ayoune.app/cms/podcasts/6ac9af4409861eb120a9fe33/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_PODCAST",
"href": "https://api.ayoune.app/cms/podcasts/6ac9af4409861eb120a9fe33",
"method": "delete",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.49.1",
"core": "2026.368.0"
},
"rateLimit": {
"limit": "10000",
"remaining": "9653",
"reset": "1791606056",
"resetDate": "Sat Oct 10 2026"
},
"responseTime": 14.367238,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| 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' });