Skip to content
aYOUne
← iot API

Printers

Singular: Printer — 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.

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": "6ad04c7040fc0de9b576af1c",
    "active": true,
    "name": "PROFOUND_CYAN_ARVEL CRYNYD",
    "isThermal": false,
    "paired": false,
    "status": "ok",
    "createdBy": "6045f4d25704710012485569",
    "shares": [],
    "createdAt": "2026-10-15T03:45:52.389Z",
    "updatedAt": "2026-10-15T03:45:52.389Z",
    "scanID": "5M54SRYK"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://iot.ayoune.app/printers/6ad04c7040fc0de9b576af1c",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [],
    "debugId": "6ad04c7040fc0de9b576af45",
    "errors": [],
    "actions": [],
    "version": {
      "host": "2026.46.0",
      "core": "2026.368.1"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9991",
      "reset": "1792039552",
      "resetDate": "Thu Oct 15 2026"
    },
    "responseTime": 32.09736,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

MethodPathDescriptionRight
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' });

See also