Zum Inhalt springen
aYOUne
← Projektmanagement API

Features

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

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": "6ad04300e3a35c96f962eeba",
    "key": "abnahme-ton-fuer-alle",
    "name": "[abnahme] Ton für alle – auch mit Hörgerät",
    "description": "Werbedisplays senden ihren Ton zusätzlich per Auracast. Besucher mit Hörgerät oder Kopfhörer hören die Durchsage direkt im Ohr, ohne zusätzliche Geräte. Der Betreiber schaltet die Funktion je Display ein.",
    "_components": [],
    "status": "built",
    "_websites": [
      "6a908a3bd0e7e99f88292a06"
    ],
    "showOnWebsite": true,
    "archive": false,
    "createdBy": "5a76d07e2d8b3270ff6df587",
    "shares": [],
    "createdAt": "2026-10-15T03:05:36.566Z",
    "updatedAt": "2026-10-15T03:05:36.566Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://pm-api.ayoune.app/features/6ad04300e3a35c96f962eeba",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "Modules",
        "title": "MODEL_MODULE",
        "href": "https://api.ayoune.app/pm/modules",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.modules"
      },
      {
        "rel": "WikiPages",
        "title": "MODEL_WIKIPAGE",
        "href": "https://api.ayoune.app/hub/wikipages",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "hub.wikipages"
      },
      {
        "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": "6ad05721e3a35c96f963745c",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_FEATURE",
        "href": "https://api.ayoune.app/pm/features/6ad04300e3a35c96f962eeba/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_FEATURE",
        "href": "https://api.ayoune.app/pm/features/6ad04300e3a35c96f962eeba",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.77.1",
      "core": "2026.376.0"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9476",
      "reset": "1792042245",
      "resetDate": "Thu Oct 15 2026"
    },
    "responseTime": 48.080839,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

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

SDK

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

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

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

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

Weiterführend