aYOUne
← Hub API

WikiPages

Singular: WikiPage — Base-URL: https://hub-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": {
    "availableLocales": [],
    "relatedPages": [],
    "shareKeys": [],
    "_id": "65e0b0fc121b7d48fe158d47",
    "teamaccess": [],
    "useraccess": [],
    "globalaccess": [],
    "keywords": [],
    "textBlocks": [],
    "wikiPages": [],
    "tags": [],
    "children": [],
    "isDraft": true,
    "createdBy": "6045f4d25704710012485569",
    "allocations": [],
    "tasks": [],
    "comments": [],
    "createdAt": "2024-02-29T16:29:48.016Z",
    "updatedAt": "2026-08-25T03:10:39.984Z",
    "path": "65e0b0fc121b7d48fe158d47",
    "consumerAppLink": "https://ayoune.com/de_DE/docs/undefined/",
    "searchSlug": "",
    "showName": "",
    "slug": "",
    "supportPortalLink": "https://support.ayoune.app/tolinax-demo/undefined/",
    "blocks": [],
    "contentFormat": "markdown",
    "contentHTML": "",
    "excerptHTML": "",
    "renderHash": "",
    "renderedAt": "2026-08-25T03:10:39.891Z",
    "toc": [],
    "votes": []
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://hub-api.ayoune.app/wikipages/65e0b0fc121b7d48fe158d47",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "KnowledgeBases",
        "title": "MODEL_KNOWLEDGEBASE",
        "href": "https://api.ayoune.app/hub/knowledgebases",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "hub.knowledgebases"
      },
      {
        "rel": "Projects",
        "title": "MODEL_PROJECT",
        "href": "https://api.ayoune.app/pm/projects",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.projects"
      },
      {
        "rel": "Milestones",
        "title": "MODEL_MILESTONE",
        "href": "https://api.ayoune.app/pm/milestones",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.milestones"
      },
      {
        "rel": "Videos",
        "title": "MODEL_VIDEO",
        "href": "https://api.ayoune.app/monitoring/videos",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "monitoring.videos"
      },
      {
        "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": "Images",
        "title": "MODEL_IMAGE",
        "href": "https://api.ayoune.app/cms/images",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "cms.images"
      },
      {
        "rel": "Repositories",
        "title": "MODEL_REPOSITORY",
        "href": "https://api.ayoune.app/devops/repositories",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "devops.repositories"
      },
      {
        "rel": "Projects",
        "title": "MODEL_PROJECT",
        "href": "https://api.ayoune.app/pm/projects",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.projects"
      },
      {
        "rel": "KnowledgeBases",
        "title": "MODEL_KNOWLEDGEBASE",
        "href": "https://api.ayoune.app/hub/knowledgebases",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "hub.knowledgebases"
      }
    ],
    "debugId": "6a8d10f6d6c29a3ab8e71572",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_WIKIPAGE",
        "href": "https://api.ayoune.app/hub/wikipages/65e0b0fc121b7d48fe158d47/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_WIKIPAGE",
        "href": "https://api.ayoune.app/hub/wikipages/65e0b0fc121b7d48fe158d47/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.17.2",
      "core": "2026.315.1"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2334",
      "reset": "1787633357",
      "resetDate": "Tue Aug 25 2026"
    },
    "responseTime": 202.846145,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

MethodePathBeschreibungRight
GET /wikipages Liste mit Filtern/Paginierung hub.wikipages.view
GET /wikipages/:id Einzelner Datensatz hub.wikipages.view
POST /wikipages Neuen Datensatz erstellen hub.wikipages.new
PUT /wikipages Datensatz aktualisieren hub.wikipages.edit
DELETE /wikipages/:id Datensatz löschen hub.wikipages.delete

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// Alle abrufen
const list = await ay.hub.wikiPages.find().limit(10).exec();

// Einzelnen Datensatz
const one = await ay.hub.wikiPages.findById('OBJECT_ID').exec();

// Erstellen
const created = await ay.hub.wikiPages.create({ name: 'Foo' });

Weiterführend