Zum Inhalt springen
aYOUne
← communication API

RemoteSupportSessions

Singular: RemoteSupportSession — Base-URL: https://communication-api.ayoune.app — Zugriff: CRUD — 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.

Endpunkte

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

SDK

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

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

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

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

Weiterführend