aYOUne
← Projektmanagement API

Spaces

Singular: Space — Base-URL: https://pm-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": "6a72c1475b454a910d2445df",
    "_channels": [],
    "_members": [],
    "name": "ATOMIC_TOMATO_SEBULBA",
    "isDraft": true,
    "createdBy": "6045f4d25704710012485569",
    "createdAt": "2026-08-05T04:51:19.247Z",
    "updatedAt": "2026-08-05T04:51:19.247Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://pm-api.ayoune.app/spaces/6a72c1475b454a910d2445df",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "Projects",
        "title": "MODEL_PROJECT",
        "href": "https://api.ayoune.app/pm/projects",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.projects"
      }
    ],
    "debugId": "6a8290c12dc77a4cc3de52a7",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_SPACE",
        "href": "https://api.ayoune.app/pm/spaces/6a72c1475b454a910d2445df/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_SPACE",
        "href": "https://api.ayoune.app/pm/spaces/6a72c1475b454a910d2445df/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.49.2",
      "core": "2026.300.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2053",
      "reset": "1786945072",
      "resetDate": "Mon Aug 17 2026"
    },
    "responseTime": 200.800245,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

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

SDK

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

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

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

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

Weiterführend