← 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": "6acaffaedd41e3ee162c09f3",
"name": "SEPARATE_GRAY_ARVEL CRYNYD",
"createdBy": "6045f4d25704710012485569",
"speakers": [],
"shares": [],
"createdAt": "2026-10-11T03:17:02.324Z",
"updatedAt": "2026-10-11T03:17:02.538Z",
"modifiedBy": "6045f4d25704710012485569"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://cms-api.ayoune.app/podcasts/6acaffaedd41e3ee162c09f3",
"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": "6acaffae2702ab6c4dbc67d9",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_PODCAST",
"href": "https://api.ayoune.app/cms/podcasts/6acaffaedd41e3ee162c09f3/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_PODCAST",
"href": "https://api.ayoune.app/cms/podcasts/6acaffaedd41e3ee162c09f3",
"method": "delete",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.49.1",
"core": "2026.368.0"
},
"rateLimit": {
"limit": "10000",
"remaining": "9644",
"reset": "1791692176",
"resetDate": "Sun Oct 11 2026"
},
"responseTime": 77.842944,
"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' });