aYOUne
← Personal API

Journals

Singular: Journal — Base-URL: https://personal-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": "6a9262b09af78bb19225c6ab",
    "_user": "6045f4d25704710012485569",
    "name": "ETHNIC_MOCCASIN_WICKET SYSTRI WARRICK",
    "createdBy": "6045f4d25704710012485569",
    "createdAt": "2026-08-29T04:40:16.018Z",
    "updatedAt": "2026-08-29T04:40:18.012Z",
    "modifiedBy": "6045f4d25704710012485569"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://personal-api.ayoune.app/journals/6a9262b09af78bb19225c6ab",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [],
    "debugId": "6a9262b29af78bb19225c6ed",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_JOURNAL",
        "href": "https://api.ayoune.app/personal/journals/6a9262b09af78bb19225c6ab/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_JOURNAL",
        "href": "https://api.ayoune.app/personal/journals/6a9262b09af78bb19225c6ab/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.1.2",
      "core": "2026.277.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2455",
      "reset": "1787982002",
      "resetDate": "Sat Aug 29 2026"
    },
    "responseTime": 19.509369,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

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

SDK

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

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

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

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

Weiterführend