aYOUne
← iot API

FactoryTestProtocols

Singular: FactoryTestProtocol — Base-URL: https://iot.ayoune.app — Zugriff: CRUD

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 /factorytestprotocols Liste mit Filtern/Paginierung iot.factorytestprotocols.view
GET /factorytestprotocols/:id Einzelner Datensatz iot.factorytestprotocols.view
POST /factorytestprotocols Neuen Datensatz erstellen iot.factorytestprotocols.new
PUT /factorytestprotocols Datensatz aktualisieren iot.factorytestprotocols.edit
DELETE /factorytestprotocols/:id Datensatz löschen iot.factorytestprotocols.delete

SDK

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

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

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

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

Weiterführend