← iot API
FactoryTestProtocols
Singular: FactoryTestProtocol — Base URL: https://iot.ayoune.app — Access: CRUD
Try it now
beta
Response (live)
Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| 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' });