aYOUne
← Hub API

WikiPages

Singular: WikiPage — Base-URL: https://hub-api.ayoune.app — Zugriff: CRUD

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": "65e073d17631a977e1baba8e",
    "teamaccess": [],
    "useraccess": [],
    "globalaccess": [],
    "keywords": [],
    "textBlocks": [],
    "wikiPages": [],
    "tags": [],
    "children": [],
    "createdBy": "6045f4d25704710012485569",
    "allocations": [],
    "tasks": [],
    "comments": [],
    "createdAt": "2024-02-29T12:08:49.413Z",
    "updatedAt": "2026-07-24T03:22:08.047Z",
    "path": "65e073d17631a977e1baba8e",
    "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-07-24T03:22:08.046Z",
    "toc": [],
    "votes": []
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://hub-api.ayoune.app/wikipages/65e073d17631a977e1baba8e",
        "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": "6a62e05e2b20d6ae273bf860",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_WIKIPAGE",
        "href": "https://api.ayoune.app/hub/wikipages/65e073d17631a977e1baba8e/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_WIKIPAGE",
        "href": "https://api.ayoune.app/hub/wikipages/65e073d17631a977e1baba8e/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.11.3",
      "core": "2026.257.1"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2362",
      "reset": "1784868426",
      "resetDate": "Fri Jul 24 2026"
    },
    "responseTime": 89.066446,
    "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