← Hub API
WikiPages
Singular: WikiPage — Base URL: https://hub-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)
Try it now
beta
Response (live)
Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.
Example response (recorded) sample
A real, previously recorded GET /:id response of this endpoint — not the live call above. Sensitive fields are masked.
{
"payload": {
"availableLocales": [],
"relatedPages": [],
"shareKeys": [],
"_id": "65e073d17631a977e1baba8e",
"teamaccess": [],
"useraccess": [],
"globalaccess": [],
"keywords": [],
"textBlocks": [],
"wikiPages": [],
"tags": [],
"children": [],
"isDraft": true,
"createdBy": "6045f4d25704710012485569",
"allocations": [],
"tasks": [],
"comments": [],
"createdAt": "2024-02-29T12:08:49.413Z",
"updatedAt": "2026-09-11T03:08:57.443Z",
"path": "65e073d17631a977e1baba8e",
"consumerAppLink": "https://tolinax-demo.sites.ayoune.app/de_DE/docs",
"searchSlug": "",
"showName": "",
"slug": "",
"supportPortalLink": "https://support.ayoune.app/tolinax-demo/undefined/",
"blocks": [],
"contentFormat": "markdown",
"contentHTML": "",
"excerptHTML": "",
"renderHash": "",
"renderedAt": "2026-09-11T03:08:57.442Z",
"toc": [],
"votes": [],
"shares": []
},
"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": "6aa37aefb63be8cffe6d6215",
"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",
"method": "delete",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.18.0",
"core": "2026.335.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2364",
"reset": "1789102289",
"resetDate": "Fri Sep 11 2026"
},
"responseTime": 198.502886,
"code": 200,
"status": "success",
"error": false
}
}
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /wikipages |
List with filters/pagination | hub.wikipages.view |
| GET | /wikipages/:id |
Single record | hub.wikipages.view |
| POST | /wikipages |
Create new record | hub.wikipages.new |
| PUT | /wikipages |
Update record | hub.wikipages.edit |
| DELETE | /wikipages/:id |
Delete record | hub.wikipages.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.hub.wikiPages.find().limit(10).exec();
// Single record
const one = await ay.hub.wikiPages.findById('OBJECT_ID').exec();
// Create
const created = await ay.hub.wikiPages.create({ name: 'Foo' });