aYOUne
← communication API

aYOUneRemoteAccessGrants

Singular: RemoteAccessGrant — Base-URL: https://communication-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 /ayouneremoteaccessgrants Liste mit Filtern/Paginierung communication.remoteaccessgrants.view
GET /ayouneremoteaccessgrants/:id Einzelner Datensatz communication.remoteaccessgrants.view
POST /ayouneremoteaccessgrants Neuen Datensatz erstellen communication.remoteaccessgrants.new
PUT /ayouneremoteaccessgrants Datensatz aktualisieren communication.remoteaccessgrants.edit
DELETE /ayouneremoteaccessgrants/:id Datensatz löschen communication.remoteaccessgrants.delete

SDK

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

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

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

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

Weiterführend