← CMS API
DownloadCategories
Singular: DownloadCategory — 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": "6a9e3024fd317a831d29e4d6",
"name": "SKINNY_YELLOW_DORMÉ",
"createdBy": "6045f4d25704710012485569",
"shares": [],
"createdAt": "2026-09-07T03:31:48.647Z",
"updatedAt": "2026-09-07T03:31:48.922Z",
"modifiedBy": "6045f4d25704710012485569"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://cms-api.ayoune.app/downloadcategories/6a9e3024fd317a831d29e4d6",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [],
"debugId": "6a9e3025fd317a831d29e507",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_DOWNLOADCATEGORY",
"href": "https://api.ayoune.app/cms/downloadcategories/6a9e3024fd317a831d29e4d6/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_DOWNLOADCATEGORY",
"href": "https://api.ayoune.app/cms/downloadcategories/6a9e3024fd317a831d29e4d6",
"method": "delete",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.46.1",
"core": "2026.332.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2141",
"reset": "1788755441",
"resetDate": "Mon Sep 07 2026"
},
"responseTime": 18.480808,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /downloadcategories |
Liste mit Filtern/Paginierung | cms.downloadcategories.view |
| GET | /downloadcategories/:id |
Einzelner Datensatz | cms.downloadcategories.view |
| POST | /downloadcategories |
Neuen Datensatz erstellen | cms.downloadcategories.new |
| PUT | /downloadcategories |
Datensatz aktualisieren | cms.downloadcategories.edit |
| DELETE | /downloadcategories/:id |
Datensatz löschen | cms.downloadcategories.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.cms.downloadCategories.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.cms.downloadCategories.findById('OBJECT_ID').exec();
// Erstellen
const created = await ay.cms.downloadCategories.create({ name: 'Foo' });