aYOUne
← iot API

FactoryTestProtocols

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

play_circle Try it now beta

Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.

Endpoints

MethodPathDescriptionRight
GET /factorytestprotocols List with filters/pagination iot.factorytestprotocols.view
GET /factorytestprotocols/:id Single record iot.factorytestprotocols.view
POST /factorytestprotocols Create new record iot.factorytestprotocols.new
PUT /factorytestprotocols Update record iot.factorytestprotocols.edit
DELETE /factorytestprotocols/:id Delete record iot.factorytestprotocols.delete

SDK

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

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

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

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

See also