aYOUne
← Personal API

JournalEntries

Singular: JournalEntry — Base-URL: https://personal-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": {
    "_id": "6a6198117c8b935933cf7077",
    "_user": "6045f4d25704710012485569",
    "createdBy": "6045f4d25704710012485569",
    "createdAt": "2026-07-23T04:26:57.033Z",
    "updatedAt": "2026-07-23T04:26:57.033Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://personal-api.ayoune.app/journalentries/6a6198117c8b935933cf7077",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "Journals",
        "title": "MODEL_JOURNAL",
        "href": "https://api.ayoune.app/personal/journals",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "personal.journals"
      }
    ],
    "debugId": "6a6198117c8b935933cf70a3",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_JOURNALENTRY",
        "href": "https://api.ayoune.app/personal/journalentries/6a6198117c8b935933cf7077/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_JOURNALENTRY",
        "href": "https://api.ayoune.app/personal/journalentries/6a6198117c8b935933cf7077/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.1.0",
      "core": "2026.234.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2475",
      "reset": "1784784412",
      "resetDate": "Thu Jul 23 2026"
    },
    "responseTime": 52.395939,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

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

SDK

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

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

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

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

Weiterführend