aYOUne
← CMS API

DownloadCategories

Singular: DownloadCategory — Base-URL: https://cms-api.ayoune.app — Zugriff: CRUD — Maschinenlesbare Beschreibung (JSON · YAML)

play_circle Jetzt ausprobieren beta

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": "6a62dc8d01c81db07e1dbf6c",
    "name": "BETTER_BLACK_BOSSK",
    "isDraft": true,
    "createdBy": "6045f4d25704710012485569",
    "createdAt": "2026-07-24T03:31:25.984Z",
    "updatedAt": "2026-07-24T03:31:25.984Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://cms-api.ayoune.app/downloadcategories/6a62dc8d01c81db07e1dbf6c",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [],
    "debugId": "6a8e6038fa8f1510f1a4753d",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_DOWNLOADCATEGORY",
        "href": "https://api.ayoune.app/cms/downloadcategories/6a62dc8d01c81db07e1dbf6c/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_DOWNLOADCATEGORY",
        "href": "https://api.ayoune.app/cms/downloadcategories/6a62dc8d01c81db07e1dbf6c",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.45.0",
      "core": "2026.320.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2130",
      "reset": "1787719173",
      "resetDate": "Wed Aug 26 2026"
    },
    "responseTime": 22.35085,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

MethodePathBeschreibungRight
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' });

Weiterführend