aYOUne
← Konfiguration API

AdvisorProfiles

Singular: AdvisorProfile — Base-URL: https://config-api.ayoune.app — Zugriff: CRUD — Maschinenlesbare Beschreibung (JSON · YAML)

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.

Endpunkte

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

SDK

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

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

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

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

Weiterführend