aYOUne
← iot API

IoTDeviceBlueprints

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

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": "6a5658d882b264668afafcbb",
    "slug": "ayoune-base-firmware-esp32",
    "board": "esp32",
    "buildStatus": "built",
    "chipFamily": "ESP32",
    "components": [],
    "createdAt": "2026-07-14T15:42:16.664Z",
    "description": "Komponentenlose Adoptions-Firmware für webflash.ayoune.app — WiFi via Improv, NVS-Config, MQTT-Uplink, OTA. Wird zur Laufzeit gepaart (kein Blueprint-Build pro Gerät).",
    "deviceType": "mcu",
    "dsl": "device:\n  type: mcu\n  board: esp32\n  interval: 30\ncomponents: []",
    "isBaseFirmware": true,
    "name": "aYOUne Base-Firmware (ESP32)",
    "seedVersion": 1,
    "targetPlatform": "esp32",
    "updatedAt": "2026-07-14T18:59:28.047Z",
    "buildStatusMessage": "built 2026.07.14.55397",
    "firmwareVersion": "2026.07.14.55397",
    "_artifact": "6a5687102dd7512bc5968c26"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://iot.ayoune.app/iotdeviceblueprints/6a5658d882b264668afafcbb",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [],
    "debugId": "6a62e4057916397554624516",
    "errors": [],
    "actions": [],
    "version": {
      "host": "2026.35.1",
      "core": "2026.258.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2424",
      "reset": "1784868468",
      "resetDate": "Fri Jul 24 2026"
    },
    "responseTime": 96.12945,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

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

SDK

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

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

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

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

See also