Skip to content
aYOUne
← iot API

PlateEvents

Singular: PlateEvent — Base URL: https://iot.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)

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 /plateevents List with filters/pagination iot.plateevents.view
GET /plateevents/:id Single record iot.plateevents.view
POST /plateevents Create new record iot.plateevents.new
PUT /plateevents Update record iot.plateevents.edit
DELETE /plateevents/:id Delete record iot.plateevents.delete

SDK

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

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

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

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

See also