← CMS API
Podcasts
Singular: Podcast — Base URL: https://cms-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)
Try it now
beta
Response (live)
Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.
Example response (recorded) sample
A real, previously recorded GET /:id response of this endpoint — not the live call above. Sensitive fields are masked.
{
"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
}
}
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /podcasts |
List with filters/pagination | cms.podcasts.view |
| GET | /podcasts/:id |
Single record | cms.podcasts.view |
| POST | /podcasts |
Create new record | cms.podcasts.new |
| PUT | /podcasts |
Update record | cms.podcasts.edit |
| DELETE | /podcasts/:id |
Delete record | cms.podcasts.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.cms.podcasts.find().limit(10).exec();
// Single record
const one = await ay.cms.podcasts.findById('OBJECT_ID').exec();
// Create
const created = await ay.cms.podcasts.create({ name: 'Foo' });