← CMS API
VideoGenerators
Singular: VideoGenerator — Base-URL: https://cms-api.ayoune.app — Zugriff: CRUD
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": {
"audio": {
"bg": false,
"fadeIn": 0,
"fadeOut": 0,
"loop": false,
"start": 0,
"startTime": 0,
"volume": 0
},
"_id": "65e0afd0121b7d48fe1558bc",
"createdBy": "6045f4d25704710012485569",
"useBackgroundAudio": false,
"useQuery": false,
"scenes": [],
"createdAt": "2024-02-29T16:24:48.274Z",
"updatedAt": "2024-02-29T16:24:48.274Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://cms-api.ayoune.app/videogenerators/65e0afd0121b7d48fe1558bc",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [
{
"rel": "TextGenerators",
"title": "MODEL_TEXTGENERATOR",
"href": "https://api.ayoune.app/cms/textgenerators",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "cms.textgenerators"
},
{
"rel": "Queries",
"title": "MODEL_QUERY",
"href": "https://api.ayoune.app/config/queries",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "config.queries"
}
],
"debugId": "6a62dc8101c81db07e1db815",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_VIDEOGENERATOR",
"href": "https://api.ayoune.app/cms/videogenerators/65e0afd0121b7d48fe1558bc/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_VIDEOGENERATOR",
"href": "https://api.ayoune.app/cms/videogenerators/65e0afd0121b7d48fe1558bc/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.25.5",
"core": "2026.258.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2317",
"reset": "1784867449",
"resetDate": "Fri Jul 24 2026"
},
"responseTime": 285.384129,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /videogenerators |
Liste mit Filtern/Paginierung | cms.videogenerators.view |
| GET | /videogenerators/:id |
Einzelner Datensatz | cms.videogenerators.view |
| POST | /videogenerators |
Neuen Datensatz erstellen | cms.videogenerators.new |
| PUT | /videogenerators |
Datensatz aktualisieren | cms.videogenerators.edit |
| DELETE | /videogenerators/:id |
Datensatz löschen | cms.videogenerators.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.cms.videoGenerators.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.cms.videoGenerators.findById('OBJECT_ID').exec();
// Erstellen
const created = await ay.cms.videoGenerators.create({ name: 'Foo' });