Zum Inhalt springen
aYOUne
← Konfiguration API

CustomFunctionLogs

Singular: CustomFunctionLog — Base-URL: https://config-api.ayoune.app — Zugriff: read-only — 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": "6ad21d6d47216b033b516808",
    "_functionId": "6ad21bdf4eb0cacc4d5211df",
    "triggerMode": "checkout:quote",
    "status": "success",
    "output": {
      "adjustments": [
        {
          "label": "Abnahme-Rabatt",
          "amount": 2,
          "kind": "discount"
        }
      ],
      "hideShippingMethods": [
        "6ac811924affa5ff19a8e89d"
      ]
    },
    "logs": [],
    "executionTimeMs": 1,
    "memoryUsedMb": 0,
    "sdkCalls": [],
    "shares": [],
    "createdAt": "2026-10-16T12:49:49.325Z",
    "updatedAt": "2026-10-16T12:49:49.325Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://config-api.ayoune.app/customfunctionlogs/6ad21d6d47216b033b516808",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "UserFunctions",
        "title": "MODEL_USERFUNCTION",
        "href": "https://api.ayoune.app/config/userfunctions/6ad21bdf4eb0cacc4d5211df",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "config.userfunctions"
      }
    ],
    "relations": [
      {
        "rel": "UserFunctions",
        "title": "MODEL_USERFUNCTION",
        "href": "https://api.ayoune.app/config/userfunctions",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "config.userfunctions"
      }
    ],
    "debugId": "6ad833cf394e6cb9cd3ce1cd",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_CUSTOMFUNCTIONLOG",
        "href": "https://api.ayoune.app/config/customfunctionlogs/6ad21d6d47216b033b516808/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_CUSTOMFUNCTIONLOG",
        "href": "https://api.ayoune.app/config/customfunctionlogs/6ad21d6d47216b033b516808",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.170.1",
      "core": "2026.387.1"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "7121",
      "reset": "1792555682",
      "resetDate": "Wed Oct 21 2026"
    },
    "responseTime": 198.45495,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

MethodePathBeschreibungRight
GET /customfunctionlogs Liste mit Filtern/Paginierung config.customfunctionlogs.view
GET /customfunctionlogs/:id Einzelner Datensatz via ID config.customfunctionlogs.view

SDK

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

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

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

Weiterführend