← iot API
Printers
Singular: Printer — 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.
Example response (recorded) sample
A real, previously recorded GET /:id response of this endpoint — not the live call above. Sensitive fields are masked.
{
"payload": {
"_id": "6a6190a764dcf0e6fb50020a",
"active": true,
"name": "CUTE_EMERALD_JEK TONO PORKINS",
"isThermal": false,
"paired": false,
"status": "ok",
"createdBy": "6045f4d25704710012485569",
"createdAt": "2026-07-23T03:55:19.777Z",
"updatedAt": "2026-07-23T03:55:20.294Z",
"modifiedBy": "6045f4d25704710012485569"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://iot.ayoune.app/printers/6a6190a764dcf0e6fb50020a",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [],
"debugId": "6a62e194791639755462430b",
"errors": [],
"actions": [],
"version": {
"host": "2026.35.1",
"core": "2026.258.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2469",
"reset": "1784868468",
"resetDate": "Fri Jul 24 2026"
},
"responseTime": 117.020807,
"code": 200,
"status": "success",
"error": false
}
}
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /printers |
List with filters/pagination | iot.printers.view |
| GET | /printers/:id |
Single record | iot.printers.view |
| POST | /printers |
Create new record | iot.printers.new |
| PUT | /printers |
Update record | iot.printers.edit |
| DELETE | /printers/:id |
Delete record | iot.printers.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.iot.printers.find().limit(10).exec();
// Single record
const one = await ay.iot.printers.findById('OBJECT_ID').exec();
// Create
const created = await ay.iot.printers.create({ name: 'Foo' });