aYOUne
← Monitoring API

PageStats

Singular: PageStat — Base-URL: https://monitoring-api.ayoune.app — Zugriff: read-only

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": {
    "lighthouse": {
      "mobile": {
        "results": {
          "performance": 0,
          "performanceChange": 0,
          "accessibility": 0,
          "accessibilityChange": 0,
          "bestPractices": 0,
          "bestPracticesChange": 0,
          "seo": 0,
          "seoChange": 0,
          "pwa": 0,
          "pwaChange": 0
        }
      },
      "desktop": {
        "results": {
          "performance": 0,
          "performanceChange": 0,
          "accessibility": 0,
          "accessibilityChange": 0,
          "bestPractices": 0,
          "bestPracticesChange": 0,
          "seo": 0,
          "seoChange": 0,
          "pwa": 0,
          "pwaChange": 0
        }
      }
    },
    "_id": "65e0b16a121b7d48fe1596fc",
    "tags": [],
    "videos": [],
    "createdBy": "6045f4d25704710012485569",
    "_keywords": [],
    "createdAt": "2024-02-29T16:31:38.587Z",
    "updatedAt": "2024-02-29T16:31:38.587Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://monitoring-api.ayoune.app/pagestats/65e0b16a121b7d48fe1596fc",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "Keywords",
        "title": "MODEL_KEYWORD",
        "href": "https://api.ayoune.app/monitoring/keywords",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "monitoring.keywords"
      },
      {
        "rel": "Articles",
        "title": "MODEL_ARTICLE",
        "href": "https://api.ayoune.app/cms/articles",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "cms.articles"
      },
      {
        "rel": "Properties",
        "title": "MODEL_PROPERTY",
        "href": "https://api.ayoune.app/config/properties",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "config.properties"
      }
    ],
    "debugId": "6a61970bae831600b931796e",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_PAGESTAT",
        "href": "https://api.ayoune.app/monitoring/pagestats/65e0b16a121b7d48fe1596fc/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_PAGESTAT",
        "href": "https://api.ayoune.app/monitoring/pagestats/65e0b16a121b7d48fe1596fc/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.18.0",
      "core": "2026.257.1"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2371",
      "reset": "1784783607",
      "resetDate": "Thu Jul 23 2026"
    },
    "responseTime": 100.943714,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

MethodePathBeschreibungRight
GET /pagestats Liste mit Filtern/Paginierung monitoring.pagestats.view
GET /pagestats/:id Einzelner Datensatz via ID monitoring.pagestats.view

SDK

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

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

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

Weiterführend