← Reporting API
FormViews
Singular: FormView — Base-URL: https://reporting-api.ayoune.app — Zugriff: read-only
Jetzt ausprobieren
beta
Response (live)
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": {
"ipLocation": {
"subdivisions": []
},
"viewMode": "",
"ipHash": "",
"fingerprintView": "",
"ayoune_actions": [],
"ayoune_params": [],
"ayoune_aff_type": "consumer",
"_id": "64d24190eee8518b9d29edd9",
"form": "64d239d2b4644f43600e6329",
"datetime": "2023-08-08T13:22:24.841Z",
"ip": "::1",
"device": "desktop",
"country": "",
"region": "",
"city": "",
"ll": [],
"timezone": "",
"query": "",
"url": "https://ayoune.app/?ayoune_source=form&ayoune_medium=referral&ayoune_referrer=http%3A%2F%2Flocalhost%3A4200%2Ftolinax-demo%2F64d239d2b4644f43600e6329&ayoune_campaignname=Form%20Demo%20Formular",
"adType": "",
"ad": "",
"isAd": false,
"fingerprint": "",
"referrer": ""
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://reporting-api.ayoune.app/formviews/64d24190eee8518b9d29edd9",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "Forms",
"title": "MODEL_FORM",
"href": "https://api.ayoune.app/config/forms/64d239d2b4644f43600e6329",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "config.forms"
}
],
"relations": [
{
"rel": "Consumers",
"title": "MODEL_CONSUMER",
"href": "https://api.ayoune.app/crm/consumers",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "crm.consumers"
},
{
"rel": "Forms",
"title": "MODEL_FORM",
"href": "https://api.ayoune.app/config/forms",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "config.forms"
}
],
"debugId": "6a6198d2c5e8aca9cc093745",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_FORMVIEW",
"href": "https://api.ayoune.app/reporting/formviews/64d24190eee8518b9d29edd9/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_FORMVIEW",
"href": "https://api.ayoune.app/reporting/formviews/64d24190eee8518b9d29edd9/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.24.0",
"core": "2026.257.1"
},
"rateLimit": {
"limit": "2500",
"remaining": "2479",
"reset": "1784784606",
"resetDate": "Thu Jul 23 2026"
},
"responseTime": 208.418145,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /formviews |
Liste mit Filtern/Paginierung | reporting.formviews.view |
| GET | /formviews/:id |
Einzelner Datensatz via ID | reporting.formviews.view |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.reporting.formViews.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.reporting.formViews.findById('OBJECT_ID').exec();