← Marketing API
Mouseovers
Singular: Mouseover — Base-URL: https://marketing-api.ayoune.app — Zugriff: CRUD
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": {
"_id": "65e0b138121b7d48fe159280",
"link_text": "Produkt",
"heder_background_color": "#FFFFFF",
"background_color": "#FFFFFF",
"border_color": "#000000",
"border_radius": 0,
"font_color": "#000000",
"header_font_color": "#000000",
"button_color": "#FF0000",
"button_txt": "zum Produkt",
"font_size": 10,
"font_type": "Arial",
"width": 350,
"height": 300,
"moneysign": "€",
"product": "-",
"show_price": 1,
"locale": "de_DE",
"createdBy": "6045f4d25704710012485569",
"createdAt": "2024-02-29T16:30:48.084Z",
"updatedAt": "2024-02-29T16:30:48.084Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://marketing-api.ayoune.app/mouseovers/65e0b138121b7d48fe159280",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"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"
}
],
"debugId": "6a6194a7f78ad61f1990f283",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_MOUSEOVER",
"href": "https://api.ayoune.app/marketing/mouseovers/65e0b138121b7d48fe159280/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_MOUSEOVER",
"href": "https://api.ayoune.app/marketing/mouseovers/65e0b138121b7d48fe159280/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.24.4",
"core": "2026.257.1"
},
"rateLimit": {
"limit": "2500",
"remaining": "1932",
"reset": "1784783437",
"resetDate": "Thu Jul 23 2026"
},
"responseTime": 42.001799,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /mouseovers |
Liste mit Filtern/Paginierung | marketing.mouseovers.view |
| GET | /mouseovers/:id |
Einzelner Datensatz | marketing.mouseovers.view |
| POST | /mouseovers |
Neuen Datensatz erstellen | marketing.mouseovers.new |
| PUT | /mouseovers |
Datensatz aktualisieren | marketing.mouseovers.edit |
| DELETE | /mouseovers/:id |
Datensatz löschen | marketing.mouseovers.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.marketing.mouseovers.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.marketing.mouseovers.findById('OBJECT_ID').exec();
// Erstellen
const created = await ay.marketing.mouseovers.create({ name: 'Foo' });